Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -379,12 +379,12 @@ |
380 | 380 | global $wgFeed, $wgFeedClasses, $wgFeedLimit; |
381 | 381 | |
382 | 382 | if ( !$wgFeed ) { |
383 | | - $wgOut->addWikiMsg( 'feed-unavailable' ); |
| 383 | + $this->getOutput()->addWikiMsg( 'feed-unavailable' ); |
384 | 384 | return; |
385 | 385 | } |
386 | 386 | |
387 | 387 | if( !isset( $wgFeedClasses[$type] ) ) { |
388 | | - $this->getOut()->addWikiMsg( 'feed-invalid' ); |
| 388 | + $this->getOutput()->addWikiMsg( 'feed-invalid' ); |
389 | 389 | return; |
390 | 390 | } |
391 | 391 | |