Adding/updating Persian translations
[lhc/web/wiklou.git] / includes / AutoLoader.php
index 828be04..2e2083b 100644 (file)
@@ -7,6 +7,8 @@ ini_set('unserialize_callback_func', '__autoload' );
 function __autoload($className) {
        global $wgAutoloadClasses;
 
+       # Locations of core classes
+       # Extension classes are specified with $wgAutoloadClasses
        static $localClasses = array(
                # Includes
                'AjaxDispatcher' => 'includes/AjaxDispatcher.php',
@@ -15,6 +17,7 @@ function __autoload($className) {
                'AlphabeticPager' => 'includes/Pager.php',
                'Article' => 'includes/Article.php',
                'AuthPlugin' => 'includes/AuthPlugin.php',
+               'Autopromote' => 'includes/Autopromote.php',
                'BagOStuff' => 'includes/BagOStuff.php',
                'HashBagOStuff' => 'includes/BagOStuff.php',
                'SqlBagOStuff' => 'includes/BagOStuff.php',
@@ -55,6 +58,8 @@ function __autoload($className) {
                'Diff' => 'includes/DifferenceEngine.php',
                'MappedDiff' => 'includes/DifferenceEngine.php',
                'DiffFormatter' => 'includes/DifferenceEngine.php',
+               'UnifiedDiffFormatter' => 'includes/DifferenceEngine.php',
+               'ArrayDiffFormatter' => 'includes/DifferenceEngine.php',
                'DjVuImage' => 'includes/DjVuImage.php',
                '_HWLDF_WordAccumulator' => 'includes/DifferenceEngine.php',
                'WordLevelDiff' => 'includes/DifferenceEngine.php',
@@ -88,7 +93,6 @@ function __autoload($className) {
                'FileStore' => 'includes/FileStore.php',
                'FSException' => 'includes/FileStore.php',
                'FSTransaction' => 'includes/FileStore.php',
-               'HTMLForm' => 'includes/HTMLForm.php',
                'HistoryBlob' => 'includes/HistoryBlob.php',
                'ConcatenatedGzipHistoryBlob' => 'includes/HistoryBlob.php',
                'HistoryBlobStub' => 'includes/HistoryBlob.php',
@@ -133,10 +137,23 @@ function __autoload($className) {
                'ReverseChronologicalPager' => 'includes/Pager.php',
                'TablePager' => 'includes/Pager.php',
                'Parser' => 'includes/Parser.php',
+               'Parser_OldPP' => 'includes/Parser_OldPP.php',
+               'Parser_DiffTest' => 'includes/Parser_DiffTest.php',
+               'ParserCache' => 'includes/ParserCache.php',
                'ParserOutput' => 'includes/ParserOutput.php',
                'ParserOptions' => 'includes/ParserOptions.php',
-               'ParserCache' => 'includes/ParserCache.php',
                'PatrolLog' => 'includes/PatrolLog.php',
+               'Preprocessor' => 'includes/Preprocessor.php',
+               'PrefixSearch' => 'includes/PrefixSearch.php',
+               'PPFrame' => 'includes/Preprocessor.php',
+               'PPNode' => 'includes/Preprocessor.php',
+               'Preprocessor_DOM' => 'includes/Preprocessor_DOM.php',
+               'PPFrame_DOM' => 'includes/Preprocessor_DOM.php',
+               'PPTemplateFrame_DOM' => 'includes/Preprocessor_DOM.php',
+               'PPDStack' => 'includes/Preprocessor_DOM.php',
+               'PPDStackElement' => 'includes/Preprocessor_DOM.php',
+               'PPNode_DOM' => 'includes/Preprocessor_DOM.php',
+               'Preprocessor_Hash' => 'includes/Preprocessor_Hash.php',
                'ProfilerSimple' => 'includes/ProfilerSimple.php',
                'ProfilerSimpleUDP' => 'includes/ProfilerSimpleUDP.php',
                'Profiler' => 'includes/Profiler.php',
@@ -207,6 +224,7 @@ function __autoload($className) {
                'PreferencesForm' => 'includes/SpecialPreferences.php',
                'SpecialPrefixindex' => 'includes/SpecialPrefixindex.php',
                'RandomPage' => 'includes/SpecialRandompage.php',
+               'SpecialRandomredirect' => 'includes/SpecialRandomredirect.php',
                'PasswordResetForm' => 'includes/SpecialResetpass.php',
                'RevisionDeleteForm' => 'includes/SpecialRevisiondelete.php',
                'RevisionDeleter' => 'includes/SpecialRevisiondelete.php',
@@ -225,7 +243,7 @@ function __autoload($className) {
                'UploadForm' => 'includes/SpecialUpload.php',
                'UploadFormMogile' => 'includes/SpecialUploadMogile.php',
                'LoginForm' => 'includes/SpecialUserlogin.php',
-               'UserrightsForm' => 'includes/SpecialUserrights.php',
+               'UserrightsPage' => 'includes/SpecialUserrights.php',
                'SpecialVersion' => 'includes/SpecialVersion.php',
                'WantedCategoriesPage' => 'includes/SpecialWantedcategories.php',
                'WantedPagesPage' => 'includes/SpecialWantedpages.php',
@@ -240,6 +258,7 @@ function __autoload($className) {
                'StringUtils' => 'includes/StringUtils.php',
                'Title' => 'includes/Title.php',
                'User' => 'includes/User.php',
+               'UserRightsProxy' => 'includes/UserRightsProxy.php',
                'MailAddress' => 'includes/UserMailer.php',
                'EmailNotification' => 'includes/UserMailer.php',
                'UserMailer' => 'includes/UserMailer.php',
@@ -252,6 +271,7 @@ function __autoload($className) {
                'WikiErrorMsg' => 'includes/WikiError.php',
                'WikiXmlError' => 'includes/WikiError.php',
                'Xml' => 'includes/Xml.php',
+               'XmlTypeCheck' => 'includes/XmlTypeCheck.php',
                'ZhClient' => 'includes/ZhClient.php',
                'memcached' => 'includes/memcached-client.php',
                'EmaillingJob' => 'includes/JobQueue.php',
@@ -303,16 +323,22 @@ function __autoload($className) {
                'ApiFormatPhp' => 'includes/api/ApiFormatPhp.php',
                'ApiFormatWddx' => 'includes/api/ApiFormatWddx.php',
                'ApiFormatXml' => 'includes/api/ApiFormatXml.php',
+               'ApiFormatTxt' => 'includes/api/ApiFormatTxt.php',
+               'ApiFormatDbg' => 'includes/api/ApiFormatDbg.php',
                'Spyc' => 'includes/api/ApiFormatYaml_spyc.php',
                'ApiFormatYaml' => 'includes/api/ApiFormatYaml.php',
                'ApiHelp' => 'includes/api/ApiHelp.php',
                'ApiLogin' => 'includes/api/ApiLogin.php',
+               'ApiLogout' => 'includes/api/ApiLogout.php',
                'ApiMain' => 'includes/api/ApiMain.php',
                'ApiOpenSearch' => 'includes/api/ApiOpenSearch.php',
                'ApiPageSet' => 'includes/api/ApiPageSet.php',
+               'ApiParamInfo' => 'includes/api/ApiParamInfo.php',
+               'ApiParse' => 'includes/api/ApiParse.php',
                'ApiQuery' => 'includes/api/ApiQuery.php',
                'ApiQueryAllpages' => 'includes/api/ApiQueryAllpages.php',
                'ApiQueryAllLinks' => 'includes/api/ApiQueryAllLinks.php',
+               'ApiQueryAllCategories' => 'includes/api/ApiQueryAllCategories.php',
                'ApiQueryAllUsers' => 'includes/api/ApiQueryAllUsers.php',
                'ApiQueryBase' => 'includes/api/ApiQueryBase.php',
                'ApiQueryGeneratorBase' => 'includes/api/ApiQueryBase.php',
@@ -328,14 +354,29 @@ function __autoload($className) {
                'ApiQueryLangLinks' => 'includes/api/ApiQueryLangLinks.php',
                'ApiQueryLinks' => 'includes/api/ApiQueryLinks.php',
                'ApiQueryLogEvents' => 'includes/api/ApiQueryLogEvents.php',
+               'ApiQueryRandom' => 'includes/api/ApiQueryRandom.php',
                'ApiQueryRecentChanges'=> 'includes/api/ApiQueryRecentChanges.php',
                'ApiQueryRevisions' => 'includes/api/ApiQueryRevisions.php',
                'ApiQuerySearch' => 'includes/api/ApiQuerySearch.php',
+               'ApiQueryAllmessages' => 'includes/api/ApiQueryAllmessages.php',
                'ApiQuerySiteinfo' => 'includes/api/ApiQuerySiteinfo.php',
+               'ApiQueryUsers' => 'includes/api/ApiQueryUsers.php',
                'ApiQueryUserInfo' => 'includes/api/ApiQueryUserInfo.php',
                'ApiQueryWatchlist' => 'includes/api/ApiQueryWatchlist.php',
-               'ApiRender' => 'includes/api/ApiRender.php',
                'ApiResult' => 'includes/api/ApiResult.php',
+
+               # apiedit branch
+               'ApiBlock' => 'includes/api/ApiBlock.php',
+               #'ApiChangeRights' => 'includes/api/ApiChangeRights.php',
+               # Disabled for now
+               'ApiDelete' => 'includes/api/ApiDelete.php',
+               'ApiMove' => 'includes/api/ApiMove.php',
+               'ApiProtect' => 'includes/api/ApiProtect.php',
+               'ApiQueryBlocks' => 'includes/api/ApiQueryBlocks.php',
+               'ApiQueryDeletedrevs' => 'includes/api/ApiQueryDeletedrevs.php',
+               'ApiRollback' => 'includes/api/ApiRollback.php',
+               'ApiUnblock' => 'includes/api/ApiUnblock.php',
+               'ApiUndelete' => 'includes/api/ApiUndelete.php'
        );
        
        wfProfileIn( __METHOD__ );