From: Nick Jenkins Date: Thu, 21 Jun 2007 04:28:06 +0000 (+0000) Subject: Prevent error on viewing [[Special:Allmessages]] when LocalSettings.php includes X-Git-Tag: 1.31.0-rc.0~52479 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=3d1d221a3ccadd05bf43b35a7f1ee75911d88532;p=lhc%2Fweb%2Fwiklou.git Prevent error on viewing [[Special:Allmessages]] when LocalSettings.php includes a custom file that extends the ApiQueryGeneratorBase abstract base class, by adding ApiQueryGeneratorBase to the list of classes that the autoloader knows how to handle. --- diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index ea89ea8e8f..c41cb18b96 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -304,6 +304,7 @@ function __autoload($className) { 'ApiQuery' => 'includes/api/ApiQuery.php', 'ApiQueryAllpages' => 'includes/api/ApiQueryAllpages.php', 'ApiQueryBase' => 'includes/api/ApiQueryBase.php', + 'ApiQueryGeneratorBase' => 'includes/api/ApiQueryBase.php', 'ApiQueryBacklinks' => 'includes/api/ApiQueryBacklinks.php', 'ApiQueryCategories' => 'includes/api/ApiQueryCategories.php', 'ApiQueryCategoryMembers' => 'includes/api/ApiQueryCategoryMembers.php',