http://bugzilla.wikimedia.org/attachment.cgi?id=2229&action=view
* [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages that embed
any of the templates listed at [[MediaWiki:Disambiguationspage]].
* Fix formatting of titles on Special:Undelete
+* (bug 7026) Fix action=raw&templates=expand
+
== Languages updated ==
return '';
else
if ( $this->mExpandTemplates ) {
- global $wgTitle;
-
- $parser = new Parser();
- $parser->Options( new ParserOptions() ); // We don't want this to be user-specific
- $parser->Title( $wgTitle );
- $parser->OutputType( OT_HTML );
-
- return $parser->replaceVariables( $text );
+ global $wgParser;
+ return $wgParser->preprocess( $text, $this->mTitle, new ParserOptions() );
} else
return $text;
}