Revert r74810 (vary API help cache on $wgUser->isAnon()) and move the POST check...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 18 Oct 2010 09:19:20 +0000 (09:19 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 18 Oct 2010 09:19:20 +0000 (09:19 +0000)
commit9c0b26028ff1093258d910f86661242cd6f33b3b
tree64139995cce32fc4efce518f108ebe89172db1e6
parentb2e392b3d865b30bb386cd039f2c3642a3d59c8c
Revert r74810 (vary API help cache on $wgUser->isAnon()) and move the POST check into the purge module. Also fix the permissions check in action=purge, which was totally broken and based on a misunderstanding of what the 'purge' right means.
RELEASE-NOTES
includes/api/ApiBase.php
includes/api/ApiMain.php
includes/api/ApiPurge.php