Subject: | mustbeposted: The "purge" module requires a POST request |
Date: | Thu, 31 Oct 2019 00:14:25 +0100 |
To: | bug-MediaWiki-API [...] rt.cpan.org |
From: | Sebastian Böthin <sebastian [...] boethin.berlin> |
Hi,
I get an error with action => 'purge':
'details' => 'mustbeposted: The "purge" module requires a
POST request.',
'code' => 3,
'stacktrace' => 'mustbeposted: The "purge" module requires a
POST request. at
/var/www/idn.wiki/lib/MediaWiki-API-0.41/lib/MediaWiki/API.pm line 444.
Can be avoided by setting 'undef $mw->{config}{get_actions}{purge}'
So, apparently purge should not belong to get_actions at all?
I am using mediawiki-1.33.0, MediaWiki-API-0.41.
Best Regards
Sebastian