diff --git a/Cite.php b/Cite.php index f8d8a748..bf06334e 100644 --- a/Cite.php +++ b/Cite.php @@ -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,