Index: includes/OutputPage.php
===================================================================
--- includes/OutputPage.php (revision 26057)
+++ includes/OutputPage.php (working copy)
@@ -1277,12 +1277,21 @@
}
$ret .= " />\n";
}
+
+ # Recent changes feed should appear on every page
+ global $wgSitename;
+ $rctitle = SpecialPage::getTitleFor( 'Recentchanges' );
+ $link = $rctitle->escapeFullURL( 'feed=rss' );
+ $ret .= "\n";
+ $link = $rctitle->escapeFullURL( 'feed=atom' );
+ $ret .= "\n";
if( $this->isSyndicated() ) {
# FIXME: centralize the mime-type and name information in Feed.php
+ $title = $this->getHTMLTitle();
$link = $wgRequest->escapeAppendQuery( 'feed=rss' );
- $ret .= "\n";
+ $ret .= "\n";
$link = $wgRequest->escapeAppendQuery( 'feed=atom' );
- $ret .= "\n";
+ $ret .= "\n";
}
return $ret;