Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -2115,7 +2115,7 @@ |
2116 | 2116 | } |
2117 | 2117 | |
2118 | 2118 | static function parseSignature( $sig ) { |
2119 | | - global $wgParser, $wgOut, $wgTitle; |
| 2119 | + global $wgOut; |
2120 | 2120 | |
2121 | 2121 | static $parseCache = array(); |
2122 | 2122 | $sigKey = md5( $sig ); |
— | — | @@ -2124,11 +2124,6 @@ |
2125 | 2125 | return $parseCache[$sigKey]; |
2126 | 2126 | } |
2127 | 2127 | |
2128 | | - // Parser gets antsy about parser options here if it hasn't parsed anything before. |
2129 | | - $wgParser->mOptions = new ParserOptions; |
2130 | | - $wgParser->clearState(); |
2131 | | - $wgParser->setTitle( $wgTitle ); |
2132 | | - |
2133 | 2128 | $sig = $wgOut->parseInline( $sig ); |
2134 | 2129 | |
2135 | 2130 | $parseCache[$sigKey] = $sig; |