2006-06-06 09:50:01 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/* This defines autoloading handler for whole MediaWiki framework */
|
2006-07-02 15:57:59 +00:00
|
|
|
|
|
|
|
|
ini_set('unserialize_callback_func', '__autoload' );
|
|
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# 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
|
2008-07-24 12:51:26 +00:00
|
|
|
global $wgAutoloadLocalClasses;
|
2008-09-14 19:51:25 +00:00
|
|
|
$wgAutoloadLocalClasses = array(
|
2008-07-24 12:45:23 +00:00
|
|
|
# Includes
|
|
|
|
|
'AjaxDispatcher' => 'includes/AjaxDispatcher.php',
|
|
|
|
|
'AjaxResponse' => 'includes/AjaxResponse.php',
|
|
|
|
|
'AlphabeticPager' => 'includes/Pager.php',
|
|
|
|
|
'APCBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'Article' => 'includes/Article.php',
|
|
|
|
|
'AtomFeed' => 'includes/Feed.php',
|
|
|
|
|
'AuthPlugin' => 'includes/AuthPlugin.php',
|
2008-10-05 02:45:12 +00:00
|
|
|
'AuthPluginUser' => 'includes/AuthPlugin.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'Autopromote' => 'includes/Autopromote.php',
|
2009-02-16 14:26:34 +00:00
|
|
|
'BacklinkCache' => 'includes/BacklinkCache.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'BagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'Block' => 'includes/Block.php',
|
|
|
|
|
'CacheDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'Category' => 'includes/Category.php',
|
|
|
|
|
'Categoryfinder' => 'includes/Categoryfinder.php',
|
|
|
|
|
'CategoryPage' => 'includes/CategoryPage.php',
|
|
|
|
|
'CategoryViewer' => 'includes/CategoryPage.php',
|
2009-06-20 15:59:56 +00:00
|
|
|
'CdbFunctions' => 'includes/Cdb_PHP.php',
|
|
|
|
|
'CdbReader' => 'includes/Cdb.php',
|
|
|
|
|
'CdbReader_DBA' => 'includes/Cdb.php',
|
|
|
|
|
'CdbReader_PHP' => 'includes/Cdb_PHP.php',
|
|
|
|
|
'CdbWriter' => 'includes/Cdb.php',
|
|
|
|
|
'CdbWriter_DBA' => 'includes/Cdb.php',
|
|
|
|
|
'CdbWriter_PHP' => 'includes/Cdb_PHP.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ChangesList' => 'includes/ChangesList.php',
|
|
|
|
|
'ChangesFeed' => 'includes/ChangesFeed.php',
|
2009-01-28 19:08:18 +00:00
|
|
|
'ChangeTags' => 'includes/ChangeTags.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ChannelFeed' => 'includes/Feed.php',
|
|
|
|
|
'ConcatenatedGzipHistoryBlob' => 'includes/HistoryBlob.php',
|
2009-06-17 17:20:01 +00:00
|
|
|
'ConfEditor' => 'includes/ConfEditor.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ConstantDependency' => 'includes/CacheDependency.php',
|
2008-08-18 19:37:44 +00:00
|
|
|
'CreativeCommonsRdf' => 'includes/Metadata.php',
|
|
|
|
|
'Credits' => 'includes/Credits.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'DBABagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'DependencyWrapper' => 'includes/CacheDependency.php',
|
2008-10-17 09:11:43 +00:00
|
|
|
'DiffHistoryBlob' => 'includes/HistoryBlob.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'DjVuImage' => 'includes/DjVuImage.php',
|
|
|
|
|
'DoubleReplacer' => 'includes/StringUtils.php',
|
|
|
|
|
'DoubleRedirectJob' => 'includes/DoubleRedirectJob.php',
|
2008-08-18 19:37:44 +00:00
|
|
|
'DublinCoreRdf' => 'includes/Metadata.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'Dump7ZipOutput' => 'includes/Export.php',
|
|
|
|
|
'DumpBZip2Output' => 'includes/Export.php',
|
|
|
|
|
'DumpFileOutput' => 'includes/Export.php',
|
|
|
|
|
'DumpFilter' => 'includes/Export.php',
|
|
|
|
|
'DumpGZipOutput' => 'includes/Export.php',
|
|
|
|
|
'DumpLatestFilter' => 'includes/Export.php',
|
|
|
|
|
'DumpMultiWriter' => 'includes/Export.php',
|
|
|
|
|
'DumpNamespaceFilter' => 'includes/Export.php',
|
|
|
|
|
'DumpNotalkFilter' => 'includes/Export.php',
|
|
|
|
|
'DumpOutput' => 'includes/Export.php',
|
|
|
|
|
'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',
|
2008-08-16 10:13:35 +00:00
|
|
|
'ExplodeIterator' => 'includes/StringUtils.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ExternalEdit' => 'includes/ExternalEdit.php',
|
|
|
|
|
'ExternalStoreDB' => 'includes/ExternalStoreDB.php',
|
|
|
|
|
'ExternalStoreHttp' => 'includes/ExternalStoreHttp.php',
|
|
|
|
|
'ExternalStore' => 'includes/ExternalStore.php',
|
|
|
|
|
'FatalError' => 'includes/Exception.php',
|
|
|
|
|
'FakeTitle' => 'includes/FakeTitle.php',
|
|
|
|
|
'FauxRequest' => 'includes/WebRequest.php',
|
|
|
|
|
'FeedItem' => 'includes/Feed.php',
|
|
|
|
|
'FeedUtils' => 'includes/FeedUtils.php',
|
|
|
|
|
'FileDeleteForm' => 'includes/FileDeleteForm.php',
|
|
|
|
|
'FileDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'FileRevertForm' => 'includes/FileRevertForm.php',
|
2009-02-26 06:02:32 +00:00
|
|
|
'ForkController' => 'includes/ForkController.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'FormatExif' => 'includes/Exif.php',
|
|
|
|
|
'FormOptions' => 'includes/FormOptions.php',
|
|
|
|
|
'GlobalDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'HashBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'HashtableReplacer' => 'includes/StringUtils.php',
|
|
|
|
|
'HistoryBlobCurStub' => 'includes/HistoryBlob.php',
|
|
|
|
|
'HistoryBlob' => 'includes/HistoryBlob.php',
|
|
|
|
|
'HistoryBlobStub' => 'includes/HistoryBlob.php',
|
|
|
|
|
'HTMLCacheUpdate' => 'includes/HTMLCacheUpdate.php',
|
|
|
|
|
'HTMLCacheUpdateJob' => 'includes/HTMLCacheUpdate.php',
|
|
|
|
|
'HTMLFileCache' => 'includes/HTMLFileCache.php',
|
2009-04-24 01:31:17 +00:00
|
|
|
'HTMLForm' => 'includes/HTMLForm.php',
|
2009-06-26 14:32:54 +00:00
|
|
|
'HTMLFormField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLTextField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLIntField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLCheckField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLSelectField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLSelectOrOtherField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLMultiSelectField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLRadioField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLInfoField' => 'includes/HTMLForm.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'Http' => 'includes/HttpFunctions.php',
|
2008-12-12 15:06:35 +00:00
|
|
|
'IEContentAnalyzer' => 'includes/IEContentAnalyzer.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ImageGallery' => 'includes/ImageGallery.php',
|
|
|
|
|
'ImageHistoryList' => 'includes/ImagePage.php',
|
|
|
|
|
'ImagePage' => 'includes/ImagePage.php',
|
|
|
|
|
'ImageQueryPage' => 'includes/ImageQueryPage.php',
|
|
|
|
|
'IncludableSpecialPage' => 'includes/SpecialPage.php',
|
|
|
|
|
'IndexPager' => 'includes/Pager.php',
|
2008-09-29 10:08:46 +00:00
|
|
|
'Interwiki' => 'includes/Interwiki.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'IP' => 'includes/IP.php',
|
|
|
|
|
'Job' => 'includes/JobQueue.php',
|
* Introduced a new system for localisation caching. The system is based around fast fetches of individual messages, minimising memory overhead and startup time in the typical case. It handles both core messages (formerly in Language.php) and extension messages (formerly in MessageCache.php). Profiling indicates a significant win for average throughput.
* The serialized message cache, which would have been redundant, has been removed. Similar performance characteristics can be achieved with $wgLocalisationCacheConf['manualRecache'] = true;
* Added a maintenance script rebuildLocalisationCache.php for offline rebuilding of the localisation cache.
* Extension i18n files can now contain any of the variables which can be set in Messages*.php. It is possible, and recommended, to use this feature instead of the hooks for special page aliases and magic words.
* $wgExtensionAliasesFiles, LanguageGetMagic and LanguageGetSpecialPageAliases are retained for backwards compatibility. $wgMessageCache->addMessages() and related functions have been removed. wfLoadExtensionMessages() is a no-op and can continue to be called for b/c.
* Introduced $wgCacheDirectory as a default location for the various local caches that have accumulated. Suggested $IP/cache as a good place for it in the default LocalSettings.php and created this directory with a deny-all .htaccess.
* Patched Exception.php to avoid using the message cache when an exception is thrown from within LocalisationCache, since this tends to fail horribly.
* Removed Language::getLocalisationArray(), Language::loadLocalisation(), Language::load()
* Fixed FileDependency::__sleep()
* In Cdb.php, fixed newlines in debug messages
In MessageCache::get():
* Replaced calls to $wgContLang capitalisation functions with plain PHP functions, reducing the typical case from 99us to 93us. Message cache keys are already documented as being restricted to ASCII.
* Implemented a more efficient way to filter out bogus language codes, reducing the "foo/en" case from 430us to 101us
* Optimised wfRunHooks() in the typical do-nothing case, from ~30us to ~3us. This reduced MessageCache::get() typical case time from 93us to 38us.
* Removed hook MessageNotInMwNs to save an extra 3us per cache hit. Reimplemented the only user (LocalisationUpdate) using the new hook LocalisationCacheRecache.
2009-06-28 07:11:43 +00:00
|
|
|
'LCStore_DB' => 'includes/LocalisationCache.php',
|
|
|
|
|
'LCStore_CDB' => 'includes/LocalisationCache.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'License' => 'includes/Licenses.php',
|
|
|
|
|
'Licenses' => 'includes/Licenses.php',
|
|
|
|
|
'LinkBatch' => 'includes/LinkBatch.php',
|
|
|
|
|
'LinkCache' => 'includes/LinkCache.php',
|
|
|
|
|
'Linker' => 'includes/Linker.php',
|
|
|
|
|
'LinkFilter' => 'includes/LinkFilter.php',
|
|
|
|
|
'LinksUpdate' => 'includes/LinksUpdate.php',
|
* Introduced a new system for localisation caching. The system is based around fast fetches of individual messages, minimising memory overhead and startup time in the typical case. It handles both core messages (formerly in Language.php) and extension messages (formerly in MessageCache.php). Profiling indicates a significant win for average throughput.
* The serialized message cache, which would have been redundant, has been removed. Similar performance characteristics can be achieved with $wgLocalisationCacheConf['manualRecache'] = true;
* Added a maintenance script rebuildLocalisationCache.php for offline rebuilding of the localisation cache.
* Extension i18n files can now contain any of the variables which can be set in Messages*.php. It is possible, and recommended, to use this feature instead of the hooks for special page aliases and magic words.
* $wgExtensionAliasesFiles, LanguageGetMagic and LanguageGetSpecialPageAliases are retained for backwards compatibility. $wgMessageCache->addMessages() and related functions have been removed. wfLoadExtensionMessages() is a no-op and can continue to be called for b/c.
* Introduced $wgCacheDirectory as a default location for the various local caches that have accumulated. Suggested $IP/cache as a good place for it in the default LocalSettings.php and created this directory with a deny-all .htaccess.
* Patched Exception.php to avoid using the message cache when an exception is thrown from within LocalisationCache, since this tends to fail horribly.
* Removed Language::getLocalisationArray(), Language::loadLocalisation(), Language::load()
* Fixed FileDependency::__sleep()
* In Cdb.php, fixed newlines in debug messages
In MessageCache::get():
* Replaced calls to $wgContLang capitalisation functions with plain PHP functions, reducing the typical case from 99us to 93us. Message cache keys are already documented as being restricted to ASCII.
* Implemented a more efficient way to filter out bogus language codes, reducing the "foo/en" case from 430us to 101us
* Optimised wfRunHooks() in the typical do-nothing case, from ~30us to ~3us. This reduced MessageCache::get() typical case time from 93us to 38us.
* Removed hook MessageNotInMwNs to save an extra 3us per cache hit. Reimplemented the only user (LocalisationUpdate) using the new hook LocalisationCacheRecache.
2009-06-28 07:11:43 +00:00
|
|
|
'LocalisationCache' => 'includes/LocalisationCache.php',
|
|
|
|
|
'LocalisationCache_BulkLoad' => 'includes/LocalisationCache.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'LogPage' => 'includes/LogPage.php',
|
|
|
|
|
'LogPager' => 'includes/LogEventsList.php',
|
|
|
|
|
'LogEventsList' => 'includes/LogEventsList.php',
|
|
|
|
|
'LogReader' => 'includes/LogEventsList.php',
|
|
|
|
|
'LogViewer' => 'includes/LogEventsList.php',
|
|
|
|
|
'MacBinary' => 'includes/MacBinary.php',
|
|
|
|
|
'MagicWordArray' => 'includes/MagicWord.php',
|
|
|
|
|
'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',
|
|
|
|
|
'memcached' => 'includes/memcached-client.php',
|
|
|
|
|
'MessageCache' => 'includes/MessageCache.php',
|
|
|
|
|
'MimeMagic' => 'includes/MimeMagic.php',
|
|
|
|
|
'MWException' => 'includes/Exception.php',
|
|
|
|
|
'MWNamespace' => 'includes/Namespace.php',
|
|
|
|
|
'MySQLSearchResultSet' => 'includes/SearchMySQL.php',
|
|
|
|
|
'Namespace' => 'includes/NamespaceCompat.php', // Compat
|
|
|
|
|
'OldChangesList' => 'includes/ChangesList.php',
|
|
|
|
|
'OracleSearchResultSet' => 'includes/SearchOracle.php',
|
|
|
|
|
'OutputPage' => 'includes/OutputPage.php',
|
|
|
|
|
'PageHistory' => 'includes/PageHistory.php',
|
|
|
|
|
'PageHistoryPager' => 'includes/PageHistory.php',
|
|
|
|
|
'PageQueryPage' => 'includes/PageQueryPage.php',
|
|
|
|
|
'Pager' => 'includes/Pager.php',
|
|
|
|
|
'PasswordError' => 'includes/User.php',
|
|
|
|
|
'PatrolLog' => 'includes/PatrolLog.php',
|
|
|
|
|
'PostgresSearchResult' => 'includes/SearchPostgres.php',
|
|
|
|
|
'PostgresSearchResultSet' => 'includes/SearchPostgres.php',
|
2009-04-24 01:31:17 +00:00
|
|
|
'Preferences' => 'includes/Preferences.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'PrefixSearch' => 'includes/PrefixSearch.php',
|
|
|
|
|
'Profiler' => 'includes/Profiler.php',
|
|
|
|
|
'ProfilerSimple' => 'includes/ProfilerSimple.php',
|
|
|
|
|
'ProfilerSimpleText' => 'includes/ProfilerSimpleText.php',
|
|
|
|
|
'ProfilerSimpleUDP' => 'includes/ProfilerSimpleUDP.php',
|
|
|
|
|
'ProtectionForm' => 'includes/ProtectionForm.php',
|
|
|
|
|
'QueryPage' => 'includes/QueryPage.php',
|
|
|
|
|
'QuickTemplate' => 'includes/SkinTemplate.php',
|
|
|
|
|
'RawPage' => 'includes/RawPage.php',
|
|
|
|
|
'RCCacheEntry' => 'includes/ChangesList.php',
|
2008-08-18 19:37:44 +00:00
|
|
|
'RdfMetaData' => 'includes/Metadata.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'RecentChange' => 'includes/RecentChange.php',
|
|
|
|
|
'RefreshLinksJob' => 'includes/RefreshLinksJob.php',
|
2008-09-12 09:37:31 +00:00
|
|
|
'RefreshLinksJob2' => 'includes/RefreshLinksJob.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'RegexlikeReplacer' => 'includes/StringUtils.php',
|
|
|
|
|
'ReplacementArray' => 'includes/StringUtils.php',
|
|
|
|
|
'Replacer' => 'includes/StringUtils.php',
|
|
|
|
|
'ReverseChronologicalPager' => 'includes/Pager.php',
|
|
|
|
|
'Revision' => 'includes/Revision.php',
|
|
|
|
|
'RSSFeed' => 'includes/Feed.php',
|
|
|
|
|
'Sanitizer' => 'includes/Sanitizer.php',
|
|
|
|
|
'SearchEngineDummy' => 'includes/SearchEngine.php',
|
|
|
|
|
'SearchEngine' => 'includes/SearchEngine.php',
|
|
|
|
|
'SearchHighlighter' => 'includes/SearchEngine.php',
|
|
|
|
|
'SearchMySQL4' => 'includes/SearchMySQL4.php',
|
|
|
|
|
'SearchMySQL' => 'includes/SearchMySQL.php',
|
|
|
|
|
'SearchOracle' => 'includes/SearchOracle.php',
|
|
|
|
|
'SearchPostgres' => 'includes/SearchPostgres.php',
|
|
|
|
|
'SearchResult' => 'includes/SearchEngine.php',
|
|
|
|
|
'SearchResultSet' => 'includes/SearchEngine.php',
|
|
|
|
|
'SearchResultTooMany' => 'includes/SearchEngine.php',
|
|
|
|
|
'SearchUpdate' => 'includes/SearchUpdate.php',
|
|
|
|
|
'SearchUpdateMyISAM' => 'includes/SearchUpdate.php',
|
|
|
|
|
'SiteConfiguration' => 'includes/SiteConfiguration.php',
|
|
|
|
|
'SiteStats' => 'includes/SiteStats.php',
|
|
|
|
|
'SiteStatsUpdate' => 'includes/SiteStats.php',
|
|
|
|
|
'Skin' => 'includes/Skin.php',
|
|
|
|
|
'SkinTemplate' => 'includes/SkinTemplate.php',
|
|
|
|
|
'SpecialMycontributions' => 'includes/SpecialPage.php',
|
|
|
|
|
'SpecialMypage' => 'includes/SpecialPage.php',
|
|
|
|
|
'SpecialMytalk' => 'includes/SpecialPage.php',
|
|
|
|
|
'SpecialPage' => 'includes/SpecialPage.php',
|
|
|
|
|
'SpecialRedirectToSpecial' => 'includes/SpecialPage.php',
|
|
|
|
|
'SqlBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'SquidUpdate' => 'includes/SquidUpdate.php',
|
|
|
|
|
'Status' => 'includes/Status.php',
|
|
|
|
|
'StringUtils' => 'includes/StringUtils.php',
|
|
|
|
|
'TablePager' => 'includes/Pager.php',
|
|
|
|
|
'ThumbnailImage' => 'includes/MediaTransformOutput.php',
|
2009-03-16 22:03:20 +00:00
|
|
|
'TiffHandler' => 'includes/media/Tiff.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'TitleDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'Title' => 'includes/Title.php',
|
2008-07-29 14:53:10 +00:00
|
|
|
'TitleArray' => 'includes/TitleArray.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'TitleListDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'TransformParameterError' => 'includes/MediaTransformOutput.php',
|
|
|
|
|
'TurckBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'UnlistedSpecialPage' => 'includes/SpecialPage.php',
|
|
|
|
|
'User' => 'includes/User.php',
|
2008-07-29 14:53:10 +00:00
|
|
|
'UserArray' => 'includes/UserArray.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'UserArrayFromResult' => 'includes/UserArray.php',
|
|
|
|
|
'UserMailer' => 'includes/UserMailer.php',
|
|
|
|
|
'UserRightsProxy' => 'includes/UserRightsProxy.php',
|
2009-04-15 03:35:59 +00:00
|
|
|
'WantedQueryPage' => 'includes/QueryPage.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'WatchedItem' => 'includes/WatchedItem.php',
|
|
|
|
|
'WatchlistEditor' => 'includes/WatchlistEditor.php',
|
|
|
|
|
'WebRequest' => 'includes/WebRequest.php',
|
|
|
|
|
'WebResponse' => 'includes/WebResponse.php',
|
|
|
|
|
'WikiError' => 'includes/WikiError.php',
|
|
|
|
|
'WikiErrorMsg' => 'includes/WikiError.php',
|
|
|
|
|
'WikiExporter' => 'includes/Export.php',
|
2009-03-26 13:31:30 +00:00
|
|
|
'WikiMap' => 'includes/WikiMap.php',
|
2009-06-12 19:24:03 +00:00
|
|
|
'WikiReference' => 'includes/WikiMap.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'WikiXmlError' => 'includes/WikiError.php',
|
|
|
|
|
'XCacheBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'XmlDumpWriter' => 'includes/Export.php',
|
|
|
|
|
'Xml' => 'includes/Xml.php',
|
|
|
|
|
'XmlSelect' => 'includes/Xml.php',
|
|
|
|
|
'XmlTypeCheck' => 'includes/XmlTypeCheck.php',
|
|
|
|
|
'ZhClient' => 'includes/ZhClient.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/api
|
|
|
|
|
'ApiBase' => 'includes/api/ApiBase.php',
|
|
|
|
|
'ApiBlock' => 'includes/api/ApiBlock.php',
|
|
|
|
|
'ApiDelete' => 'includes/api/ApiDelete.php',
|
2008-09-25 20:50:50 +00:00
|
|
|
'ApiDisabled' => 'includes/api/ApiDisabled.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiEditPage' => 'includes/api/ApiEditPage.php',
|
|
|
|
|
'ApiEmailUser' => 'includes/api/ApiEmailUser.php',
|
|
|
|
|
'ApiExpandTemplates' => 'includes/api/ApiExpandTemplates.php',
|
|
|
|
|
'ApiFeedWatchlist' => 'includes/api/ApiFeedWatchlist.php',
|
|
|
|
|
'ApiFormatBase' => 'includes/api/ApiFormatBase.php',
|
|
|
|
|
'ApiFormatDbg' => 'includes/api/ApiFormatDbg.php',
|
|
|
|
|
'ApiFormatFeedWrapper' => 'includes/api/ApiFormatBase.php',
|
|
|
|
|
'ApiFormatJson' => 'includes/api/ApiFormatJson.php',
|
|
|
|
|
'ApiFormatPhp' => 'includes/api/ApiFormatPhp.php',
|
2009-02-02 20:07:33 +00:00
|
|
|
'ApiFormatRaw' => 'includes/api/ApiFormatRaw.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiFormatTxt' => 'includes/api/ApiFormatTxt.php',
|
|
|
|
|
'ApiFormatWddx' => 'includes/api/ApiFormatWddx.php',
|
|
|
|
|
'ApiFormatXml' => 'includes/api/ApiFormatXml.php',
|
|
|
|
|
'ApiFormatYaml' => 'includes/api/ApiFormatYaml.php',
|
|
|
|
|
'ApiHelp' => 'includes/api/ApiHelp.php',
|
2009-02-04 20:11:27 +00:00
|
|
|
'ApiImport' => 'includes/api/ApiImport.php',
|
|
|
|
|
'ApiImportReporter' => 'includes/api/ApiImport.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiLogin' => 'includes/api/ApiLogin.php',
|
|
|
|
|
'ApiLogout' => 'includes/api/ApiLogout.php',
|
|
|
|
|
'ApiMain' => 'includes/api/ApiMain.php',
|
|
|
|
|
'ApiMove' => 'includes/api/ApiMove.php',
|
|
|
|
|
'ApiOpenSearch' => 'includes/api/ApiOpenSearch.php',
|
|
|
|
|
'ApiPageSet' => 'includes/api/ApiPageSet.php',
|
|
|
|
|
'ApiParamInfo' => 'includes/api/ApiParamInfo.php',
|
|
|
|
|
'ApiParse' => 'includes/api/ApiParse.php',
|
2008-09-04 15:17:51 +00:00
|
|
|
'ApiPatrol' => 'includes/api/ApiPatrol.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiProtect' => 'includes/api/ApiProtect.php',
|
2008-09-04 21:53:43 +00:00
|
|
|
'ApiPurge' => 'includes/api/ApiPurge.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiQuery' => 'includes/api/ApiQuery.php',
|
|
|
|
|
'ApiQueryAllCategories' => 'includes/api/ApiQueryAllCategories.php',
|
|
|
|
|
'ApiQueryAllimages' => 'includes/api/ApiQueryAllimages.php',
|
|
|
|
|
'ApiQueryAllLinks' => 'includes/api/ApiQueryAllLinks.php',
|
|
|
|
|
'ApiQueryAllUsers' => 'includes/api/ApiQueryAllUsers.php',
|
|
|
|
|
'ApiQueryAllmessages' => 'includes/api/ApiQueryAllmessages.php',
|
|
|
|
|
'ApiQueryAllpages' => 'includes/api/ApiQueryAllpages.php',
|
|
|
|
|
'ApiQueryBacklinks' => 'includes/api/ApiQueryBacklinks.php',
|
|
|
|
|
'ApiQueryBase' => 'includes/api/ApiQueryBase.php',
|
|
|
|
|
'ApiQueryBlocks' => 'includes/api/ApiQueryBlocks.php',
|
|
|
|
|
'ApiQueryCategories' => 'includes/api/ApiQueryCategories.php',
|
|
|
|
|
'ApiQueryCategoryInfo' => 'includes/api/ApiQueryCategoryInfo.php',
|
|
|
|
|
'ApiQueryCategoryMembers' => 'includes/api/ApiQueryCategoryMembers.php',
|
|
|
|
|
'ApiQueryContributions' => 'includes/api/ApiQueryUserContributions.php',
|
|
|
|
|
'ApiQueryDeletedrevs' => 'includes/api/ApiQueryDeletedrevs.php',
|
2008-09-25 20:50:50 +00:00
|
|
|
'ApiQueryDisabled' => 'includes/api/ApiQueryDisabled.php',
|
2008-09-27 11:42:28 +00:00
|
|
|
'ApiQueryDuplicateFiles' => 'includes/api/ApiQueryDuplicateFiles.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiQueryExtLinksUsage' => 'includes/api/ApiQueryExtLinksUsage.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',
|
|
|
|
|
'ApiQueryLangLinks' => 'includes/api/ApiQueryLangLinks.php',
|
|
|
|
|
'ApiQueryLinks' => 'includes/api/ApiQueryLinks.php',
|
|
|
|
|
'ApiQueryLogEvents' => 'includes/api/ApiQueryLogEvents.php',
|
2009-02-13 21:34:46 +00:00
|
|
|
'ApiQueryProtectedTitles' => 'includes/api/ApiQueryProtectedTitles.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiQueryRandom' => 'includes/api/ApiQueryRandom.php',
|
|
|
|
|
'ApiQueryRecentChanges'=> 'includes/api/ApiQueryRecentChanges.php',
|
|
|
|
|
'ApiQueryRevisions' => 'includes/api/ApiQueryRevisions.php',
|
|
|
|
|
'ApiQuerySearch' => 'includes/api/ApiQuerySearch.php',
|
|
|
|
|
'ApiQuerySiteinfo' => 'includes/api/ApiQuerySiteinfo.php',
|
|
|
|
|
'ApiQueryUserInfo' => 'includes/api/ApiQueryUserInfo.php',
|
|
|
|
|
'ApiQueryUsers' => 'includes/api/ApiQueryUsers.php',
|
|
|
|
|
'ApiQueryWatchlist' => 'includes/api/ApiQueryWatchlist.php',
|
2008-10-04 13:33:44 +00:00
|
|
|
'ApiQueryWatchlistRaw' => 'includes/api/ApiQueryWatchlistRaw.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ApiResult' => 'includes/api/ApiResult.php',
|
|
|
|
|
'ApiRollback' => 'includes/api/ApiRollback.php',
|
|
|
|
|
'ApiUnblock' => 'includes/api/ApiUnblock.php',
|
|
|
|
|
'ApiUndelete' => 'includes/api/ApiUndelete.php',
|
2009-03-28 19:08:47 +00:00
|
|
|
'ApiUserrights' => 'includes/api/ApiUserrights.php',
|
2008-08-21 15:44:13 +00:00
|
|
|
'ApiWatch' => 'includes/api/ApiWatch.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'Services_JSON' => 'includes/api/ApiFormatJson_json.php',
|
|
|
|
|
'Services_JSON_Error' => 'includes/api/ApiFormatJson_json.php',
|
|
|
|
|
'Spyc' => 'includes/api/ApiFormatYaml_spyc.php',
|
|
|
|
|
'UsageException' => 'includes/api/ApiMain.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/db
|
|
|
|
|
'Blob' => 'includes/db/Database.php',
|
|
|
|
|
'ChronologyProtector' => 'includes/db/LBFactory.php',
|
2009-06-15 18:39:41 +00:00
|
|
|
'Database' => 'includes/db/DatabaseMysql.php',
|
2009-06-12 17:59:04 +00:00
|
|
|
'DatabaseBase' => 'includes/db/Database.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'DatabaseMssql' => 'includes/db/DatabaseMssql.php',
|
2009-06-15 18:39:41 +00:00
|
|
|
'DatabaseMysql' => 'includes/db/DatabaseMysql.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'DatabaseOracle' => 'includes/db/DatabaseOracle.php',
|
|
|
|
|
'DatabasePostgres' => 'includes/db/DatabasePostgres.php',
|
|
|
|
|
'DatabaseSqlite' => 'includes/db/DatabaseSqlite.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',
|
|
|
|
|
'LBFactory' => 'includes/db/LBFactory.php',
|
|
|
|
|
'LBFactory_Multi' => 'includes/db/LBFactory_Multi.php',
|
|
|
|
|
'LBFactory_Simple' => 'includes/db/LBFactory.php',
|
|
|
|
|
'LoadBalancer' => 'includes/db/LoadBalancer.php',
|
|
|
|
|
'LoadMonitor' => 'includes/db/LoadMonitor.php',
|
|
|
|
|
'LoadMonitor_MySQL' => 'includes/db/LoadMonitor.php',
|
|
|
|
|
'MSSQLField' => 'includes/db/DatabaseMssql.php',
|
|
|
|
|
'MySQLField' => 'includes/db/Database.php',
|
2009-06-15 18:39:41 +00:00
|
|
|
'MySQLMasterPos' => 'includes/db/DatabaseMysql.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ORABlob' => 'includes/db/DatabaseOracle.php',
|
|
|
|
|
'ORAResult' => 'includes/db/DatabaseOracle.php',
|
|
|
|
|
'PostgresField' => 'includes/db/DatabasePostgres.php',
|
|
|
|
|
'ResultWrapper' => 'includes/db/Database.php',
|
|
|
|
|
'SQLiteField' => 'includes/db/DatabaseSqlite.php',
|
2009-01-14 22:20:15 +00:00
|
|
|
|
|
|
|
|
'DatabaseIbm_db2' => 'includes/db/DatabaseIbm_db2.php',
|
|
|
|
|
'IBM_DB2Field' => 'includes/db/DatabaseIbm_db2.php',
|
|
|
|
|
'IBM_DB2SearchResultSet' => 'includes/SearchIBM_DB2.php',
|
|
|
|
|
'SearchIBM_DB2' => 'includes/SearchIBM_DB2.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-08-25 20:19:00 +00:00
|
|
|
# includes/diff
|
|
|
|
|
'AncestorComparator' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'AnchorToString' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'ArrayDiffFormatter' => 'includes/diff/DifferenceEngine.php',
|
|
|
|
|
'BodyNode' => 'includes/diff/Nodes.php',
|
|
|
|
|
'ChangeText' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'ChangeTextGenerator' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'DelegatingContentHandler' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'_DiffEngine' => 'includes/diff/DifferenceEngine.php',
|
|
|
|
|
'DifferenceEngine' => 'includes/diff/DifferenceEngine.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',
|
|
|
|
|
'DomTreeBuilder' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'DummyNode' => 'includes/diff/Nodes.php',
|
|
|
|
|
'HTMLDiffer' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'HTMLOutput' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'_HWLDF_WordAccumulator' => 'includes/diff/DifferenceEngine.php',
|
|
|
|
|
'ImageNode' => 'includes/diff/Nodes.php',
|
|
|
|
|
'LastCommonParentResult' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'MappedDiff' => 'includes/diff/DifferenceEngine.php',
|
|
|
|
|
'Modification' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'NoContentTagToString' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'Node' => 'includes/diff/Nodes.php',
|
|
|
|
|
'RangeDifference' => 'includes/diff/Diff.php',
|
|
|
|
|
'TableDiffFormatter' => 'includes/diff/DifferenceEngine.php',
|
|
|
|
|
'TagNode' => 'includes/diff/Nodes.php',
|
|
|
|
|
'TagToString' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'TagToStringFactory' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'TextNode' => 'includes/diff/Nodes.php',
|
|
|
|
|
'TextNodeDiffer' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'TextOnlyComparator' => 'includes/diff/HTMLDiff.php',
|
|
|
|
|
'UnifiedDiffFormatter' => 'includes/diff/DifferenceEngine.php',
|
|
|
|
|
'WhiteSpaceNode' => 'includes/diff/Nodes.php',
|
|
|
|
|
'WikiDiff3' => 'includes/diff/Diff.php',
|
|
|
|
|
'WordLevelDiff' => 'includes/diff/DifferenceEngine.php',
|
2008-09-14 19:51:25 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/filerepo
|
|
|
|
|
'ArchivedFile' => 'includes/filerepo/ArchivedFile.php',
|
|
|
|
|
'File' => 'includes/filerepo/File.php',
|
2008-12-14 05:47:48 +00:00
|
|
|
'FileCache' => 'includes/filerepo/FileCache.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'FileRepo' => 'includes/filerepo/FileRepo.php',
|
|
|
|
|
'FileRepoStatus' => 'includes/filerepo/FileRepoStatus.php',
|
|
|
|
|
'ForeignAPIFile' => 'includes/filerepo/ForeignAPIFile.php',
|
|
|
|
|
'ForeignAPIRepo' => 'includes/filerepo/ForeignAPIRepo.php',
|
|
|
|
|
'ForeignDBFile' => 'includes/filerepo/ForeignDBFile.php',
|
|
|
|
|
'ForeignDBRepo' => 'includes/filerepo/ForeignDBRepo.php',
|
|
|
|
|
'ForeignDBViaLBRepo' => 'includes/filerepo/ForeignDBViaLBRepo.php',
|
|
|
|
|
'FSRepo' => 'includes/filerepo/FSRepo.php',
|
|
|
|
|
'Image' => 'includes/filerepo/Image.php',
|
|
|
|
|
'LocalFile' => 'includes/filerepo/LocalFile.php',
|
|
|
|
|
'LocalFileDeleteBatch' => 'includes/filerepo/LocalFile.php',
|
|
|
|
|
'LocalFileMoveBatch' => 'includes/filerepo/LocalFile.php',
|
|
|
|
|
'LocalFileRestoreBatch' => 'includes/filerepo/LocalFile.php',
|
|
|
|
|
'LocalRepo' => 'includes/filerepo/LocalRepo.php',
|
|
|
|
|
'OldLocalFile' => 'includes/filerepo/OldLocalFile.php',
|
|
|
|
|
'RepoGroup' => 'includes/filerepo/RepoGroup.php',
|
|
|
|
|
'UnregisteredLocalFile' => 'includes/filerepo/UnregisteredLocalFile.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/media
|
|
|
|
|
'BitmapHandler' => 'includes/media/Bitmap.php',
|
2008-11-06 20:59:34 +00:00
|
|
|
'BitmapHandler_ClientOnly' => 'includes/media/Bitmap_ClientOnly.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'BmpHandler' => 'includes/media/BMP.php',
|
|
|
|
|
'DjVuHandler' => 'includes/media/DjVu.php',
|
|
|
|
|
'ImageHandler' => 'includes/media/Generic.php',
|
|
|
|
|
'MediaHandler' => 'includes/media/Generic.php',
|
|
|
|
|
'SvgHandler' => 'includes/media/SVG.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/normal
|
|
|
|
|
'UtfNormal' => 'includes/normal/UtfNormal.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/parser
|
2008-08-18 14:44:51 +00:00
|
|
|
'CoreLinkFunctions' => 'includes/parser/CoreLinkFunctions.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'CoreParserFunctions' => 'includes/parser/CoreParserFunctions.php',
|
|
|
|
|
'DateFormatter' => 'includes/parser/DateFormatter.php',
|
2008-08-16 10:13:35 +00:00
|
|
|
'LinkHolderArray' => 'includes/parser/LinkHolderArray.php',
|
2009-06-12 19:24:03 +00:00
|
|
|
'LinkMarkerReplacer' => 'includes/parser/Parser_LinkHooks.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'OnlyIncludeReplacer' => 'includes/parser/Parser.php',
|
|
|
|
|
'PPDAccum_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPDPart' => 'includes/parser/Preprocessor_DOM.php',
|
|
|
|
|
'PPDPart_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPDStack' => 'includes/parser/Preprocessor_DOM.php',
|
|
|
|
|
'PPDStackElement' => 'includes/parser/Preprocessor_DOM.php',
|
|
|
|
|
'PPDStackElement_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPDStack_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPFrame' => 'includes/parser/Preprocessor.php',
|
|
|
|
|
'PPFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
|
|
|
|
|
'PPFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPNode' => 'includes/parser/Preprocessor.php',
|
|
|
|
|
'PPNode_DOM' => 'includes/parser/Preprocessor_DOM.php',
|
|
|
|
|
'PPNode_Hash_Array' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPNode_Hash_Attr' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPNode_Hash_Text' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPNode_Hash_Tree' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPTemplateFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
|
|
|
|
|
'PPTemplateFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'Parser' => 'includes/parser/Parser.php',
|
|
|
|
|
'ParserCache' => 'includes/parser/ParserCache.php',
|
|
|
|
|
'ParserOptions' => 'includes/parser/ParserOptions.php',
|
|
|
|
|
'ParserOutput' => 'includes/parser/ParserOutput.php',
|
|
|
|
|
'Parser_DiffTest' => 'includes/parser/Parser_DiffTest.php',
|
2008-08-18 03:56:38 +00:00
|
|
|
'Parser_LinkHooks' => 'includes/parser/Parser_LinkHooks.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'Preprocessor' => 'includes/parser/Preprocessor.php',
|
|
|
|
|
'Preprocessor_DOM' => 'includes/parser/Preprocessor_DOM.php',
|
|
|
|
|
'Preprocessor_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'StripState' => 'includes/parser/Parser.php',
|
2009-01-27 15:16:43 +00:00
|
|
|
'MWTidy' => 'includes/parser/Tidy.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/specials
|
|
|
|
|
'AncientPagesPage' => 'includes/specials/SpecialAncientpages.php',
|
|
|
|
|
'BrokenRedirectsPage' => 'includes/specials/SpecialBrokenRedirects.php',
|
|
|
|
|
'ContribsPager' => 'includes/specials/SpecialContributions.php',
|
|
|
|
|
'DBLockForm' => 'includes/specials/SpecialLockdb.php',
|
|
|
|
|
'DBUnlockForm' => 'includes/specials/SpecialUnlockdb.php',
|
|
|
|
|
'DeadendPagesPage' => 'includes/specials/SpecialDeadendpages.php',
|
2008-09-23 08:41:55 +00:00
|
|
|
'DeletedContributionsPage' => 'includes/specials/SpecialDeletedContributions.php',
|
|
|
|
|
'DeletedContribsPager' => 'includes/specials/SpecialDeletedContributions.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'DisambiguationsPage' => 'includes/specials/SpecialDisambiguations.php',
|
|
|
|
|
'DoubleRedirectsPage' => 'includes/specials/SpecialDoubleRedirects.php',
|
|
|
|
|
'EmailConfirmation' => 'includes/specials/SpecialConfirmemail.php',
|
|
|
|
|
'EmailInvalidation' => 'includes/specials/SpecialConfirmemail.php',
|
|
|
|
|
'EmailUserForm' => 'includes/specials/SpecialEmailuser.php',
|
|
|
|
|
'FewestrevisionsPage' => 'includes/specials/SpecialFewestrevisions.php',
|
|
|
|
|
'FileDuplicateSearchPage' => 'includes/specials/SpecialFileDuplicateSearch.php',
|
|
|
|
|
'IPBlockForm' => 'includes/specials/SpecialBlockip.php',
|
|
|
|
|
'IPBlocklistPager' => 'includes/specials/SpecialIpblocklist.php',
|
|
|
|
|
'IPUnblockForm' => 'includes/specials/SpecialIpblocklist.php',
|
2008-09-18 20:52:34 +00:00
|
|
|
'ImportReporter' => 'includes/specials/SpecialImport.php',
|
2008-09-18 16:41:43 +00:00
|
|
|
'ImportStreamSource' => 'includes/Import.php',
|
|
|
|
|
'ImportStringSource' => 'includes/Import.php',
|
2008-09-14 19:51:25 +00:00
|
|
|
'LinkSearchPage' => 'includes/specials/SpecialLinkSearch.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ListredirectsPage' => 'includes/specials/SpecialListredirects.php',
|
|
|
|
|
'LoginForm' => 'includes/specials/SpecialUserlogin.php',
|
|
|
|
|
'LonelyPagesPage' => 'includes/specials/SpecialLonelypages.php',
|
|
|
|
|
'LongPagesPage' => 'includes/specials/SpecialLongpages.php',
|
|
|
|
|
'MIMEsearchPage' => 'includes/specials/SpecialMIMEsearch.php',
|
|
|
|
|
'MostcategoriesPage' => 'includes/specials/SpecialMostcategories.php',
|
|
|
|
|
'MostimagesPage' => 'includes/specials/SpecialMostimages.php',
|
|
|
|
|
'MostlinkedCategoriesPage' => 'includes/specials/SpecialMostlinkedcategories.php',
|
|
|
|
|
'MostlinkedPage' => 'includes/specials/SpecialMostlinked.php',
|
|
|
|
|
'MostrevisionsPage' => 'includes/specials/SpecialMostrevisions.php',
|
|
|
|
|
'MovePageForm' => 'includes/specials/SpecialMovepage.php',
|
|
|
|
|
'SpecialNewpages' => 'includes/specials/SpecialNewpages.php',
|
2008-10-17 01:35:54 +00:00
|
|
|
'SpecialContributions' => 'includes/specials/SpecialContributions.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'NewPagesPager' => 'includes/specials/SpecialNewpages.php',
|
|
|
|
|
'PageArchive' => 'includes/specials/SpecialUndelete.php',
|
2008-11-29 19:42:08 +00:00
|
|
|
'SpecialResetpass' => 'includes/specials/SpecialResetpass.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'PopularPagesPage' => 'includes/specials/SpecialPopularpages.php',
|
2009-04-24 01:31:17 +00:00
|
|
|
'PreferencesForm' => 'includes/Preferences.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'RandomPage' => 'includes/specials/SpecialRandompage.php',
|
2009-03-09 18:09:55 +00:00
|
|
|
'SpecialRevisionDelete' => 'includes/specials/SpecialRevisiondelete.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'RevisionDeleter' => 'includes/specials/SpecialRevisiondelete.php',
|
|
|
|
|
'ShortPagesPage' => 'includes/specials/SpecialShortpages.php',
|
|
|
|
|
'SpecialAllpages' => 'includes/specials/SpecialAllpages.php',
|
2009-06-19 23:46:33 +00:00
|
|
|
'SpecialBlankpage' => 'includes/specials/SpecialBlankpage.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'SpecialBookSources' => 'includes/specials/SpecialBooksources.php',
|
2009-02-06 23:36:12 +00:00
|
|
|
'SpecialExport' => 'includes/specials/SpecialExport.php',
|
2008-11-26 02:10:56 +00:00
|
|
|
'SpecialImport' => 'includes/specials/SpecialImport.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'SpecialListGroupRights' => 'includes/specials/SpecialListgrouprights.php',
|
|
|
|
|
'SpecialMostlinkedtemplates' => 'includes/specials/SpecialMostlinkedtemplates.php',
|
2009-04-24 01:31:17 +00:00
|
|
|
'SpecialPreferences' => 'includes/specials/SpecialPreferences.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'SpecialPrefixindex' => 'includes/specials/SpecialPrefixindex.php',
|
|
|
|
|
'SpecialRandomredirect' => 'includes/specials/SpecialRandomredirect.php',
|
|
|
|
|
'SpecialRecentchanges' => 'includes/specials/SpecialRecentchanges.php',
|
|
|
|
|
'SpecialRecentchangeslinked' => 'includes/specials/SpecialRecentchangeslinked.php',
|
|
|
|
|
'SpecialSearch' => 'includes/specials/SpecialSearch.php',
|
2008-11-17 04:56:14 +00:00
|
|
|
'SpecialSearchOld' => 'includes/specials/SpecialSearch.php',
|
2008-12-13 01:45:49 +00:00
|
|
|
'SpecialStatistics' => 'includes/specials/SpecialStatistics.php',
|
2009-01-28 19:08:18 +00:00
|
|
|
'SpecialTags' => 'includes/specials/SpecialTags.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'SpecialVersion' => 'includes/specials/SpecialVersion.php',
|
2009-04-15 04:39:49 +00:00
|
|
|
'SpecialWhatlinkshere' => 'includes/specials/SpecialWhatlinkshere.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'UncategorizedCategoriesPage' => 'includes/specials/SpecialUncategorizedcategories.php',
|
|
|
|
|
'UncategorizedPagesPage' => 'includes/specials/SpecialUncategorizedpages.php',
|
|
|
|
|
'UncategorizedTemplatesPage' => 'includes/specials/SpecialUncategorizedtemplates.php',
|
|
|
|
|
'UndeleteForm' => 'includes/specials/SpecialUndelete.php',
|
|
|
|
|
'UnusedCategoriesPage' => 'includes/specials/SpecialUnusedcategories.php',
|
|
|
|
|
'UnusedimagesPage' => 'includes/specials/SpecialUnusedimages.php',
|
|
|
|
|
'UnusedtemplatesPage' => 'includes/specials/SpecialUnusedtemplates.php',
|
|
|
|
|
'UnwatchedpagesPage' => 'includes/specials/SpecialUnwatchedpages.php',
|
|
|
|
|
'UploadForm' => 'includes/specials/SpecialUpload.php',
|
|
|
|
|
'UploadFormMogile' => 'includes/specials/SpecialUploadMogile.php',
|
|
|
|
|
'UserrightsPage' => 'includes/specials/SpecialUserrights.php',
|
|
|
|
|
'UsersPager' => 'includes/specials/SpecialListusers.php',
|
|
|
|
|
'WantedCategoriesPage' => 'includes/specials/SpecialWantedcategories.php',
|
2008-09-11 22:30:27 +00:00
|
|
|
'WantedFilesPage' => 'includes/specials/SpecialWantedfiles.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'WantedPagesPage' => 'includes/specials/SpecialWantedpages.php',
|
2008-10-18 17:32:40 +00:00
|
|
|
'WantedTemplatesPage' => 'includes/specials/SpecialWantedtemplates.php',
|
2008-09-18 16:41:43 +00:00
|
|
|
'WikiImporter' => 'includes/Import.php',
|
|
|
|
|
'WikiRevision' => 'includes/Import.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'WithoutInterwikiPage' => 'includes/specials/SpecialWithoutinterwiki.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/templates
|
|
|
|
|
'UsercreateTemplate' => 'includes/templates/Userlogin.php',
|
|
|
|
|
'UserloginTemplate' => 'includes/templates/Userlogin.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# languages
|
|
|
|
|
'Language' => 'languages/Language.php',
|
|
|
|
|
'FakeConverter' => 'languages/Language.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# maintenance/language
|
|
|
|
|
'statsOutput' => 'maintenance/language/StatOutputs.php',
|
|
|
|
|
'wikiStatsOutput' => 'maintenance/language/StatOutputs.php',
|
|
|
|
|
'metawikiStatsOutput' => 'maintenance/language/StatOutputs.php',
|
|
|
|
|
'textStatsOutput' => 'maintenance/language/StatOutputs.php',
|
|
|
|
|
'csvStatsOutput' => 'maintenance/language/StatOutputs.php',
|
2008-06-24 12:38:17 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
);
|
2008-04-14 07:45:50 +00:00
|
|
|
|
2008-07-24 12:51:26 +00:00
|
|
|
class AutoLoader {
|
2008-07-02 19:41:58 +00:00
|
|
|
/**
|
|
|
|
|
* autoload - take a class name and attempt to load it
|
2008-09-14 19:51:25 +00:00
|
|
|
*
|
2008-07-02 19:41:58 +00:00
|
|
|
* @param string $className Name of class we're looking for.
|
|
|
|
|
* @return bool Returning false is important on failure as
|
|
|
|
|
* it allows Zend to try and look in other registered autoloaders
|
2008-09-14 19:51:25 +00:00
|
|
|
* as well.
|
2008-07-02 19:41:58 +00:00
|
|
|
*/
|
2008-06-16 20:21:26 +00:00
|
|
|
static function autoload( $className ) {
|
2008-07-24 12:45:23 +00:00
|
|
|
global $wgAutoloadClasses, $wgAutoloadLocalClasses;
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
if ( isset( $wgAutoloadLocalClasses[$className] ) ) {
|
|
|
|
|
$filename = $wgAutoloadLocalClasses[$className];
|
2008-06-16 20:21:26 +00:00
|
|
|
} elseif ( isset( $wgAutoloadClasses[$className] ) ) {
|
|
|
|
|
$filename = $wgAutoloadClasses[$className];
|
|
|
|
|
} else {
|
|
|
|
|
# Try a different capitalisation
|
|
|
|
|
# The case can sometimes be wrong when unserializing PHP 4 objects
|
|
|
|
|
$filename = false;
|
|
|
|
|
$lowerClass = strtolower( $className );
|
2008-07-24 12:45:23 +00:00
|
|
|
foreach ( $wgAutoloadLocalClasses as $class2 => $file2 ) {
|
2008-06-16 20:21:26 +00:00
|
|
|
if ( strtolower( $class2 ) == $lowerClass ) {
|
|
|
|
|
$filename = $file2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if ( !$filename ) {
|
2008-12-08 15:35:06 +00:00
|
|
|
if( function_exists( 'wfDebug' ) )
|
2009-01-13 20:28:54 +00:00
|
|
|
wfDebug( "Class {$className} not found; skipped loading\n" );
|
2008-06-16 20:21:26 +00:00
|
|
|
# Give up
|
2008-07-02 19:41:58 +00:00
|
|
|
return false;
|
2006-07-02 15:57:59 +00:00
|
|
|
}
|
|
|
|
|
}
|
2008-06-16 20:21:26 +00:00
|
|
|
|
|
|
|
|
# Make an absolute path, this improves performance by avoiding some stat calls
|
|
|
|
|
if ( substr( $filename, 0, 1 ) != '/' && substr( $filename, 1, 1 ) != ':' ) {
|
|
|
|
|
global $IP;
|
|
|
|
|
$filename = "$IP/$filename";
|
2006-07-02 15:57:59 +00:00
|
|
|
}
|
2008-06-16 20:21:26 +00:00
|
|
|
require( $filename );
|
2008-07-02 19:41:58 +00:00
|
|
|
return true;
|
2006-06-06 09:50:01 +00:00
|
|
|
}
|
2006-07-01 07:22:59 +00:00
|
|
|
|
2008-06-16 20:21:26 +00:00
|
|
|
static function loadAllExtensions() {
|
|
|
|
|
global $wgAutoloadClasses;
|
|
|
|
|
|
|
|
|
|
foreach( $wgAutoloadClasses as $class => $file ) {
|
2009-01-27 20:29:20 +00:00
|
|
|
if( !( class_exists( $class, false ) || interface_exists( $class, false ) ) ) {
|
2008-06-16 20:21:26 +00:00
|
|
|
require( $file );
|
|
|
|
|
}
|
|
|
|
|
}
|
2006-07-01 07:22:59 +00:00
|
|
|
}
|
2006-06-06 09:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
2006-06-25 08:38:17 +00:00
|
|
|
function wfLoadAllExtensions() {
|
2008-06-16 20:21:26 +00:00
|
|
|
AutoLoader::loadAllExtensions();
|
|
|
|
|
}
|
2008-04-14 07:45:50 +00:00
|
|
|
|
2008-06-16 20:21:26 +00:00
|
|
|
if ( function_exists( 'spl_autoload_register' ) ) {
|
|
|
|
|
spl_autoload_register( array( 'AutoLoader', 'autoload' ) );
|
|
|
|
|
} else {
|
|
|
|
|
function __autoload( $class ) {
|
|
|
|
|
AutoLoader::autoload( $class );
|
2006-06-25 08:38:17 +00:00
|
|
|
}
|
2007-10-03 08:46:17 +00:00
|
|
|
}
|