Removed $wgTitle references from parser extensions. JobQueue.php may parse articles without setting $wgTitle.

This commit is contained in:
Tim Starling 2006-02-28 05:05:07 +00:00
parent 12eb4de999
commit 085b02f0bc

View file

@ -526,11 +526,9 @@ function wfCite() {
* @return string The parsed text
*/
function parse( $in ) {
global $wgTitle;
$ret = $this->mParser->parse(
$in,
$wgTitle,
$this->mParser->mTitle,
$this->mParser->mOptions,
// Avoid whitespace buildup
false,