Adding InstantCommons includes into ApiMain and AutoLoader's API section
authorPaa Kwesi Imbeah <suuch@users.mediawiki.org>
Wed, 29 Aug 2007 22:57:41 +0000 (22:57 +0000)
committerPaa Kwesi Imbeah <suuch@users.mediawiki.org>
Wed, 29 Aug 2007 22:57:41 +0000 (22:57 +0000)
includes/AutoLoader.php
includes/api/ApiMain.php

index 25c728c..270ceef 100644 (file)
@@ -306,6 +306,7 @@ function __autoload($className) {
                'Spyc' => 'includes/api/ApiFormatYaml_spyc.php',
                'ApiFormatYaml' => 'includes/api/ApiFormatYaml.php',
                'ApiHelp' => 'includes/api/ApiHelp.php',
+               'ApiInstantCommons' => 'includes/api/ApiInstantCommons.php',
                'ApiLogin' => 'includes/api/ApiLogin.php',
                'ApiMain' => 'includes/api/ApiMain.php',
                'ApiOpenSearch' => 'includes/api/ApiOpenSearch.php',
index b33e762..549565d 100644 (file)
@@ -57,6 +57,7 @@ class ApiMain extends ApiBase {
                'opensearch' => 'ApiOpenSearch',
                'feedwatchlist' => 'ApiFeedWatchlist',
                'help' => 'ApiHelp',
+               'instantcommons' => 'ApiInstantCommons'
        );
 
        /**