API: Log all deprecated parameter uses to api-feature-usage.log
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 3 Nov 2015 17:18:29 +0000 (12:18 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 3 Nov 2015 17:23:00 +0000 (12:23 -0500)
commit05ff357a423ada930d059609095eac3a94b72bc1
treedbe61743113f2fad9cc53b0333fc3e9c0eaefc70
parentdb54a16e19e79de4f671ae1bc749e220f4c5e224
API: Log all deprecated parameter uses to api-feature-usage.log

Some were being logged, and some weren't. Let's log them all
automatically when PARAM_DEPRECATED is processed, instead of requiring
each module to manually log them.

Bug: T117569
Change-Id: Ia38aeeccd0b9857b12b28914f509284483fbcca8
17 files changed:
includes/api/ApiBase.php
includes/api/ApiDelete.php
includes/api/ApiEditPage.php
includes/api/ApiExpandTemplates.php
includes/api/ApiMove.php
includes/api/ApiParamInfo.php
includes/api/ApiParse.php
includes/api/ApiProtect.php
includes/api/ApiQueryCategoryMembers.php
includes/api/ApiQueryIWLinks.php
includes/api/ApiQueryLangLinks.php
includes/api/ApiQueryRandom.php
includes/api/ApiQueryRevisionsBase.php
includes/api/ApiQueryStashImageInfo.php
includes/api/ApiQueryUserContributions.php
includes/api/ApiUpload.php
includes/api/ApiWatch.php