API Cleanup: renamed '_badcontinue'->'badcontinue', one die()
authorYuri Astrakhan <yuriastrakhan@gmail.com>
Tue, 15 Jan 2013 02:19:16 +0000 (21:19 -0500)
committerYuri Astrakhan <yuriastrakhan@gmail.com>
Tue, 15 Jan 2013 02:19:16 +0000 (21:19 -0500)
commit983545c362921cd1a60b5f00d1d0088c51072cdc
tree09a95b03eafc8d5f636bc6995fe01fe4cb03f408
parent0198fc6c68c201bf28c6cca8bc7e5c5a61740e41
API Cleanup: renamed '_badcontinue'->'badcontinue', one die()

* If a query module has 'continue' parameter, it will auto-report
that it has 'badcontinue' error.
* Added APIQueryBase::DieUsageContinueIf( $condition ) that shows
correct badcontinue error if $condition is true.

Change-Id: I9c48bda6de0cde3c117ad24460bddf6980279633
23 files changed:
RELEASE-NOTES-1.21
includes/api/ApiQueryAllCategories.php
includes/api/ApiQueryAllImages.php
includes/api/ApiQueryAllLinks.php
includes/api/ApiQueryAllPages.php
includes/api/ApiQueryBacklinks.php
includes/api/ApiQueryBase.php
includes/api/ApiQueryCategories.php
includes/api/ApiQueryCategoryMembers.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryDuplicateFiles.php
includes/api/ApiQueryFilearchive.php
includes/api/ApiQueryIWBacklinks.php
includes/api/ApiQueryIWLinks.php
includes/api/ApiQueryImageInfo.php
includes/api/ApiQueryImages.php
includes/api/ApiQueryInfo.php
includes/api/ApiQueryLangBacklinks.php
includes/api/ApiQueryLangLinks.php
includes/api/ApiQueryLinks.php
includes/api/ApiQueryRevisions.php
includes/api/ApiQueryUserContributions.php
includes/api/ApiQueryWatchlistRaw.php