Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -4524,10 +4524,7 @@ |
4525 | 4525 | function cleanSig( $text, $parsing = false ) { |
4526 | 4526 | if ( !$parsing ) { |
4527 | 4527 | global $wgTitle; |
4528 | | - $this->mOptions = new ParserOptions; |
4529 | | - $this->clearState(); |
4530 | | - $this->setTitle( $wgTitle ); |
4531 | | - $this->setOutputType = self::OT_PREPROCESS; |
| 4528 | + $this->startParse( $wgTitle, new ParserOptions, self::OT_PREPROCESS, true ); |
4532 | 4529 | } |
4533 | 4530 | |
4534 | 4531 | # Option to disable this feature |