(bug 39665) optimize API query generator list
authorReedy <reedy@wikimedia.org>
Thu, 6 Sep 2012 18:36:53 +0000 (19:36 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 12 Oct 2012 20:24:15 +0000 (20:24 +0000)
commit7358afdde197d0e2b9d5793491093d8842df7d0a
tree07371df94a18c9a36ec4c1c6096fa866621dc3f6
parent68f25d6b8a2464de3a10bfe06fc31b33a5d976e7
(bug 39665) optimize API query generator list

List of query generators is now not built using reflection, instead it
is defined in code. Per Domas, make this a hard coded list instead of
loading all the child classes.

Added $wgAPIGeneratorModules for people to register their API generator
modules.

Change-Id: I12da92da33527e414c9b125a50b82c9bdbb3ed99
RELEASE-NOTES-1.20
includes/DefaultSettings.php
includes/api/ApiQuery.php
tests/phpunit/includes/api/ApiGeneratorTest.php [new file with mode: 0644]