Index: branches/wmf/1.17wmf1/extensions/LiquidThreads_alpha/classes/View.php |
— | — | @@ -2166,9 +2166,9 @@ |
2167 | 2167 | } |
2168 | 2168 | |
2169 | 2169 | // Parser gets antsy about parser options here if it hasn't parsed anything before. |
| 2170 | + $wgParser->mOptions = new ParserOptions; |
2170 | 2171 | $wgParser->clearState(); |
2171 | 2172 | $wgParser->setTitle( $wgTitle ); |
2172 | | - $wgParser->mOptions = new ParserOptions; |
2173 | 2173 | |
2174 | 2174 | $sig = $wgOut->parseInline( $sig ); |
2175 | 2175 | |
— | — | @@ -2183,9 +2183,9 @@ |
2184 | 2184 | $title = $wgTitle ? $wgTitle : $user->getUserPage(); |
2185 | 2185 | |
2186 | 2186 | // Parser gets antsy about parser options here if it hasn't parsed anything before. |
| 2187 | + $wgParser->mOptions = new ParserOptions; |
2187 | 2188 | $wgParser->clearState(); |
2188 | 2189 | $wgParser->setTitle( $title ); |
2189 | | - $wgParser->mOptions = new ParserOptions; |
2190 | 2190 | |
2191 | 2191 | $sig = $wgParser->preSaveTransform( |
2192 | 2192 | $sig, |