aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiPurgeTest.php
diff options
context:
space:
mode:
authorBrad Jorsch <bjorsch@wikimedia.org>2018-11-07 11:25:40 -0500
committerAnomie <bjorsch@wikimedia.org>2018-11-26 18:41:08 +0000
commit4eace785e66d199cb8fe1ec224bdc49831949a6d (patch)
tree5ee9d1fa57f0c734619b6a486050c6f9e3a976b6 /tests/phpunit/includes/api/ApiPurgeTest.php
parent30bd6d78e5edc60e02d42812870d369702971042 (diff)
downloadmediawikicore-4eace785e66d199cb8fe1ec224bdc49831949a6d.tar.gz
mediawikicore-4eace785e66d199cb8fe1ec224bdc49831949a6d.zip
API: Validate API error codes
Validate them in ApiMessageTrait when the message is created, and again in ApiMain before they're included in the header. This also introduces an "api-warning" log channel, since "api" is too spammy for real use, and converts a few existing things to use it. Bug: T208926 Change-Id: Ib2d8bd4d4a5d58af76431835ba783c148de7792a Depends-On: Iced44f2602d57eea9a2d15aee5b8c9a50092b49c Depends-On: I5c2747f527c30ded7a614feb26f5777d901bd512 Depends-On: I9c9bd8f5309518fcbab7179fb71d209c005e5e64
Diffstat (limited to 'tests/phpunit/includes/api/ApiPurgeTest.php')
0 files changed, 0 insertions, 0 deletions