r91529 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91528‎ | r91529 | r91530 >
Date:06:32, 6 July 2011
Author:aaron
Status:deferred
Tags:
Comment:
Follow-up r91496: just use $context->getOutput() instead of OutputPage constructor
Modified paths:
  • /trunk/extensions/DumpHTML/dumpHTML.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/DumpHTML/dumpHTML.inc
@@ -797,11 +797,9 @@
798798 $context->setUser( $wgUser );
799799
800800 $wgTitle = $title; // b/c
801 - $wgOut = new OutputPage( $context );
 801+ $wgOut = $context->getOutput(); // b/c
802802 $wgOut->parserOptions( new ParserOptions() ); // anon
803803
804 - $context->setOutput( $wgOut );
805 -
806804 $ns = $wgTitle->getNamespace();
807805 if ( $ns == NS_SPECIAL ) {
808806 SpecialPage::executePath( $wgTitle, $context );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91496DumpHTML fixes:...aaron21:32, 5 July 2011

Status & tagging log