summaryrefslogtreecommitdiff
path: root/includes/AutoLoader.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/AutoLoader.php')
-rw-r--r--includes/AutoLoader.php283
1 files changed, 207 insertions, 76 deletions
diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php
index cecb53f9..f1605a56 100644
--- a/includes/AutoLoader.php
+++ b/includes/AutoLoader.php
@@ -1,10 +1,17 @@
<?php
-/* This defines autoloading handler for whole MediaWiki framework */
+/**
+ * This defines autoloading handler for whole MediaWiki framework
+ *
+ * @file
+ */
-# Locations of core classes
-# Extension classes are specified with $wgAutoloadClasses
-# This array is a global instead of a static member of AutoLoader to work around a bug in APC
+/**
+ * Locations of core classes
+ * Extension classes are specified with $wgAutoloadClasses
+ * This array is a global instead of a static member of AutoLoader to work around a bug in APC
+ */
global $wgAutoloadLocalClasses;
+
$wgAutoloadLocalClasses = array(
# Includes
'AjaxDispatcher' => 'includes/AjaxDispatcher.php',
@@ -20,6 +27,7 @@ $wgAutoloadLocalClasses = array(
'BagOStuff' => 'includes/BagOStuff.php',
'Block' => 'includes/Block.php',
'CacheDependency' => 'includes/CacheDependency.php',
+ 'CacheTime' => 'includes/parser/ParserOutput.php',
'Category' => 'includes/Category.php',
'Categoryfinder' => 'includes/Categoryfinder.php',
'CategoryPage' => 'includes/CategoryPage.php',
@@ -35,6 +43,7 @@ $wgAutoloadLocalClasses = array(
'ChangesFeed' => 'includes/ChangesFeed.php',
'ChangeTags' => 'includes/ChangeTags.php',
'ChannelFeed' => 'includes/Feed.php',
+ 'Collation' => 'includes/Collation.php',
'Cookie' => 'includes/HttpFunctions.php',
'CookieJar' => 'includes/HttpFunctions.php',
'ConcatenatedGzipHistoryBlob' => 'includes/HistoryBlob.php',
@@ -44,12 +53,13 @@ $wgAutoloadLocalClasses = array(
'ConstantDependency' => 'includes/CacheDependency.php',
'CreativeCommonsRdf' => 'includes/Metadata.php',
'Credits' => 'includes/Credits.php',
+ 'CSSJanus' => 'includes/libs/CSSJanus.php',
+ 'CSSMin' => 'includes/libs/CSSMin.php',
'DBABagOStuff' => 'includes/BagOStuff.php',
'DependencyWrapper' => 'includes/CacheDependency.php',
'DiffHistoryBlob' => 'includes/HistoryBlob.php',
'DjVuImage' => 'includes/DjVuImage.php',
'DoubleReplacer' => 'includes/StringUtils.php',
- 'DoubleRedirectJob' => 'includes/DoubleRedirectJob.php',
'DublinCoreRdf' => 'includes/Metadata.php',
'Dump7ZipOutput' => 'includes/Export.php',
'DumpBZip2Output' => 'includes/Export.php',
@@ -64,10 +74,8 @@ $wgAutoloadLocalClasses = array(
'DumpPipeOutput' => 'includes/Export.php',
'eAccelBagOStuff' => 'includes/BagOStuff.php',
'EditPage' => 'includes/EditPage.php',
- 'EmaillingJob' => 'includes/EmaillingJob.php',
'EmailNotification' => 'includes/UserMailer.php',
'EnhancedChangesList' => 'includes/ChangesList.php',
- 'EnotifNotifyJob' => 'includes/EnotifNotifyJob.php',
'ErrorPageError' => 'includes/Exception.php',
'Exif' => 'includes/Exif.php',
'ExplodeIterator' => 'includes/StringUtils.php',
@@ -76,9 +84,6 @@ $wgAutoloadLocalClasses = array(
'ExternalStoreHttp' => 'includes/ExternalStoreHttp.php',
'ExternalStore' => 'includes/ExternalStore.php',
'ExternalUser' => 'includes/ExternalUser.php',
- 'ExternalUser_Hardcoded' => 'includes/extauth/Hardcoded.php',
- 'ExternalUser_MediaWiki' => 'includes/extauth/MediaWiki.php',
- 'ExternalUser_vB' => 'includes/extauth/vB.php',
'FatalError' => 'includes/Exception.php',
'FakeTitle' => 'includes/FakeTitle.php',
'FakeMemCachedClient' => 'includes/ObjectCache.php',
@@ -92,8 +97,6 @@ $wgAutoloadLocalClasses = array(
'ForkController' => 'includes/ForkController.php',
'FormatExif' => 'includes/Exif.php',
'FormOptions' => 'includes/FormOptions.php',
- 'GIFMetadataExtractor' => 'includes/media/GIFMetadataExtractor.php',
- 'GIFHandler' => 'includes/media/GIF.php',
'GlobalDependency' => 'includes/CacheDependency.php',
'HashBagOStuff' => 'includes/BagOStuff.php',
'HashtableReplacer' => 'includes/StringUtils.php',
@@ -122,8 +125,8 @@ $wgAutoloadLocalClasses = array(
'HTMLRadioField' => 'includes/HTMLForm.php',
'HTMLInfoField' => 'includes/HTMLForm.php',
'Http' => 'includes/HttpFunctions.php',
- 'HttpRequest' => 'includes/HttpFunctions.php',
- 'IEContentAnalyzer' => 'includes/IEContentAnalyzer.php',
+ 'HttpRequest' => 'includes/HttpFunctions.old.php',
+ 'IcuCollation' => 'includes/Collation.php',
'ImageGallery' => 'includes/ImageGallery.php',
'ImageHistoryList' => 'includes/ImagePage.php',
'ImageHistoryPseudoPager' => 'includes/ImagePage.php',
@@ -133,8 +136,7 @@ $wgAutoloadLocalClasses = array(
'IndexPager' => 'includes/Pager.php',
'Interwiki' => 'includes/Interwiki.php',
'IP' => 'includes/IP.php',
- 'Job' => 'includes/JobQueue.php',
- 'JSMin' => 'includes/JSMin.php',
+ 'JavaScriptMinifier' => 'includes/libs/JavaScriptMinifier.php',
'LCStore_DB' => 'includes/LocalisationCache.php',
'LCStore_CDB' => 'includes/LocalisationCache.php',
'LCStore_Null' => 'includes/LocalisationCache.php',
@@ -157,18 +159,18 @@ $wgAutoloadLocalClasses = array(
'MagicWord' => 'includes/MagicWord.php',
'MailAddress' => 'includes/UserMailer.php',
'MathRenderer' => 'includes/Math.php',
- 'MediaTransformError' => 'includes/MediaTransformOutput.php',
- 'MediaTransformOutput' => 'includes/MediaTransformOutput.php',
'MediaWikiBagOStuff' => 'includes/BagOStuff.php',
'MediaWiki_I18N' => 'includes/SkinTemplate.php',
'MediaWiki' => 'includes/Wiki.php',
'MemCachedClientforWiki' => 'includes/memcached-client.php',
+ 'Message' => 'includes/Message.php',
+ 'MessageBlobStore' => 'includes/MessageBlobStore.php',
'MessageCache' => 'includes/MessageCache.php',
'MimeMagic' => 'includes/MimeMagic.php',
'MWException' => 'includes/Exception.php',
+ 'MWHttpRequest' => 'includes/HttpFunctions.php',
'MWMemcached' => 'includes/memcached-client.php',
'MWNamespace' => 'includes/Namespace.php',
- 'Namespace' => 'includes/NamespaceCompat.php', // Compat
'OldChangesList' => 'includes/ChangesList.php',
'OutputPage' => 'includes/OutputPage.php',
'PageQueryPage' => 'includes/PageQueryPage.php',
@@ -177,8 +179,10 @@ $wgAutoloadLocalClasses = array(
'Pager' => 'includes/Pager.php',
'PasswordError' => 'includes/User.php',
'PatrolLog' => 'includes/PatrolLog.php',
+ 'PhpHttpRequest' => 'includes/HttpFunctions.php',
'PoolCounter' => 'includes/PoolCounter.php',
'PoolCounter_Stub' => 'includes/PoolCounter.php',
+ 'PoolCounterWork' => 'includes/PoolCounter.php',
'Preferences' => 'includes/Preferences.php',
'PrefixSearch' => 'includes/PrefixSearch.php',
'Profiler' => 'includes/Profiler.php',
@@ -192,13 +196,21 @@ $wgAutoloadLocalClasses = array(
'RCCacheEntry' => 'includes/ChangesList.php',
'RdfMetaData' => 'includes/Metadata.php',
'RecentChange' => 'includes/RecentChange.php',
- 'RefreshLinksJob' => 'includes/RefreshLinksJob.php',
- 'RefreshLinksJob2' => 'includes/RefreshLinksJob.php',
'RegexlikeReplacer' => 'includes/StringUtils.php',
'ReplacementArray' => 'includes/StringUtils.php',
'Replacer' => 'includes/StringUtils.php',
+ 'ResourceLoader' => 'includes/resourceloader/ResourceLoader.php',
+ 'ResourceLoaderContext' => 'includes/resourceloader/ResourceLoaderContext.php',
+ 'ResourceLoaderModule' => 'includes/resourceloader/ResourceLoaderModule.php',
+ 'ResourceLoaderWikiModule' => 'includes/resourceloader/ResourceLoaderWikiModule.php',
+ 'ResourceLoaderFileModule' => 'includes/resourceloader/ResourceLoaderFileModule.php',
+ 'ResourceLoaderSiteModule' => 'includes/resourceloader/ResourceLoaderSiteModule.php',
+ 'ResourceLoaderUserModule' => 'includes/resourceloader/ResourceLoaderUserModule.php',
+ 'ResourceLoaderUserOptionsModule' => 'includes/resourceloader/ResourceLoaderUserOptionsModule.php',
+ 'ResourceLoaderStartUpModule' => 'includes/resourceloader/ResourceLoaderStartUpModule.php',
'ReverseChronologicalPager' => 'includes/Pager.php',
'Revision' => 'includes/Revision.php',
+ 'RevisionDelete' => 'includes/revisiondelete/RevisionDelete.php',
'RSSFeed' => 'includes/Feed.php',
'Sanitizer' => 'includes/Sanitizer.php',
'SiteConfiguration' => 'includes/SiteConfiguration.php',
@@ -218,24 +230,17 @@ $wgAutoloadLocalClasses = array(
'SquidPurgeClientPool' => 'includes/SquidPurgeClient.php',
'Status' => 'includes/Status.php',
'StubContLang' => 'includes/StubObject.php',
- 'StubUser' => 'includes/StubObject.php',
'StubUserLang' => 'includes/StubObject.php',
'StubObject' => 'includes/StubObject.php',
'StringUtils' => 'includes/StringUtils.php',
'TablePager' => 'includes/Pager.php',
- 'ThumbnailImage' => 'includes/MediaTransformOutput.php',
- 'TiffHandler' => 'includes/media/Tiff.php',
'TitleDependency' => 'includes/CacheDependency.php',
'Title' => 'includes/Title.php',
'TitleArray' => 'includes/TitleArray.php',
'TitleArrayFromResult' => 'includes/TitleArray.php',
'TitleListDependency' => 'includes/CacheDependency.php',
- 'TransformParameterError' => 'includes/MediaTransformOutput.php',
'UnlistedSpecialPage' => 'includes/SpecialPage.php',
- 'UploadBase' => 'includes/upload/UploadBase.php',
- 'UploadFromStash' => 'includes/upload/UploadFromStash.php',
- 'UploadFromFile' => 'includes/upload/UploadFromFile.php',
- 'UploadFromUrl' => 'includes/upload/UploadFromUrl.php',
+ 'UppercaseCollation' => 'includes/Collation.php',
'User' => 'includes/User.php',
'UserArray' => 'includes/UserArray.php',
'UserArrayFromResult' => 'includes/UserArray.php',
@@ -245,6 +250,7 @@ $wgAutoloadLocalClasses = array(
'WatchedItem' => 'includes/WatchedItem.php',
'WatchlistEditor' => 'includes/WatchlistEditor.php',
'WebRequest' => 'includes/WebRequest.php',
+ 'WebRequestUpload' => 'includes/WebRequest.php',
'WebResponse' => 'includes/WebResponse.php',
'WikiError' => 'includes/WikiError.php',
'WikiErrorMsg' => 'includes/WikiError.php',
@@ -252,9 +258,11 @@ $wgAutoloadLocalClasses = array(
'WikiMap' => 'includes/WikiMap.php',
'WikiReference' => 'includes/WikiMap.php',
'WikiXmlError' => 'includes/WikiError.php',
+ 'WinCacheBagOStuff' => 'includes/BagOStuff.php',
'XCacheBagOStuff' => 'includes/BagOStuff.php',
'XmlDumpWriter' => 'includes/Export.php',
'Xml' => 'includes/Xml.php',
+ 'XmlJsCode' => 'includes/Xml.php',
'XmlSelect' => 'includes/Xml.php',
'XmlTypeCheck' => 'includes/XmlTypeCheck.php',
'ZhClient' => 'includes/ZhClient.php',
@@ -270,6 +278,7 @@ $wgAutoloadLocalClasses = array(
'ApiFeedWatchlist' => 'includes/api/ApiFeedWatchlist.php',
'ApiFormatBase' => 'includes/api/ApiFormatBase.php',
'ApiFormatDbg' => 'includes/api/ApiFormatDbg.php',
+ 'ApiFormatDump' => 'includes/api/ApiFormatDump.php',
'ApiFormatFeedWrapper' => 'includes/api/ApiFormatBase.php',
'ApiFormatJson' => 'includes/api/ApiFormatJson.php',
'ApiFormatPhp' => 'includes/api/ApiFormatPhp.php',
@@ -292,6 +301,7 @@ $wgAutoloadLocalClasses = array(
'ApiPatrol' => 'includes/api/ApiPatrol.php',
'ApiProtect' => 'includes/api/ApiProtect.php',
'ApiPurge' => 'includes/api/ApiPurge.php',
+ 'ApiRsd' => 'includes/api/ApiRsd.php',
'ApiQuery' => 'includes/api/ApiQuery.php',
'ApiQueryAllCategories' => 'includes/api/ApiQueryAllCategories.php',
'ApiQueryAllimages' => 'includes/api/ApiQueryAllimages.php',
@@ -310,20 +320,25 @@ $wgAutoloadLocalClasses = array(
'ApiQueryDisabled' => 'includes/api/ApiQueryDisabled.php',
'ApiQueryDuplicateFiles' => 'includes/api/ApiQueryDuplicateFiles.php',
'ApiQueryExtLinksUsage' => 'includes/api/ApiQueryExtLinksUsage.php',
+ 'ApiQueryFilearchive' => 'includes/api/ApiQueryFilearchive.php',
'ApiQueryExternalLinks' => 'includes/api/ApiQueryExternalLinks.php',
'ApiQueryGeneratorBase' => 'includes/api/ApiQueryBase.php',
'ApiQueryImageInfo' => 'includes/api/ApiQueryImageInfo.php',
'ApiQueryImages' => 'includes/api/ApiQueryImages.php',
'ApiQueryInfo' => 'includes/api/ApiQueryInfo.php',
+ 'ApiQueryIWLinks' => 'includes/api/ApiQueryIWLinks.php',
+ 'ApiQueryIWBacklinks' => 'includes/api/ApiQueryIWBacklinks.php',
'ApiQueryLangLinks' => 'includes/api/ApiQueryLangLinks.php',
'ApiQueryLinks' => 'includes/api/ApiQueryLinks.php',
'ApiQueryLogEvents' => 'includes/api/ApiQueryLogEvents.php',
+ 'ApiQueryPageProps' => 'includes/api/ApiQueryPageProps.php',
'ApiQueryProtectedTitles' => 'includes/api/ApiQueryProtectedTitles.php',
'ApiQueryRandom' => 'includes/api/ApiQueryRandom.php',
- 'ApiQueryRecentChanges'=> 'includes/api/ApiQueryRecentChanges.php',
+ 'ApiQueryRecentChanges' => 'includes/api/ApiQueryRecentChanges.php',
'ApiQueryRevisions' => 'includes/api/ApiQueryRevisions.php',
'ApiQuerySearch' => 'includes/api/ApiQuerySearch.php',
'ApiQuerySiteinfo' => 'includes/api/ApiQuerySiteinfo.php',
+ 'ApiQueryStashImageInfo' => 'includes/api/ApiQueryStashImageInfo.php',
'ApiQueryTags' => 'includes/api/ApiQueryTags.php',
'ApiQueryUserInfo' => 'includes/api/ApiQueryUserInfo.php',
'ApiQueryUsers' => 'includes/api/ApiQueryUsers.php',
@@ -337,9 +352,13 @@ $wgAutoloadLocalClasses = array(
'ApiUpload' => 'includes/api/ApiUpload.php',
'ApiWatch' => 'includes/api/ApiWatch.php',
- 'Spyc' => 'includes/api/ApiFormatYaml_spyc.php',
'UsageException' => 'includes/api/ApiMain.php',
+ # includes/extauth
+ 'ExternalUser_Hardcoded' => 'includes/extauth/Hardcoded.php',
+ 'ExternalUser_MediaWiki' => 'includes/extauth/MediaWiki.php',
+ 'ExternalUser_vB' => 'includes/extauth/vB.php',
+
# includes/json
'Services_JSON' => 'includes/json/Services_JSON.php',
'Services_JSON_Error' => 'includes/json/Services_JSON.php',
@@ -356,23 +375,26 @@ $wgAutoloadLocalClasses = array(
'DatabasePostgres' => 'includes/db/DatabasePostgres.php',
'DatabaseSqlite' => 'includes/db/DatabaseSqlite.php',
'DatabaseSqliteStandalone' => 'includes/db/DatabaseSqlite.php',
+ 'DatabaseType' => 'includes/db/Database.php',
'DBConnectionError' => 'includes/db/Database.php',
'DBError' => 'includes/db/Database.php',
'DBObject' => 'includes/db/Database.php',
'DBQueryError' => 'includes/db/Database.php',
'DBUnexpectedError' => 'includes/db/Database.php',
+ 'FakeResultWrapper' => 'includes/db/Database.php',
+ 'Field' => 'includes/db/Database.php',
'IBM_DB2Blob' => 'includes/db/DatabaseIbm_db2.php',
'LBFactory' => 'includes/db/LBFactory.php',
'LBFactory_Multi' => 'includes/db/LBFactory_Multi.php',
'LBFactory_Simple' => 'includes/db/LBFactory.php',
+ 'LBFactory_Single' => 'includes/db/LBFactory_Single.php',
'LikeMatch' => 'includes/db/Database.php',
'LoadBalancer' => 'includes/db/LoadBalancer.php',
+ 'LoadBalancer_Single' => 'includes/db/LBFactory_Single.php',
'LoadMonitor' => 'includes/db/LoadMonitor.php',
'LoadMonitor_MySQL' => 'includes/db/LoadMonitor.php',
- 'MSSQLField' => 'includes/db/DatabaseMssql.php',
- 'MySQLField' => 'includes/db/Database.php',
+ 'MySQLField' => 'includes/db/DatabaseMysql.php',
'MySQLMasterPos' => 'includes/db/DatabaseMysql.php',
- 'ORABlob' => 'includes/db/DatabaseOracle.php',
'ORAField' => 'includes/db/DatabaseOracle.php',
'ORAResult' => 'includes/db/DatabaseOracle.php',
'PostgresField' => 'includes/db/DatabasePostgres.php',
@@ -382,23 +404,23 @@ $wgAutoloadLocalClasses = array(
'IBM_DB2Field' => 'includes/db/DatabaseIbm_db2.php',
# includes/diff
- 'ArrayDiffFormatter' => 'includes/diff/DifferenceEngine.php',
- '_DiffEngine' => 'includes/diff/DifferenceEngine.php',
- 'DifferenceEngine' => 'includes/diff/DifferenceInterface.php',
- 'DiffFormatter' => 'includes/diff/DifferenceEngine.php',
- 'Diff' => 'includes/diff/DifferenceEngine.php',
- '_DiffOp_Add' => 'includes/diff/DifferenceEngine.php',
- '_DiffOp_Change' => 'includes/diff/DifferenceEngine.php',
- '_DiffOp_Copy' => 'includes/diff/DifferenceEngine.php',
- '_DiffOp_Delete' => 'includes/diff/DifferenceEngine.php',
- '_DiffOp' => 'includes/diff/DifferenceEngine.php',
- '_HWLDF_WordAccumulator' => 'includes/diff/DifferenceEngine.php',
- 'MappedDiff' => 'includes/diff/DifferenceEngine.php',
- 'RangeDifference' => 'includes/diff/Diff.php',
- 'TableDiffFormatter' => 'includes/diff/DifferenceEngine.php',
- 'UnifiedDiffFormatter' => 'includes/diff/DifferenceEngine.php',
- 'WikiDiff3' => 'includes/diff/Diff.php',
- 'WordLevelDiff' => 'includes/diff/DifferenceEngine.php',
+ 'ArrayDiffFormatter' => 'includes/diff/WikiDiff.php',
+ '_DiffEngine' => 'includes/diff/WikiDiff.php',
+ 'DifferenceEngine' => 'includes/diff/DifferenceEngine.php',
+ 'DiffFormatter' => 'includes/diff/WikiDiff.php',
+ 'Diff' => 'includes/diff/WikiDiff.php',
+ '_DiffOp_Add' => 'includes/diff/WikiDiff.php',
+ '_DiffOp_Change' => 'includes/diff/WikiDiff.php',
+ '_DiffOp_Copy' => 'includes/diff/WikiDiff.php',
+ '_DiffOp_Delete' => 'includes/diff/WikiDiff.php',
+ '_DiffOp' => 'includes/diff/WikiDiff.php',
+ '_HWLDF_WordAccumulator' => 'includes/diff/WikiDiff.php',
+ 'MappedDiff' => 'includes/diff/WikiDiff.php',
+ 'RangeDifference' => 'includes/diff/WikiDiff3.php',
+ 'TableDiffFormatter' => 'includes/diff/WikiDiff.php',
+ 'UnifiedDiffFormatter' => 'includes/diff/WikiDiff.php',
+ 'WikiDiff3' => 'includes/diff/WikiDiff3.php',
+ 'WordLevelDiff' => 'includes/diff/WikiDiff.php',
# includes/filerepo
'ArchivedFile' => 'includes/filerepo/ArchivedFile.php',
@@ -421,14 +443,59 @@ $wgAutoloadLocalClasses = array(
'RepoGroup' => 'includes/filerepo/RepoGroup.php',
'UnregisteredLocalFile' => 'includes/filerepo/UnregisteredLocalFile.php',
+ # includes/installer
+ 'CliInstaller' => 'includes/installer/CliInstaller.php',
+ 'Installer' => 'includes/installer/Installer.php',
+ 'DatabaseInstaller' => 'includes/installer/DatabaseInstaller.php',
+ 'DatabaseUpdater' => 'includes/installer/DatabaseUpdater.php',
+ 'LBFactory_InstallerFake' => 'includes/installer/Installer.php',
+ 'LocalSettingsGenerator' => 'includes/installer/LocalSettingsGenerator.php',
+ 'WebInstaller' => 'includes/installer/WebInstaller.php',
+ 'WebInstallerPage' => 'includes/installer/WebInstallerPage.php',
+ 'WebInstallerOutput' => 'includes/installer/WebInstallerOutput.php',
+ 'MysqlInstaller' => 'includes/installer/MysqlInstaller.php',
+ 'MysqlUpdater' => 'includes/installer/MysqlUpdater.php',
+ 'PhpXmlBugTester' => 'includes/installer/PhpBugTests.php',
+ 'PhpRefCallBugTester' => 'includes/installer/PhpBugTests.php',
+ 'PostgresInstaller' => 'includes/installer/PostgresInstaller.php',
+ 'PostgresUpdater' => 'includes/installer/PostgresUpdater.php',
+ 'SqliteInstaller' => 'includes/installer/SqliteInstaller.php',
+ 'SqliteUpdater' => 'includes/installer/SqliteUpdater.php',
+ 'OracleInstaller' => 'includes/installer/OracleInstaller.php',
+ 'OracleUpdater' => 'includes/installer/OracleUpdater.php',
+
+ # includes/job
+ 'DoubleRedirectJob' => 'includes/job/DoubleRedirectJob.php',
+ 'EmaillingJob' => 'includes/job/EmaillingJob.php',
+ 'EnotifNotifyJob' => 'includes/job/EnotifNotifyJob.php',
+ 'Job' => 'includes/job/JobQueue.php',
+ 'RefreshLinksJob' => 'includes/job/RefreshLinksJob.php',
+ 'RefreshLinksJob2' => 'includes/job/RefreshLinksJob.php',
+ 'UploadFromUrlJob' => 'includes/job/UploadFromUrlJob.php',
+
+ # includes/libs
+ 'IEContentAnalyzer' => 'includes/libs/IEContentAnalyzer.php',
+ 'IEUrlExtension' => 'includes/libs/IEUrlExtension.php',
+ 'Spyc' => 'includes/libs/spyc.php',
+
# includes/media
'BitmapHandler' => 'includes/media/Bitmap.php',
'BitmapHandler_ClientOnly' => 'includes/media/Bitmap_ClientOnly.php',
'BmpHandler' => 'includes/media/BMP.php',
'DjVuHandler' => 'includes/media/DjVu.php',
+ 'GIFHandler' => 'includes/media/GIF.php',
+ 'GIFMetadataExtractor' => 'includes/media/GIFMetadataExtractor.php',
'ImageHandler' => 'includes/media/Generic.php',
'MediaHandler' => 'includes/media/Generic.php',
+ 'MediaTransformError' => 'includes/media/MediaTransformOutput.php',
+ 'MediaTransformOutput' => 'includes/media/MediaTransformOutput.php',
+ 'PNGHandler' => 'includes/media/PNG.php',
+ 'PNGMetadataExtractor' => 'includes/media/PNGMetadataExtractor.php',
'SvgHandler' => 'includes/media/SVG.php',
+ 'SVGMetadataExtractor' => 'includes/media/SVGMetadataExtractor.php',
+ 'ThumbnailImage' => 'includes/media/MediaTransformOutput.php',
+ 'TiffHandler' => 'includes/media/Tiff.php',
+ 'TransformParameterError' => 'includes/media/MediaTransformOutput.php',
# includes/normal
'UtfNormal' => 'includes/normal/UtfNormal.php',
@@ -481,7 +548,7 @@ $wgAutoloadLocalClasses = array(
'SearchEngine' => 'includes/search/SearchEngine.php',
'SearchHighlighter' => 'includes/search/SearchEngine.php',
'SearchIBM_DB2' => 'includes/search/SearchIBM_DB2.php',
- 'SearchMySQL4' => 'includes/search/SearchMySQL4.php',
+ 'SearchMssql' => 'includes/search/SearchMssql.php',
'SearchMySQL' => 'includes/search/SearchMySQL.php',
'SearchOracle' => 'includes/search/SearchOracle.php',
'SearchPostgres' => 'includes/search/SearchPostgres.php',
@@ -510,8 +577,7 @@ $wgAutoloadLocalClasses = array(
'DoubleRedirectsPage' => 'includes/specials/SpecialDoubleRedirects.php',
'EmailConfirmation' => 'includes/specials/SpecialConfirmemail.php',
'EmailInvalidation' => 'includes/specials/SpecialConfirmemail.php',
- 'EmailUserForm' => 'includes/specials/SpecialEmailuser.php',
- 'FakeResultWrapper' => 'includes/specials/SpecialAllmessages.php',
+ 'SpecialEmailUser' => 'includes/specials/SpecialEmailuser.php',
'FewestrevisionsPage' => 'includes/specials/SpecialFewestrevisions.php',
'FileDuplicateSearchPage' => 'includes/specials/SpecialFileDuplicateSearch.php',
'IPBlockForm' => 'includes/specials/SpecialBlockip.php',
@@ -541,35 +607,50 @@ $wgAutoloadLocalClasses = array(
'PreferencesForm' => 'includes/Preferences.php',
'RandomPage' => 'includes/specials/SpecialRandompage.php',
'SpecialRevisionDelete' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevisionDeleter' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_RevisionList' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_RevisionItem' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_ArchiveList' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_ArchiveItem' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_FileList' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_FileItem' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_ArchivedFileList' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_ArchivedFileItem' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_LogList' => 'includes/specials/SpecialRevisiondelete.php',
- 'RevDel_LogItem' => 'includes/specials/SpecialRevisiondelete.php',
+ 'RevisionDeleter' => 'includes/revisiondelete/RevisionDeleter.php',
+ 'RevDel_List' => 'includes/revisiondelete/RevisionDeleteAbstracts.php',
+ 'RevDel_Item' => 'includes/revisiondelete/RevisionDeleteAbstracts.php',
+ 'RevDel_RevisionList' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_RevisionItem' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_ArchiveList' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_ArchiveItem' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_FileList' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_FileItem' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_ArchivedFileList' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_ArchivedFileItem' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_LogList' => 'includes/revisiondelete/RevisionDelete.php',
+ 'RevDel_LogItem' => 'includes/revisiondelete/RevisionDelete.php',
'ShortPagesPage' => 'includes/specials/SpecialShortpages.php',
'SpecialActiveUsers' => 'includes/specials/SpecialActiveusers.php',
'SpecialAllpages' => 'includes/specials/SpecialAllpages.php',
'SpecialBlankpage' => 'includes/specials/SpecialBlankpage.php',
+ 'SpecialBlockme' => 'includes/specials/SpecialBlockme.php',
'SpecialBookSources' => 'includes/specials/SpecialBooksources.php',
+ 'SpecialCategories' => 'includes/specials/SpecialCategories.php',
+ 'SpecialComparePages' => 'includes/specials/SpecialComparePages.php',
'SpecialExport' => 'includes/specials/SpecialExport.php',
+ 'SpecialFilepath' => 'includes/specials/SpecialFilepath.php',
'SpecialImport' => 'includes/specials/SpecialImport.php',
'SpecialListGroupRights' => 'includes/specials/SpecialListgrouprights.php',
+ 'SpecialLockdb' => 'includes/specials/SpecialLockdb.php',
+ 'SpecialLog' => 'includes/specials/SpecialLog.php',
+ 'SpecialMergeHistory' => 'includes/specials/SpecialMergeHistory.php',
'SpecialMostlinkedtemplates' => 'includes/specials/SpecialMostlinkedtemplates.php',
'SpecialPreferences' => 'includes/specials/SpecialPreferences.php',
'SpecialPrefixindex' => 'includes/specials/SpecialPrefixindex.php',
+ 'SpecialProtectedpages' => 'includes/specials/SpecialProtectedpages.php',
+ 'SpecialProtectedtitles' => 'includes/specials/SpecialProtectedtitles.php',
'SpecialRandomredirect' => 'includes/specials/SpecialRandomredirect.php',
'SpecialRecentChanges' => 'includes/specials/SpecialRecentchanges.php',
'SpecialRecentchangeslinked' => 'includes/specials/SpecialRecentchangeslinked.php',
'SpecialSearch' => 'includes/specials/SpecialSearch.php',
+ 'SpecialUploadStash' => 'includes/specials/SpecialUploadStash.php',
+ 'SpecialSpecialpages' => 'includes/specials/SpecialSpecialpages.php',
'SpecialStatistics' => 'includes/specials/SpecialStatistics.php',
'SpecialTags' => 'includes/specials/SpecialTags.php',
+ 'SpecialUnlockdb' => 'includes/specials/SpecialUnlockdb.php',
'SpecialUpload' => 'includes/specials/SpecialUpload.php',
+ 'SpecialUserlogout' => 'includes/specials/SpecialUserlogout.php',
'SpecialVersion' => 'includes/specials/SpecialVersion.php',
'SpecialWhatlinkshere' => 'includes/specials/SpecialWhatlinkshere.php',
'SpecialWhatLinksHere' => 'includes/specials/SpecialWhatlinkshere.php',
@@ -598,18 +679,66 @@ $wgAutoloadLocalClasses = array(
'UsercreateTemplate' => 'includes/templates/Userlogin.php',
'UserloginTemplate' => 'includes/templates/Userlogin.php',
+ # includes/upload
+ 'UploadBase' => 'includes/upload/UploadBase.php',
+ 'UploadFromStash' => 'includes/upload/UploadFromStash.php',
+ 'UploadFromFile' => 'includes/upload/UploadFromFile.php',
+ 'UploadFromUrl' => 'includes/upload/UploadFromUrl.php',
+ 'UploadStash' => 'includes/upload/UploadStash.php',
+ 'UploadStashFile' => 'includes/upload/UploadStash.php',
+ 'UploadStashNotAvailableException' => 'includes/upload/UploadStash.php',
+ 'UploadStashFileNotFoundException' => 'includes/upload/UploadStash.php',
+ 'UploadStashBadPathException' => 'includes/upload/UploadStash.php',
+ 'UploadStashBadVersionException' => 'includes/upload/UploadStash.php',
+ 'UploadStashFileException' => 'includes/upload/UploadStash.php',
+ 'UploadStashZeroLengthFileException' => 'includes/upload/UploadStash.php',
+
# languages
'Language' => 'languages/Language.php',
'FakeConverter' => 'languages/Language.php',
'LanguageConverter' => 'languages/LanguageConverter.php',
+ # maintenance
+ 'AnsiTermColorer' => 'maintenance/tests/testHelpers.inc',
+ 'ConvertLinks' => 'maintenance/convertLinks.php',
+ 'DbTestPreviewer' => 'maintenance/tests/testHelpers.inc',
+ 'DbTestRecorder' => 'maintenance/tests/testHelpers.inc',
+ 'DeleteArchivedFilesImplementation' => 'maintenance/deleteArchivedFiles.inc',
+ 'DeleteArchivedRevisionsImplementation' => 'maintenance/deleteArchivedRevisions.inc',
+ 'DeleteDefaultMessages' => 'maintenance/deleteDefaultMessages.php',
+ 'DummyTermColorer' => 'maintenance/tests/testHelpers.inc',
+ 'ParserTest' => 'maintenance/tests/parser/parserTest.inc',
+ 'ParserTestParserHook' => 'maintenance/tests/parser/parserTestsParserHook.php',
+ 'ParserTestStaticParserHook' => 'maintenance/tests/parser/parserTestsStaticParserHook.php',
+ 'PopulateCategory' => 'maintenance/populateCategory.php',
+ 'PopulateLogSearch' => 'maintenance/populateLogSearch.php',
+ 'PopulateLogUsertext' => 'maintenance/populateLogUsertext.php',
+ 'PopulateParentId' => 'maintenance/populateParentId.php',
+ 'PopulateRevisionLength' => 'maintenance/populateRevisionLength.php',
+ 'RemoteTestRecorder' => 'maintenance/tests/testHelpers.inc',
+ 'SevenZipStream' => 'maintenance/7zip.inc',
+ 'Sqlite' => 'maintenance/sqlite.inc',
+ 'TestFileIterator' => 'maintenance/tests/testHelpers.inc',
+ 'TestRecorder' => 'maintenance/tests/testHelpers.inc',
+ 'UpdateCollation' => 'maintenance/updateCollation.php',
+ 'UpdateRestrictions' => 'maintenance/updateRestrictions.php',
+ 'UserDupes' => 'maintenance/userDupes.inc',
+
+ # maintenance/tests/selenium
+ 'Selenium' => 'maintenance/tests/selenium/Selenium.php',
+ 'SeleniumLoader' => 'maintenance/tests/selenium/SeleniumLoader.php',
+ 'SeleniumTestCase' => 'maintenance/tests/selenium/SeleniumTestCase.php',
+ 'SeleniumTestConsoleLogger' => 'maintenance/tests/selenium/SeleniumTestConsoleLogger.php',
+ 'SeleniumTestHTMLLogger' => 'maintenance/tests/selenium/SeleniumTestHTMLLogger.php',
+ 'SeleniumTestListener' => 'maintenance/tests/selenium/SeleniumTestListener.php',
+ 'SeleniumTestSuite' => 'maintenance/tests/selenium/SeleniumTestSuite.php',
+ 'SeleniumConfig' => 'maintenance/tests/selenium/SeleniumConfig.php',
+
# maintenance/language
+ 'csvStatsOutput' => 'maintenance/language/StatOutputs.php',
'statsOutput' => 'maintenance/language/StatOutputs.php',
- 'wikiStatsOutput' => 'maintenance/language/StatOutputs.php',
'textStatsOutput' => 'maintenance/language/StatOutputs.php',
- 'csvStatsOutput' => 'maintenance/language/StatOutputs.php',
- 'SevenZipStream' => 'maintenance/7zip.inc',
-
+ 'wikiStatsOutput' => 'maintenance/language/StatOutputs.php',
);
class AutoLoader {
@@ -633,14 +762,18 @@ class AutoLoader {
# The case can sometimes be wrong when unserializing PHP 4 objects
$filename = false;
$lowerClass = strtolower( $className );
+
foreach ( $wgAutoloadLocalClasses as $class2 => $file2 ) {
if ( strtolower( $class2 ) == $lowerClass ) {
$filename = $file2;
}
}
+
if ( !$filename ) {
- if( function_exists( 'wfDebug' ) )
+ if ( function_exists( 'wfDebug' ) ) {
wfDebug( "Class {$className} not found; skipped loading\n" );
+ }
+
# Give up
return false;
}
@@ -651,15 +784,17 @@ class AutoLoader {
global $IP;
$filename = "$IP/$filename";
}
+
require( $filename );
+
return true;
}
static function loadAllExtensions() {
global $wgAutoloadClasses;
- foreach( $wgAutoloadClasses as $class => $file ) {
- if( !( class_exists( $class, false ) || interface_exists( $class, false ) ) ) {
+ foreach ( $wgAutoloadClasses as $class => $file ) {
+ if ( !( class_exists( $class, false ) || interface_exists( $class, false ) ) ) {
require( $file );
}
}
@@ -677,10 +812,6 @@ class AutoLoader {
}
}
-function wfLoadAllExtensions() {
- AutoLoader::loadAllExtensions();
-}
-
if ( function_exists( 'spl_autoload_register' ) ) {
spl_autoload_register( array( 'AutoLoader', 'autoload' ) );
} else {