Last modified: 2010-05-15 15:33:04 UTC
I tried to stick to the mediawiki coding style. This patch was created to supply the Hula project with the ability to provide RSS feeds for any given page, instead of the wiki as a whole, simply by appending "&page=<wikiword>" to the GET string. Comments welcome. :) I can port this patch forward to any particular version of Mediawiki you'd like, if you find yourselves too busy to do so. Note that I don't allow caching if a page parameter is passed, so that we don't cache page-specific versions.
Maybe a better way to achieve this is to add a feed object to the history page.
(In reply to comment #1) > Maybe a better way to achieve this is to add a feed object to the > history page. Just wanted to clarify: does this mean mediawiki isn't interested in this patch, but *would* be interested in a similar patch that does what you describe?
Note that the patch linked to here seems to have an SQL injection vulnerability in this line: + ($pageRequested ? " AND rc_title = '{$pageRequested}' " : ""). $pageRequested is taken from input and not quoted. I'm marking this bug as duplicate to bug 472 ("Basic XML Feed support for history"), since that seems a more appropriate place to put such a feed than the site-wide Recentchanges. *** This bug has been marked as a duplicate of 472 ***