Index: trunk/extensions/IndexFunction/IndexAbstracts.php |
— | — | @@ -101,8 +101,8 @@ |
102 | 102 | // First, we use the system preprocessor to break down the text |
103 | 103 | // into text, templates, extensions, and comments: |
104 | 104 | global $wgParser; |
| 105 | + $wgParser->mOptions = new ParserOptions(); |
105 | 106 | $wgParser->clearState(); |
106 | | - $wgParser->mOptions = new ParserOptions(); |
107 | 107 | $frame = $wgParser->getPreprocessor()->newFrame(); |
108 | 108 | $dom = $wgParser->preprocessToDom( $text ); |
109 | 109 | |