API: Deprecate use of ApiPurge via GET
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 14 Sep 2016 15:04:33 +0000 (11:04 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 14 Sep 2016 15:04:33 +0000 (11:04 -0400)
commit8e461ca44e3ccd2674eb1f96024fe27d432d4e69
tree5f67cae891cd314adf108d33e4d0e9ae2ab343dc
parentfd4858b608db92258c304aad4da9b0c572291fff
API: Deprecate use of ApiPurge via GET

This emits a warning and logs feature usage, and also pretends that POST
is required in the help and paraminfo output.

Bug: T145649
Change-Id: Ied8d47a947662158fddab383c764bf70c5ab0112
includes/api/ApiPurge.php