Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -2136,17 +2136,12 @@ |
2137 | 2137 | |
2138 | 2138 | $title = $wgTitle ? $wgTitle : $user->getUserPage(); |
2139 | 2139 | |
2140 | | - // Parser gets antsy about parser options here if it hasn't parsed anything before. |
2141 | | - $wgParser->mOptions = new ParserOptions; |
2142 | | - $wgParser->clearState(); |
2143 | | - $wgParser->setTitle( $title ); |
2144 | | - |
2145 | 2140 | $sig = $wgParser->preSaveTransform( |
2146 | 2141 | $sig, |
2147 | 2142 | $title, |
2148 | 2143 | $user, |
2149 | | - $wgParser->mOptions, |
2150 | | - false |
| 2144 | + new ParserOptions, |
| 2145 | + true |
2151 | 2146 | ); |
2152 | 2147 | |
2153 | 2148 | return $sig; |