Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -88,7 +88,6 @@ |
89 | 89 | $out->setArticleFlag( false ); |
90 | 90 | $out->setArticleRelated( true ); |
91 | 91 | $out->setRobotPolicy( 'noindex,nofollow' ); |
92 | | - $out->setSyndicated( true ); |
93 | 92 | $out->setFeedAppendQuery( 'action=history' ); |
94 | 93 | $out->addModules( array( 'mediawiki.legacy.history', 'mediawiki.action.history' ) ); |
95 | 94 | |
Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -139,11 +139,12 @@ |
140 | 140 | // Settings |
141 | 141 | $this->form(); |
142 | 142 | |
143 | | - $this->setSyndicated(); |
144 | 143 | $feedType = $this->opts->getValue( 'feed' ); |
145 | 144 | if( $feedType ) { |
146 | 145 | return $this->feed( $feedType ); |
147 | 146 | } |
| 147 | + |
| 148 | + $out->setFeedAppendQuery( wfArrayToCGI( $this->opts->getAllValues() ) ); |
148 | 149 | } |
149 | 150 | |
150 | 151 | $pager = new NewPagesPager( $this, $this->opts ); |
— | — | @@ -276,12 +277,6 @@ |
277 | 278 | $this->getOutput()->addHTML( $form ); |
278 | 279 | } |
279 | 280 | |
280 | | - protected function setSyndicated() { |
281 | | - $out = $this->getOutput(); |
282 | | - $out->setSyndicated( true ); |
283 | | - $out->setFeedAppendQuery( wfArrayToCGI( $this->opts->getAllValues() ) ); |
284 | | - } |
285 | | - |
286 | 281 | /** |
287 | 282 | * Format a row, providing the timestamp, links to the page/history, size, user links, and a comment |
288 | 283 | * |