API: Allow extensions to specify "useless" query pages
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 10 Jul 2013 20:58:32 +0000 (16:58 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 19 Jul 2013 15:34:02 +0000 (11:34 -0400)
commit94cb936e71bb58fbf8f2e62620b6ff969114bdbf
treeeeadd91e72b4c8bf65fb1ef31703086756a52763
parent797d5f19c48447c13bec3dc181f3b64423872253
API: Allow extensions to specify "useless" query pages

Some query pages are not useful for ApiQueryQueryPage, as they require
arguments that cannot be specified with that interface. Currently, the
list of such pages is in a private static variable in ApiQueryQueryPage;
this moves it to a global so extensions can add to the list.

Change-Id: Ieccd2e84803dc1de4e26cba85d6cdda13916647f
RELEASE-NOTES-1.22
includes/DefaultSettings.php
includes/api/ApiQueryQueryPage.php