https://bugzilla.wikimedia.org/show_bug.cgi?id=15853
--- Comment #1 from Mormegil <[email protected]> 2009-06-25 15:28:11 UTC --- Created an attachment (id=6266) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6266) Detect requests for a history feed of a non-existant article If the article does not exist, the fetchRevisions() function blindly passes the $this->mTitle->getArticleID() (which is zero), to the query, returning all revisions with rev_page=0. I guess there should be none, anyway, but 1. there is no point in doing that, 2. it seems that on Wikimedia servers, there are some (see the abovementioned URL). Either way, there is some code already that copes with an empty feed, so just be checking for a nonexisting page, we begin using that. The resulting feed is not perfect, though. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
