instance. This allows use of extension hooks if required.
* (bug 3493) Mark edits patrolled when they are reverted
patch by Leon Planken
* Add a hook for additional user creation throttle / limiter extensions
+* Use $wgOut->parse() in wfGetSiteNotice() instead of creating a new parser
+ instance. This allows use of extension hooks if required.
=== Caveats ===
$notice = $wgSiteNotice;
}
if($notice != '-' && $notice != '') {
- $specialparser = new Parser();
- $parserOutput = $specialparser->parse( $notice, $wgTitle, $wgOut->mParserOptions, false );
- $notice = $parserOutput->getText();
+ $notice = $wgOut->parse( $notice );
}
wfProfileOut( $fname );
return $notice;