Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -690,14 +690,14 @@ |
691 | 691 | * @param $params array |
692 | 692 | */ |
693 | 693 | protected function addFeedLinks( $params ) { |
694 | | - global $wgFeedClasses, $wgOut; |
| 694 | + global $wgFeedClasses; |
695 | 695 | |
696 | 696 | $feedTemplate = wfScript( 'api' ) . '?'; |
697 | 697 | |
698 | 698 | foreach( $wgFeedClasses as $format => $class ) { |
699 | 699 | $theseParams = $params + array( 'feedformat' => $format ); |
700 | 700 | $url = $feedTemplate . wfArrayToCGI( $theseParams ); |
701 | | - $wgOut->addFeedLink( $format, $url ); |
| 701 | + $this->getOutput()->addFeedLink( $format, $url ); |
702 | 702 | } |
703 | 703 | } |
704 | 704 | } |