/* This defines autoloading handler for whole MediaWiki framework */
-ini_set('unserialize_callback_func', '__autoload' );
-
# 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
'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',
'HistoryBlobCurStub' => 'includes/HistoryBlob.php',
'HistoryBlob' => 'includes/HistoryBlob.php',
'HistoryBlobStub' => 'includes/HistoryBlob.php',
+ 'HistoryPage' => 'includes/HistoryPage.php',
+ 'HistoryPager' => 'includes/HistoryPage.php',
+ 'Html' => 'includes/Html.php',
'HTMLCacheUpdate' => 'includes/HTMLCacheUpdate.php',
'HTMLCacheUpdateJob' => 'includes/HTMLCacheUpdate.php',
'HTMLFileCache' => 'includes/HTMLFileCache.php',
'Namespace' => 'includes/NamespaceCompat.php', // Compat
'OldChangesList' => 'includes/ChangesList.php',
'OutputPage' => 'includes/OutputPage.php',
- 'PageHistory' => 'includes/PageHistory.php',
- 'PageHistoryPager' => 'includes/PageHistory.php',
'PageQueryPage' => 'includes/PageQueryPage.php',
+ 'PageHistory' => 'includes/HistoryPage.php',
+ 'PageHistoryPager' => 'includes/HistoryPage.php',
'Pager' => 'includes/Pager.php',
'PasswordError' => 'includes/User.php',
'PatrolLog' => 'includes/PatrolLog.php',
'ApiUserrights' => 'includes/api/ApiUserrights.php',
'ApiUpload' => 'includes/api/ApiUpload.php',
'ApiWatch' => 'includes/api/ApiWatch.php',
- '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',
+ # includes/json
+ 'Services_JSON' => 'includes/json/Services_JSON.php',
+ 'Services_JSON_Error' => 'includes/json/Services_JSON.php',
+ 'FormatJson' => 'includes/json/FormatJson.php',
+
# includes/db
'Blob' => 'includes/db/Database.php',
'ChronologyProtector' => 'includes/db/LBFactory.php',
'LBFactory' => 'includes/db/LBFactory.php',
'LBFactory_Multi' => 'includes/db/LBFactory_Multi.php',
'LBFactory_Simple' => 'includes/db/LBFactory.php',
+ 'LikeMatch' => 'includes/db/Database.php',
'LoadBalancer' => 'includes/db/LoadBalancer.php',
'LoadMonitor' => 'includes/db/LoadMonitor.php',
'LoadMonitor_MySQL' => 'includes/db/LoadMonitor.php',
'ChangeTextGenerator' => 'includes/diff/HTMLDiff.php',
'DelegatingContentHandler' => 'includes/diff/HTMLDiff.php',
'_DiffEngine' => 'includes/diff/DifferenceEngine.php',
- 'DifferenceEngine' => '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',
# includes/filerepo
'ArchivedFile' => 'includes/filerepo/ArchivedFile.php',
'File' => 'includes/filerepo/File.php',
- 'FileCache' => 'includes/filerepo/FileCache.php',
'FileRepo' => 'includes/filerepo/FileRepo.php',
'FileRepoStatus' => 'includes/filerepo/FileRepoStatus.php',
'ForeignAPIFile' => 'includes/filerepo/ForeignAPIFile.php',
'SpecialSearch' => 'includes/specials/SpecialSearch.php',
'SpecialStatistics' => 'includes/specials/SpecialStatistics.php',
'SpecialTags' => 'includes/specials/SpecialTags.php',
+ 'SpecialUpload' => 'includes/specials/SpecialUpload.php',
'SpecialVersion' => 'includes/specials/SpecialVersion.php',
'SpecialWhatlinkshere' => 'includes/specials/SpecialWhatlinkshere.php',
'UncategorizedCategoriesPage' => 'includes/specials/SpecialUncategorizedcategories.php',
'metawikiStatsOutput' => 'maintenance/language/StatOutputs.php',
'textStatsOutput' => 'maintenance/language/StatOutputs.php',
'csvStatsOutput' => 'maintenance/language/StatOutputs.php',
+ 'SevenZipStream' => 'maintenance/7zip.inc',
);
'edit' => 'skins/common/edit.js',
'enhancedchanges.js' => 'skins/common/enhancedchanges.js',
'history' => 'skins/common/history.js',
+ 'htmlform' => 'skins/common/htmlform.js',
'IEFixes' => 'skins/common/IEFixes.js',
'metadata' => 'skins/common/metadata.js',
'mwsuggest' => 'skins/common/mwsuggest.js',
// phase 2 javascript:
'uploadPage' => 'js2/uploadPage.js',
'editPage' => 'js2/editPage.js',
+ 'ajaxCategories' => 'js2/ajaxcategories.js',
+ 'apiProxyPage' => 'js2/apiProxyPage.js'
);
-//Include the js2 autoLoadClasses
-//@@todo move jsAutoloadLocalClasses.php to post Setup so we have default values and can check the $wgEnableJS2system var
-$wgMwEmbedDirectory = "js2/mwEmbed/";
-require_once("$IP/js2/mwEmbed/php/jsAutoloadLocalClasses.php");
-
class AutoLoader {
/**
* autoload - take a class name and attempt to load it
function __autoload( $class ) {
AutoLoader::autoload( $class );
}
+
+ ini_set( 'unserialize_callback_func', '__autoload' );
}