Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -2125,9 +2125,9 @@ |
2126 | 2126 | } |
2127 | 2127 | |
2128 | 2128 | // Parser gets antsy about parser options here if it hasn't parsed anything before. |
| 2129 | + $wgParser->mOptions = new ParserOptions; |
2129 | 2130 | $wgParser->clearState(); |
2130 | 2131 | $wgParser->setTitle( $wgTitle ); |
2131 | | - $wgParser->mOptions = new ParserOptions; |
2132 | 2132 | |
2133 | 2133 | $sig = $wgOut->parseInline( $sig ); |
2134 | 2134 | |
— | — | @@ -2142,9 +2142,9 @@ |
2143 | 2143 | $title = $wgTitle ? $wgTitle : $user->getUserPage(); |
2144 | 2144 | |
2145 | 2145 | // Parser gets antsy about parser options here if it hasn't parsed anything before. |
| 2146 | + $wgParser->mOptions = new ParserOptions; |
2146 | 2147 | $wgParser->clearState(); |
2147 | 2148 | $wgParser->setTitle( $title ); |
2148 | | - $wgParser->mOptions = new ParserOptions; |
2149 | 2149 | |
2150 | 2150 | $sig = $wgParser->preSaveTransform( |
2151 | 2151 | $sig, |