r81743 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81742‎ | r81743 | r81744 >
Date:15:08, 8 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Same as r81742. At least this agrees to be a "TERRIBLE HACK"
Modified paths:
  • /trunk/extensions/OpenSearchXml/ApiOpenSearchXml.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenSearchXml/ApiOpenSearchXml.php
@@ -264,8 +264,8 @@
265265 // First, we use the system preprocessor to break down the text
266266 // into text, templates, extensions, and comments:
267267 global $wgParser;
 268+ $wgParser->mOptions = new ParserOptions();
268269 $wgParser->clearState();
269 - $wgParser->mOptions = new ParserOptions();
270270 $frame = $wgParser->getPreprocessor()->newFrame();
271271 $dom = $wgParser->preprocessToDom( $text );
272272

Follow-up revisions

RevisionCommit summaryAuthorDate
r817451.17wmf1: MFT r81742, r81743catrope15:14, 8 February 2011
r85027MFT various extension fixes: r81713, r81742, r81743, r81908, r81966, r81969, ...demon18:23, 30 March 2011

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