Avoid DBPerformance warnings on PURGE/TRACE requests
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 20 May 2016 03:31:19 +0000 (20:31 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 26 May 2016 01:22:26 +0000 (18:22 -0700)
commit7f8d016f5a1bdb05355198a1e0dcf76a5d4b378c
treebaa97f7406d99ad3851b77e1a0db69ae682c21f0
parent3801cd022f89f460729e1dbee6f28c98246a19cf
Avoid DBPerformance warnings on PURGE/TRACE requests

The former sometimes show up in the logs as they were causing
CentralAuth to use the master but the expectations treated
the request as a GET request. This makes things more
consistent.

Bug: T92357
Change-Id: I55bf3139c68f5926fe67a51cf0eb1b2ffe55d17b
includes/MediaWiki.php
includes/WebRequest.php
includes/api/ApiMain.php