Last modified: 2012-05-03 02:42:44 UTC
Under 1.17 was it possible for anon to do a purge as POST without getting a form. It is possible to get this back? The API allows this. The 1.17 code has a $wgRequest->wasPosted() [1], but that is lost under 1.18 and only the user right 'purge' is used to make the difference [2]. Thanks. [1] https://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.17wmf1/includes/Article.php?view=markup#l1642 [2] https://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.18wmf1/includes/actions/PurgeAction.php?view=markup#l63
marking as deployment blocker since this is apparently a regression that was in 1.18. Also, need a test for this if it is fixed to keep it from happening again.
Aaron has an idea for how to fix this. Seems to have been introduced with r86041
Fixed in r110342.