Last modified: 2008-03-01 15:56:41 UTC
In includes/Wiki.php, r24207, line 388, the switch admits to the possiblity of "revert" being a valid action, but there is no "revert" method defined on Article. An attempt to fetch a page with action=revert yields a zero-byte page (tested on en.wikipedia.org @2007-10-04 1950Z).
Recommended fix: remove "revert" case from switch.
Created attachment 4212 [details]
Removes revert case from switch in Wiki.php
This bug is in fact more severe than it first appears, currently, when action=revert is appended to the URL a fatal error results. This patch simply removes the action fixing this bug.
Fixed in r26414.
Reverted in r26488, as this of course breaks image reversion, which uses action=revert.
Fixed in r31428.