r89395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89394‎ | r89395 | r89396 >
Date:04:22, 3 June 2011
Author:demon
Status:ok
Tags:
Comment:
Fix for r85229: getOutput() instead of getOut(), leftover $wgOut usage.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialNewpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialNewpages.php
@@ -379,12 +379,12 @@
380380 global $wgFeed, $wgFeedClasses, $wgFeedLimit;
381381
382382 if ( !$wgFeed ) {
383 - $wgOut->addWikiMsg( 'feed-unavailable' );
 383+ $this->getOutput()->addWikiMsg( 'feed-unavailable' );
384384 return;
385385 }
386386
387387 if( !isset( $wgFeedClasses[$type] ) ) {
388 - $this->getOut()->addWikiMsg( 'feed-invalid' );
 388+ $this->getOutput()->addWikiMsg( 'feed-invalid' );
389389 return;
390390 }
391391

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85229Followup r85227. Convert all IncludableSpecialPages to use context properly (...dantman05:46, 3 April 2011

Status & tagging log