I have directly edited ./includes/CategoryPage.php and added code into function getCategoryTop():
<HighlightSyntax lang=php> function getCategoryTop() { global $wgOut; ...
# Add Feed link to all Category pages, hack by s23 for WikiFeeds $rsstemplate = " Feeds for page edits in Category:CategoryRSS (atom, rss)
see also CategoryTree
\n";
$rsstemplate = $wgOut->parse( $rsstemplate ); $r .= $rsstemplate; return $r;
} </HighlightSyntax>
This inserts the contents of this template into every Category: page automatically. So even though all those edits would have been nice for our stats you dont have to do that work;) Also since we dont include the hardcoded link, but the template and parse it right in place, still all users can edit the template contents and it will affect all Category pages right away, also those created in the future. Just have to remember to add this again after every update, like all those other minor modifications..
mutante 00:03, 1 March 2007 (CET)
P.S. took, those pages where you have already manually added the template are now currently showing it twice.