API: Add reference to the mailing list in errors and deprecation warnings
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 9 Jan 2017 23:38:36 +0000 (15:38 -0800)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 11 Jan 2017 21:37:25 +0000 (13:37 -0800)
commitf70c7a06de8776cd7b4ebdc6fe04932c6d1feaec
tree7e38599a18a3936acc171ff6d700685696557f4c
parent000a4ecf685d7ed9ef5ab4566287da8d40d7ec2b
API: Add reference to the mailing list in errors and deprecation warnings

This was suggested at a Developer Summit session as a way to get people
to know about the mailing list.

This also adds a hook so ApiFeatureUsage can mention itself in
deprecation warnings too.

Bug: T148855
Change-Id: I04a7cf89e87e48f6504803dd173e779017a205d0
docs/hooks.txt
includes/api/ApiBase.php
includes/api/ApiMain.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
tests/phpunit/includes/api/ApiMainTest.php