r85430 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85429‎ | r85430 | r85431 >
Date:10:44, 5 April 2011
Author:happy-melon
Status:ok
Tags:
Comment:
Follow-up r85403: rm debugging code and a defunct method call.
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)
  • /trunk/phase3/maintenance/rebuildFileCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/rebuildFileCache.php
@@ -80,7 +80,6 @@
8181 continue; // broken title?
8282 }
8383 $wgOut = $context->output; // set display title
84 - $wgUser->getSkin( $wgTitle ); // set skin title
8584 $wgArticle = new Article( $wgTitle );
8685 // If the article is cacheable, then load it
8786 if ( $wgArticle->isFileCacheable() ) {
Index: trunk/phase3/includes/OutputPage.php
@@ -221,7 +221,6 @@
222222 */
223223 function __construct( RequestContext $context = null ) {
224224 if ( !isset($context) ) {
225 -var_dump('foo');
226225 # Extensions should use `new RequestContext` instead of `new OutputPage` now.
227226 wfDeprecated( __METHOD__ );
228227 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85403Follow-up r85302: update OutputPage constructors in core.happy-melon00:06, 5 April 2011

Status & tagging log