r38950 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38949‎ | r38950 | r38951 >
Date:21:02, 8 August 2008
Author:brion
Status:old
Tags:
Comment:
Cleanup to r38831 -- don't check _just_ 'rss' and 'atom', take anything. :)
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -1493,7 +1493,7 @@
14941494 global $wgOverrideSiteFeed, $wgSitename;
14951495 $rctitle = SpecialPage::getTitleFor( 'Recentchanges' );
14961496
1497 - if ( isset( $wgOverrideSiteFeed['rss'] ) || isset( $wgOverrideSiteFeed['atom'] ) ) {
 1497+ if ( $wgOverrideSiteFeed ) {
14981498 foreach ( $wgOverrideSiteFeed as $type => $feedUrl ) {
14991499 $tags[] = $this->feedLink (
15001500 $type,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r38831Allow users to override the default site feed. (bug 15040)demon01:41, 8 August 2008

Status & tagging log