[Bug 24792] API purge module discrepancy between commons.wikimedia.org and en.wiktionary.org
https://bugzilla.wikimedia.org/show_bug.cgi?id=24792 --- Comment #4 from MZMcBride 2010-08-21 15:41:48 UTC --- (In reply to comment #3) > Have you try it logged in on both wikis? > > See at ApiPurge::mustBePosted() > > public function mustBePosted() { > global $wgUser; > return $wgUser->isAnon(); > } I tested logged in and logged out. When I visit http://en.wiktionary.org/w/api.php right now logged in, the purge module says "This module only accepts POST requests." As far as I understand, this behavior is wrong (or at least unexpected). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 24792] API purge module discrepancy between commons.wikimedia.org and en.wiktionary.org
https://bugzilla.wikimedia.org/show_bug.cgi?id=24792 duplicate...@googlemail.com changed: What|Removed |Added CC||duplicate...@googlemail.com --- Comment #3 from duplicate...@googlemail.com 2010-08-21 15:31:37 UTC --- Have you try it logged in on both wikis? See at ApiPurge::mustBePosted() public function mustBePosted() { global $wgUser; return $wgUser->isAnon(); } -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 24792] API purge module discrepancy between commons.wikimedia.org and en.wiktionary.org
https://bugzilla.wikimedia.org/show_bug.cgi?id=24792 --- Comment #2 from MZMcBride 2010-08-14 08:45:08 UTC --- (In reply to comment #1) > I think this might be due to caching the help message. action=purge only > requires post rights if your an anon, but the cache key for the help message > doesn't distinguish between logged in users and non-logged in users. Yes, it seems you're right (I just tested a bit myself with curl and Firefox). Is there a bug about this already? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 24792] API purge module discrepancy between commons.wikimedia.org and en.wiktionary.org
https://bugzilla.wikimedia.org/show_bug.cgi?id=24792 Bawolff changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #1 from Bawolff 2010-08-14 08:39:12 UTC --- I think this might be due to caching the help message. action=purge only requires post rights if your an anon, but the cache key for the help message doesn't distinguish between logged in users and non-logged in users. To test this theory, i went to http://commons.wikimedia.org/w/api.php which said POST needed for me at time of testing, but http://commons.wikimedia.org/w/api.php?version which uses a different cache key did not. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l