r81850 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81849‎ | r81850 | r81851 >
Date:22:12, 9 February 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: Apply r81742 to LiquidThreads_alpha too, per Platonides
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/LiquidThreads_alpha/classes/View.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/LiquidThreads_alpha/classes/View.php
@@ -2166,9 +2166,9 @@
21672167 }
21682168
21692169 // Parser gets antsy about parser options here if it hasn't parsed anything before.
 2170+ $wgParser->mOptions = new ParserOptions;
21702171 $wgParser->clearState();
21712172 $wgParser->setTitle( $wgTitle );
2172 - $wgParser->mOptions = new ParserOptions;
21732173
21742174 $sig = $wgOut->parseInline( $sig );
21752175
@@ -2183,9 +2183,9 @@
21842184 $title = $wgTitle ? $wgTitle : $user->getUserPage();
21852185
21862186 // Parser gets antsy about parser options here if it hasn't parsed anything before.
 2187+ $wgParser->mOptions = new ParserOptions;
21872188 $wgParser->clearState();
21882189 $wgParser->setTitle( $title );
2189 - $wgParser->mOptions = new ParserOptions;
21902190
21912191 $sig = $wgParser->preSaveTransform(
21922192 $sig,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81742Quick fix instead of r81738. This way of working is completely unsupported...platonides15:05, 8 February 2011

Status & tagging log