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' );
|
|
|
|
|
|
2006-06-25 08:38:17 +00:00
|
|
|
function __autoload($className) {
|
|
|
|
|
global $wgAutoloadClasses;
|
|
|
|
|
|
2007-11-20 10:55:08 +00:00
|
|
|
# Locations of core classes
|
|
|
|
|
# Extension classes are specified with $wgAutoloadClasses
|
2006-06-25 08:38:17 +00:00
|
|
|
static $localClasses = array(
|
2007-04-20 12:31:36 +00:00
|
|
|
# Includes
|
2006-07-01 07:22:59 +00:00
|
|
|
'AjaxCachePolicy' => 'includes/AjaxFunctions.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'AjaxDispatcher' => 'includes/AjaxDispatcher.php',
|
2006-10-05 21:15:03 +00:00
|
|
|
'AjaxResponse' => 'includes/AjaxResponse.php',
|
2007-02-04 15:35:52 +00:00
|
|
|
'AlphabeticPager' => 'includes/Pager.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'AncientPagesPage' => 'includes/SpecialAncientpages.php',
|
|
|
|
|
'APCBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'ArrayDiffFormatter' => 'includes/DifferenceEngine.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Article' => 'includes/Article.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'AtomFeed' => 'includes/Feed.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'AuthPlugin' => 'includes/AuthPlugin.php',
|
2007-12-23 11:38:24 +00:00
|
|
|
'Autopromote' => 'includes/Autopromote.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'BagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'Block' => 'includes/Block.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'BrokenRedirectsPage' => 'includes/SpecialBrokenRedirects.php',
|
This is a schema change. It's only a table creation, but the table must be created on Wikimedia servers before this revision goes live. The maintenance script populateCategory.php should be run when convenient. If it's not run, there's only one substantial case where display will be harmed: the page of a category with more than 200 net pages added since the patch goes live will give an erroneously low count. In other cases category pages will just be better-worded, and it will recognize the count in the table is bogus.
* Adds Category and CategoryList classes to represent categories themselves.
* Adds a category table, giving each category a name, ID, and counts of all members, subcats only, and files.
* Adds a maintenance script to populate the category table efficiently. This script is careful to wait for slaves and should be safe to run on a live database. The maintenance script's includes file is called by update.php.
* Until the category table is populated, the patch handles weird category table rows gracefully. It detects whether they're obviously impossible, and if so, it outputs appropriate messages.
2008-03-18 00:17:28 +00:00
|
|
|
'Category' => 'includes/Category.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'Categoryfinder' => 'includes/Categoryfinder.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'CategoryPage' => 'includes/CategoryPage.php',
|
2006-08-25 07:33:55 +00:00
|
|
|
'CategoryViewer' => 'includes/CategoryPage.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'ChangesList' => 'includes/ChangesList.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ChannelFeed' => 'includes/Feed.php',
|
2008-03-30 09:48:15 +00:00
|
|
|
'ChronologyProtector' => 'includes/LBFactory.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ConcatenatedGzipHistoryBlob' => 'includes/HistoryBlob.php',
|
|
|
|
|
'ContributionsPage' => 'includes/SpecialContributions.php',
|
2006-07-03 11:07:00 +00:00
|
|
|
'CoreParserFunctions' => 'includes/CoreParserFunctions.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Database' => 'includes/Database.php',
|
|
|
|
|
'DatabaseMysql' => 'includes/Database.php',
|
2007-03-11 03:59:37 +00:00
|
|
|
'DatabaseOracle' => 'includes/DatabaseOracle.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'DatabasePostgres' => 'includes/DatabasePostgres.php',
|
2008-05-07 23:43:17 +00:00
|
|
|
'DatabaseSqlite' => 'includes/DatabaseSqlite.php',
|
2008-05-09 12:08:28 +00:00
|
|
|
'DatabaseMssql' => 'includes/DatabaseMssql.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'DateFormatter' => 'includes/DateFormatter.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'DBABagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'DBLockForm' => 'includes/SpecialLockdb.php',
|
|
|
|
|
'DBObject' => 'includes/Database.php',
|
|
|
|
|
'DBUnlockForm' => 'includes/SpecialUnlockdb.php',
|
|
|
|
|
'DeadendPagesPage' => 'includes/SpecialDeadendpages.php',
|
|
|
|
|
'DependencyWrapper' => 'includes/CacheDependency.php',
|
|
|
|
|
'_DiffEngine' => 'includes/DifferenceEngine.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'DifferenceEngine' => 'includes/DifferenceEngine.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'DiffFormatter' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'Diff' => 'includes/DifferenceEngine.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'_DiffOp_Add' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'_DiffOp_Change' => 'includes/DifferenceEngine.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'_DiffOp_Copy' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'_DiffOp_Delete' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'_DiffOp' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'DisambiguationsPage' => 'includes/SpecialDisambiguations.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'DjVuImage' => 'includes/DjVuImage.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'DoubleRedirectsPage' => 'includes/SpecialDoubleRedirects.php',
|
|
|
|
|
'DoubleReplacer' => 'includes/StringUtils.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Dump7ZipOutput' => 'includes/Export.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'DumpBZip2Output' => 'includes/Export.php',
|
|
|
|
|
'DumpFileOutput' => 'includes/Export.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'DumpFilter' => 'includes/Export.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'DumpGZipOutput' => 'includes/Export.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'DumpLatestFilter' => 'includes/Export.php',
|
|
|
|
|
'DumpMultiWriter' => 'includes/Export.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'DumpNamespaceFilter' => 'includes/Export.php',
|
|
|
|
|
'DumpNotalkFilter' => 'includes/Export.php',
|
|
|
|
|
'DumpOutput' => 'includes/Export.php',
|
|
|
|
|
'DumpPipeOutput' => 'includes/Export.php',
|
|
|
|
|
'eAccelBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'EditPage' => 'includes/EditPage.php',
|
|
|
|
|
'EmailConfirmation' => 'includes/SpecialConfirmemail.php',
|
2008-03-25 22:03:00 +00:00
|
|
|
'EmailInvalidation' => 'includes/SpecialConfirmemail.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'EmaillingJob' => 'includes/EmaillingJob.php',
|
|
|
|
|
'EmaillingJob' => 'includes/JobQueue.php',
|
|
|
|
|
'EmailNotification' => 'includes/UserMailer.php',
|
|
|
|
|
'EmailUserForm' => 'includes/SpecialEmailuser.php',
|
|
|
|
|
'EnhancedChangesList' => 'includes/ChangesList.php',
|
|
|
|
|
'EnotifNotifyJob' => 'includes/EnotifNotifyJob.php',
|
|
|
|
|
'Exif' => 'includes/Exif.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'ExternalEdit' => 'includes/ExternalEdit.php',
|
|
|
|
|
'ExternalStoreDB' => 'includes/ExternalStoreDB.php',
|
|
|
|
|
'ExternalStoreHttp' => 'includes/ExternalStoreHttp.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ExternalStore' => 'includes/ExternalStore.php',
|
|
|
|
|
'FakeMemCachedClient' => 'includes/ObjectCache.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'FakeTitle' => 'includes/FakeTitle.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'FauxRequest' => 'includes/WebRequest.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'FeedItem' => 'includes/Feed.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'FewestrevisionsPage' => 'includes/SpecialFewestrevisions.php',
|
|
|
|
|
'FileDeleteForm' => 'includes/FileDeleteForm.php',
|
|
|
|
|
'FileDependency' => 'includes/CacheDependency.php',
|
2008-03-19 16:58:56 +00:00
|
|
|
'FileDuplicateSearch' => 'includes/SpecialFileDuplicateSearch.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'FileRevertForm' => 'includes/FileRevertForm.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'FileStore' => 'includes/FileStore.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'FormatExif' => 'includes/Exif.php',
|
2008-04-19 17:38:06 +00:00
|
|
|
'FormOptions' => 'includes/FormOptions.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'FSException' => 'includes/FileStore.php',
|
|
|
|
|
'FSTransaction' => 'includes/FileStore.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'HashBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'HashtableReplacer' => 'includes/StringUtils.php',
|
|
|
|
|
'HistoryBlobCurStub' => 'includes/HistoryBlob.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'HistoryBlob' => 'includes/HistoryBlob.php',
|
|
|
|
|
'HistoryBlobStub' => 'includes/HistoryBlob.php',
|
|
|
|
|
'HTMLCacheUpdate' => 'includes/HTMLCacheUpdate.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'HTMLCacheUpdateJob' => 'includes/HTMLCacheUpdate.php',
|
|
|
|
|
'HTMLFileCache' => 'includes/HTMLFileCache.php',
|
2006-07-02 15:57:59 +00:00
|
|
|
'Http' => 'includes/HttpFunctions.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'_HWLDF_WordAccumulator' => 'includes/DifferenceEngine.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'ImageGallery' => 'includes/ImageGallery.php',
|
|
|
|
|
'ImageHistoryList' => 'includes/ImagePage.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ImagePage' => 'includes/ImagePage.php',
|
|
|
|
|
'ImageQueryPage' => 'includes/ImageQueryPage.php',
|
|
|
|
|
'ImportStreamSource' => 'includes/SpecialImport.php',
|
|
|
|
|
'ImportStringSource' => 'includes/SpecialImport.php',
|
|
|
|
|
'IncludableSpecialPage' => 'includes/SpecialPage.php',
|
|
|
|
|
'IndexPager' => 'includes/Pager.php',
|
|
|
|
|
'IPBlockForm' => 'includes/SpecialBlockip.php',
|
|
|
|
|
'IP' => 'includes/IP.php',
|
|
|
|
|
'IPUnblockForm' => 'includes/SpecialIpblocklist.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Job' => 'includes/JobQueue.php',
|
2008-03-30 09:48:15 +00:00
|
|
|
'LBFactory' => 'includes/LBFactory.php',
|
|
|
|
|
'LBFactory_Multi' => 'includes/LBFactory_Multi.php',
|
|
|
|
|
'LBFactory_Simple' => 'includes/LBFactory.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'License' => 'includes/Licenses.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'Licenses' => 'includes/Licenses.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'LinkBatch' => 'includes/LinkBatch.php',
|
|
|
|
|
'LinkCache' => 'includes/LinkCache.php',
|
|
|
|
|
'Linker' => 'includes/Linker.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'LinkFilter' => 'includes/LinkFilter.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'LinksUpdate' => 'includes/LinksUpdate.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ListredirectsPage' => 'includes/SpecialListredirects.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'LoadBalancer' => 'includes/LoadBalancer.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'LoginForm' => 'includes/SpecialUserlogin.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'LogPage' => 'includes/LogPage.php',
|
2008-04-02 17:43:57 +00:00
|
|
|
'LogEventsList' => 'includes/LogEventsList.php',
|
|
|
|
|
'LogReader' => 'includes/LogEventsList.php',
|
|
|
|
|
'LogViewer' => 'includes/LogEventsList.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'LonelyPagesPage' => 'includes/SpecialLonelypages.php',
|
|
|
|
|
'LongPagesPage' => 'includes/SpecialLongpages.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'MacBinary' => 'includes/MacBinary.php',
|
Basic integrated audio/video support, with Ogg implementation.
* JavaScript video player based loosely on Greg Maxwell's player
* Image page text snippet customisation
* Abstraction of transform parameters in the parser. Introduced Linker::makeImageLink2().
* Made canRender(), mustRender() depend on file, not just on handler. Moved width=0, height=0 checking to ImageHandler::canRender(), since audio streams have width=height=0 but should be rendered.
Also:
* Automatic upgrade for oldimage rows on image page view, allows media handler selection based on oi_*_mime
* oi_*_mime unconditionally referenced, REQUIRES SCHEMA UPGRADE
* Don't destroy file info for missing files on upgrade
* Simple, centralised extension message file handling
* Made MessageCache::loadAllMessages non-static, optimised for repeated-call case due to abuse in User.php
* Support for lightweight parser output hooks, with callback whitelist for security
* Moved Linker::formatSize() to Language, to join the new formatTimePeriod() and formatBitrate()
* Introduced MagicWordArray, regex capture trick requires that magic word IDs DO NOT CONTAIN HYPHENS.
2007-08-15 10:50:09 +00:00
|
|
|
'MagicWordArray' => 'includes/MagicWord.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'MagicWord' => 'includes/MagicWord.php',
|
|
|
|
|
'MailAddress' => 'includes/UserMailer.php',
|
|
|
|
|
'MappedDiff' => 'includes/DifferenceEngine.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'MathRenderer' => 'includes/Math.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
'MediaTransformError' => 'includes/MediaTransformOutput.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'MediaTransformOutput' => 'includes/MediaTransformOutput.php',
|
|
|
|
|
'MediaWikiBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'MediaWiki_I18N' => 'includes/SkinTemplate.php',
|
|
|
|
|
'MediaWiki' => 'includes/Wiki.php',
|
|
|
|
|
'memcached' => 'includes/memcached-client.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'MessageCache' => 'includes/MessageCache.php',
|
|
|
|
|
'MimeMagic' => 'includes/MimeMagic.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'MIMEsearchPage' => 'includes/SpecialMIMEsearch.php',
|
|
|
|
|
'MostcategoriesPage' => 'includes/SpecialMostcategories.php',
|
|
|
|
|
'MostimagesPage' => 'includes/SpecialMostimages.php',
|
|
|
|
|
'MostlinkedCategoriesPage' => 'includes/SpecialMostlinkedcategories.php',
|
|
|
|
|
'MostlinkedPage' => 'includes/SpecialMostlinked.php',
|
|
|
|
|
'MostrevisionsPage' => 'includes/SpecialMostrevisions.php',
|
|
|
|
|
'MovePageForm' => 'includes/SpecialMovepage.php',
|
|
|
|
|
'MWException' => 'includes/Exception.php',
|
2008-03-21 23:13:34 +00:00
|
|
|
'MWNamespace' => 'includes/Namespace.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'MySQLSearchResultSet' => 'includes/SearchMySQL.php',
|
2008-03-30 09:48:15 +00:00
|
|
|
'MySQLMasterPos' => 'includes/Database.php',
|
2008-03-21 23:13:34 +00:00
|
|
|
'Namespace' => 'includes/NamespaceCompat.php', // Compat
|
2008-03-09 02:11:06 +00:00
|
|
|
'NewbieContributionsPage' => 'includes/SpecialNewbieContributions.php',
|
|
|
|
|
'NewPagesPage' => 'includes/SpecialNewpages.php',
|
|
|
|
|
'OldChangesList' => 'includes/ChangesList.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'OutputPage' => 'includes/OutputPage.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'PageArchive' => 'includes/SpecialUndelete.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'PageHistory' => 'includes/PageHistory.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'PageQueryPage' => 'includes/PageQueryPage.php',
|
|
|
|
|
'ParserCache' => 'includes/ParserCache.php',
|
|
|
|
|
'Parser_DiffTest' => 'includes/Parser_DiffTest.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Parser' => 'includes/Parser.php',
|
2007-11-20 10:55:08 +00:00
|
|
|
'Parser_OldPP' => 'includes/Parser_OldPP.php',
|
2007-01-20 12:50:56 +00:00
|
|
|
'ParserOptions' => 'includes/ParserOptions.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ParserOutput' => 'includes/ParserOutput.php',
|
|
|
|
|
'PasswordResetForm' => 'includes/SpecialResetpass.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
'PatrolLog' => 'includes/PatrolLog.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'PopularPagesPage' => 'includes/SpecialPopularpages.php',
|
|
|
|
|
'PPDStackElement' => 'includes/Preprocessor_DOM.php',
|
|
|
|
|
'PPDStack' => 'includes/Preprocessor_DOM.php',
|
|
|
|
|
'PPFrame_DOM' => 'includes/Preprocessor_DOM.php',
|
2008-01-21 16:36:08 +00:00
|
|
|
'PPFrame' => 'includes/Preprocessor.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'PPNode_DOM' => 'includes/Preprocessor_DOM.php',
|
2008-01-21 16:36:08 +00:00
|
|
|
'PPNode' => 'includes/Preprocessor.php',
|
|
|
|
|
'PPTemplateFrame_DOM' => 'includes/Preprocessor_DOM.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'PreferencesForm' => 'includes/SpecialPreferences.php',
|
|
|
|
|
'PrefixSearch' => 'includes/PrefixSearch.php',
|
|
|
|
|
'Preprocessor_DOM' => 'includes/Preprocessor_DOM.php',
|
2008-02-05 08:23:58 +00:00
|
|
|
'Preprocessor_Hash' => 'includes/Preprocessor_Hash.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'Preprocessor' => 'includes/Preprocessor.php',
|
|
|
|
|
'Profiler' => 'includes/Profiler.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'ProfilerSimple' => 'includes/ProfilerSimple.php',
|
2008-04-20 16:17:46 +00:00
|
|
|
'ProfilerSimpleText' => 'includes/ProfilerSimpleText.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'ProfilerSimpleUDP' => 'includes/ProfilerSimpleUDP.php',
|
|
|
|
|
'ProtectionForm' => 'includes/ProtectionForm.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ProxyTools' => 'includes/ProxyTools.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'QueryPage' => 'includes/QueryPage.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'QuickTemplate' => 'includes/SkinTemplate.php',
|
|
|
|
|
'RandomPage' => 'includes/SpecialRandompage.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'RawPage' => 'includes/RawPage.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'RCCacheEntry' => 'includes/ChangesList.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'RecentChange' => 'includes/RecentChange.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'RefreshLinksJob' => 'includes/RefreshLinksJob.php',
|
|
|
|
|
'RegexlikeReplacer' => 'includes/StringUtils.php',
|
|
|
|
|
'ReplacementArray' => 'includes/StringUtils.php',
|
|
|
|
|
'Replacer' => 'includes/StringUtils.php',
|
|
|
|
|
'ResultWrapper' => 'includes/Database.php',
|
|
|
|
|
'ReverseChronologicalPager' => 'includes/Pager.php',
|
|
|
|
|
'RevisionDeleteForm' => 'includes/SpecialRevisiondelete.php',
|
|
|
|
|
'RevisionDeleter' => 'includes/SpecialRevisiondelete.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Revision' => 'includes/Revision.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'RSSFeed' => 'includes/Feed.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Sanitizer' => 'includes/Sanitizer.php',
|
|
|
|
|
'SearchEngineDummy' => 'includes/SearchEngine.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'SearchEngine' => 'includes/SearchEngine.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'SearchMySQL4' => 'includes/SearchMySQL4.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'SearchMySQL' => 'includes/SearchMySQL.php',
|
|
|
|
|
'SearchOracle' => 'includes/SearchOracle.php',
|
2006-07-05 03:54:01 +00:00
|
|
|
'SearchPostgres' => 'includes/SearchPostgres.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'SearchResult' => 'includes/SearchEngine.php',
|
|
|
|
|
'SearchResultSet' => 'includes/SearchEngine.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'SearchUpdate' => 'includes/SearchUpdate.php',
|
|
|
|
|
'SearchUpdateMyISAM' => 'includes/SearchUpdate.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ShortPagesPage' => 'includes/SpecialShortpages.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'SiteConfiguration' => 'includes/SiteConfiguration.php',
|
2006-11-21 09:53:45 +00:00
|
|
|
'SiteStats' => 'includes/SiteStats.php',
|
|
|
|
|
'SiteStatsUpdate' => 'includes/SiteStats.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'Skin' => 'includes/Skin.php',
|
|
|
|
|
'SkinTemplate' => 'includes/SkinTemplate.php',
|
|
|
|
|
'SpecialAllpages' => 'includes/SpecialAllpages.php',
|
2006-12-16 19:20:44 +00:00
|
|
|
'SpecialBookSources' => 'includes/SpecialBooksources.php',
|
2008-04-10 10:10:07 +00:00
|
|
|
'SpecialListGroupRights' => 'includes/SpecialListgrouprights.php',
|
2007-06-04 21:39:12 +00:00
|
|
|
'SpecialMostlinkedtemplates' => 'includes/SpecialMostlinkedtemplates.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'SpecialPage' => 'includes/SpecialPage.php',
|
|
|
|
|
'SpecialPrefixindex' => 'includes/SpecialPrefixindex.php',
|
2008-01-14 12:50:20 +00:00
|
|
|
'SpecialRandomredirect' => 'includes/SpecialRandomredirect.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'SpecialSearch' => 'includes/SpecialSearch.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'SpecialVersion' => 'includes/SpecialVersion.php',
|
|
|
|
|
'SqlBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'SquidUpdate' => 'includes/SquidUpdate.php',
|
2008-04-05 18:11:23 +00:00
|
|
|
'Status' => 'includes/Status.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'StringUtils' => 'includes/StringUtils.php',
|
|
|
|
|
'TableDiffFormatter' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'TablePager' => 'includes/Pager.php',
|
|
|
|
|
'ThumbnailImage' => 'includes/MediaTransformOutput.php',
|
|
|
|
|
'TitleDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'Title' => 'includes/Title.php',
|
|
|
|
|
'TitleListDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'TransformParameterError' => 'includes/MediaTransformOutput.php',
|
|
|
|
|
'TurckBagOStuff' => 'includes/BagOStuff.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'UncategorizedCategoriesPage' => 'includes/SpecialUncategorizedcategories.php',
|
|
|
|
|
'UncategorizedPagesPage' => 'includes/SpecialUncategorizedpages.php',
|
2007-06-11 07:04:25 +00:00
|
|
|
'UncategorizedTemplatesPage' => 'includes/SpecialUncategorizedtemplates.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'UndeleteForm' => 'includes/SpecialUndelete.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'UnifiedDiffFormatter' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'UnlistedSpecialPage' => 'includes/SpecialPage.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'UnusedCategoriesPage' => 'includes/SpecialUnusedcategories.php',
|
|
|
|
|
'UnusedimagesPage' => 'includes/SpecialUnusedimages.php',
|
|
|
|
|
'UnusedtemplatesPage' => 'includes/SpecialUnusedtemplates.php',
|
|
|
|
|
'UnwatchedpagesPage' => 'includes/SpecialUnwatchedpages.php',
|
|
|
|
|
'UploadForm' => 'includes/SpecialUpload.php',
|
|
|
|
|
'UploadFormMogile' => 'includes/SpecialUploadMogile.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'User' => 'includes/User.php',
|
2008-04-15 09:04:45 +00:00
|
|
|
'UserArray' => 'includes/UserArray.php',
|
2008-04-15 16:18:08 +00:00
|
|
|
'UserArrayFromResult' => 'includes/UserArray.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'UserMailer' => 'includes/UserMailer.php',
|
2008-01-03 23:43:24 +00:00
|
|
|
'UserrightsPage' => 'includes/SpecialUserrights.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'UserRightsProxy' => 'includes/UserRightsProxy.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'WantedCategoriesPage' => 'includes/SpecialWantedcategories.php',
|
|
|
|
|
'WantedPagesPage' => 'includes/SpecialWantedpages.php',
|
|
|
|
|
'WatchedItem' => 'includes/WatchedItem.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'WatchlistEditor' => 'includes/WatchlistEditor.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'WebRequest' => 'includes/WebRequest.php',
|
2006-08-12 23:03:53 +00:00
|
|
|
'WebResponse' => 'includes/WebResponse.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'WhatLinksHerePage' => 'includes/SpecialWhatlinkshere.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'WikiError' => 'includes/WikiError.php',
|
|
|
|
|
'WikiErrorMsg' => 'includes/WikiError.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'WikiExporter' => 'includes/Export.php',
|
|
|
|
|
'WikiImporter' => 'includes/SpecialImport.php',
|
|
|
|
|
'WikiRevision' => 'includes/SpecialImport.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'WikiXmlError' => 'includes/WikiError.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'WithoutInterwikiPage' => 'includes/SpecialWithoutinterwiki.php',
|
|
|
|
|
'WordLevelDiff' => 'includes/DifferenceEngine.php',
|
|
|
|
|
'XCacheBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'XmlDumpWriter' => 'includes/Export.php',
|
2006-07-02 15:57:59 +00:00
|
|
|
'Xml' => 'includes/Xml.php',
|
2008-05-10 13:46:05 +00:00
|
|
|
'XmlSelect' => 'includes/Xml.php',
|
2008-02-06 01:23:12 +00:00
|
|
|
'XmlTypeCheck' => 'includes/XmlTypeCheck.php',
|
2006-07-01 07:22:59 +00:00
|
|
|
'ZhClient' => 'includes/ZhClient.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
|
2007-05-30 21:02:32 +00:00
|
|
|
# filerepo
|
|
|
|
|
'ArchivedFile' => 'includes/filerepo/ArchivedFile.php',
|
|
|
|
|
'File' => 'includes/filerepo/File.php',
|
2007-06-16 02:55:25 +00:00
|
|
|
'FileRepo' => 'includes/filerepo/FileRepo.php',
|
2007-07-22 14:45:12 +00:00
|
|
|
'FileRepoStatus' => 'includes/filerepo/FileRepoStatus.php',
|
2008-05-20 06:30:36 +00:00
|
|
|
'ForeignAPIFile' => 'includes/filerepo/ForeignAPIFile.php',
|
|
|
|
|
'ForeignAPIRepo' => 'includes/filerepo/ForeignAPIRepo.php',
|
2007-05-30 21:02:32 +00:00
|
|
|
'ForeignDBFile' => 'includes/filerepo/ForeignDBFile.php',
|
|
|
|
|
'ForeignDBRepo' => 'includes/filerepo/ForeignDBRepo.php',
|
2008-03-30 09:48:15 +00:00
|
|
|
'ForeignDBViaLBRepo' => 'includes/filerepo/ForeignDBViaLBRepo.php',
|
2007-05-30 21:02:32 +00:00
|
|
|
'FSRepo' => 'includes/filerepo/FSRepo.php',
|
2008-04-05 12:26:10 +00:00
|
|
|
'Image' => 'includes/filerepo/Image.php',
|
2007-07-22 14:45:12 +00:00
|
|
|
'LocalFileDeleteBatch' => 'includes/filerepo/LocalFile.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'LocalFile' => 'includes/filerepo/LocalFile.php',
|
2007-07-22 14:45:12 +00:00
|
|
|
'LocalFileRestoreBatch' => 'includes/filerepo/LocalFile.php',
|
2007-05-30 21:02:32 +00:00
|
|
|
'LocalRepo' => 'includes/filerepo/LocalRepo.php',
|
|
|
|
|
'OldLocalFile' => 'includes/filerepo/OldLocalFile.php',
|
|
|
|
|
'RepoGroup' => 'includes/filerepo/RepoGroup.php',
|
|
|
|
|
'UnregisteredLocalFile' => 'includes/filerepo/UnregisteredLocalFile.php',
|
|
|
|
|
|
2007-04-20 12:31:36 +00:00
|
|
|
# Media
|
|
|
|
|
'BitmapHandler' => 'includes/media/Bitmap.php',
|
2007-04-22 17:34:09 +00:00
|
|
|
'BmpHandler' => 'includes/media/BMP.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
'DjVuHandler' => 'includes/media/DjVu.php',
|
|
|
|
|
'ImageHandler' => 'includes/media/Generic.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'MediaHandler' => 'includes/media/Generic.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
'SvgHandler' => 'includes/media/SVG.php',
|
|
|
|
|
|
|
|
|
|
# Normal
|
2006-07-26 07:15:39 +00:00
|
|
|
'UtfNormal' => 'includes/normal/UtfNormal.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
|
|
|
|
|
# Templates
|
2006-08-02 17:33:18 +00:00
|
|
|
'UsercreateTemplate' => 'includes/templates/Userlogin.php',
|
|
|
|
|
'UserloginTemplate' => 'includes/templates/Userlogin.php',
|
2007-04-20 12:31:36 +00:00
|
|
|
|
|
|
|
|
# Languages
|
2006-07-26 07:15:39 +00:00
|
|
|
'Language' => 'languages/Language.php',
|
2006-10-14 07:18:08 +00:00
|
|
|
|
2007-04-20 12:31:36 +00:00
|
|
|
# API
|
2006-10-14 07:18:08 +00:00
|
|
|
'ApiBase' => 'includes/api/ApiBase.php',
|
2007-11-03 15:50:11 +00:00
|
|
|
'ApiExpandTemplates' => 'includes/api/ApiExpandTemplates.php',
|
2006-10-16 00:08:03 +00:00
|
|
|
'ApiFeedWatchlist' => 'includes/api/ApiFeedWatchlist.php',
|
2006-10-14 07:18:08 +00:00
|
|
|
'ApiFormatBase' => 'includes/api/ApiFormatBase.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiFormatDbg' => 'includes/api/ApiFormatDbg.php',
|
|
|
|
|
'ApiFormatFeedWrapper' => 'includes/api/ApiFormatBase.php',
|
2006-10-14 07:18:08 +00:00
|
|
|
'ApiFormatJson' => 'includes/api/ApiFormatJson.php',
|
2006-10-22 23:45:20 +00:00
|
|
|
'ApiFormatPhp' => 'includes/api/ApiFormatPhp.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiFormatTxt' => 'includes/api/ApiFormatTxt.php',
|
2006-10-22 23:45:20 +00:00
|
|
|
'ApiFormatWddx' => 'includes/api/ApiFormatWddx.php',
|
2006-10-14 07:18:08 +00:00
|
|
|
'ApiFormatXml' => 'includes/api/ApiFormatXml.php',
|
|
|
|
|
'ApiFormatYaml' => 'includes/api/ApiFormatYaml.php',
|
|
|
|
|
'ApiHelp' => 'includes/api/ApiHelp.php',
|
|
|
|
|
'ApiLogin' => 'includes/api/ApiLogin.php',
|
2008-01-08 18:10:58 +00:00
|
|
|
'ApiLogout' => 'includes/api/ApiLogout.php',
|
2006-10-14 07:18:08 +00:00
|
|
|
'ApiMain' => 'includes/api/ApiMain.php',
|
|
|
|
|
'ApiOpenSearch' => 'includes/api/ApiOpenSearch.php',
|
|
|
|
|
'ApiPageSet' => 'includes/api/ApiPageSet.php',
|
2008-01-22 21:22:04 +00:00
|
|
|
'ApiParamInfo' => 'includes/api/ApiParamInfo.php',
|
2007-12-01 13:37:02 +00:00
|
|
|
'ApiParse' => 'includes/api/ApiParse.php',
|
2008-03-17 15:28:52 +00:00
|
|
|
'ApiQueryAllImages' => 'includes/api/ApiQueryAllimages.php',
|
2007-12-10 15:55:12 +00:00
|
|
|
'ApiQueryAllCategories' => 'includes/api/ApiQueryAllCategories.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiQueryAllLinks' => 'includes/api/ApiQueryAllLinks.php',
|
|
|
|
|
'ApiQueryAllmessages' => 'includes/api/ApiQueryAllmessages.php',
|
|
|
|
|
'ApiQueryAllpages' => 'includes/api/ApiQueryAllpages.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'ApiQueryAllUsers' => 'includes/api/ApiQueryAllUsers.php',
|
|
|
|
|
'ApiQueryBacklinks' => 'includes/api/ApiQueryBacklinks.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiQueryBase' => 'includes/api/ApiQueryBase.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'ApiQueryCategories' => 'includes/api/ApiQueryCategories.php',
|
|
|
|
|
'ApiQueryCategoryMembers' => 'includes/api/ApiQueryCategoryMembers.php',
|
2008-04-26 15:30:27 +00:00
|
|
|
'ApiQueryCategoryInfo' => 'includes/api/ApiQueryCategoryInfo.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'ApiQueryContributions' => 'includes/api/ApiQueryUserContributions.php',
|
|
|
|
|
'ApiQueryExternalLinks' => 'includes/api/ApiQueryExternalLinks.php',
|
|
|
|
|
'ApiQueryExtLinksUsage' => 'includes/api/ApiQueryExtLinksUsage.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiQueryGeneratorBase' => 'includes/api/ApiQueryBase.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'ApiQueryImageInfo' => 'includes/api/ApiQueryImageInfo.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiQueryImages' => 'includes/api/ApiQueryImages.php',
|
|
|
|
|
'ApiQuery' => 'includes/api/ApiQuery.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'ApiQueryInfo' => 'includes/api/ApiQueryInfo.php',
|
|
|
|
|
'ApiQueryLangLinks' => 'includes/api/ApiQueryLangLinks.php',
|
|
|
|
|
'ApiQueryLinks' => 'includes/api/ApiQueryLinks.php',
|
|
|
|
|
'ApiQueryLogEvents' => 'includes/api/ApiQueryLogEvents.php',
|
2008-01-28 13:56:20 +00:00
|
|
|
'ApiQueryRandom' => 'includes/api/ApiQueryRandom.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'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',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiQueryUsers' => 'includes/api/ApiQueryUsers.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'ApiQueryWatchlist' => 'includes/api/ApiQueryWatchlist.php',
|
2006-10-14 07:18:08 +00:00
|
|
|
'ApiResult' => 'includes/api/ApiResult.php',
|
2008-03-09 02:11:06 +00:00
|
|
|
'Services_JSON' => 'includes/api/ApiFormatJson_json.php',
|
|
|
|
|
'Spyc' => 'includes/api/ApiFormatYaml_spyc.php',
|
2007-12-02 14:24:07 +00:00
|
|
|
|
2007-12-06 18:33:18 +00:00
|
|
|
# apiedit branch
|
|
|
|
|
'ApiBlock' => 'includes/api/ApiBlock.php',
|
|
|
|
|
'ApiDelete' => 'includes/api/ApiDelete.php',
|
2008-03-03 18:08:40 +00:00
|
|
|
'ApiEditPage' => 'includes/api/ApiEditPage.php',
|
2007-12-06 18:33:18 +00:00
|
|
|
'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',
|
2008-03-09 02:11:06 +00:00
|
|
|
'ApiUndelete' => 'includes/api/ApiUndelete.php',
|
2006-06-06 09:50:01 +00:00
|
|
|
);
|
2008-04-14 07:45:50 +00:00
|
|
|
|
2007-01-17 00:54:54 +00:00
|
|
|
wfProfileIn( __METHOD__ );
|
2006-06-25 08:38:17 +00:00
|
|
|
if ( isset( $localClasses[$className] ) ) {
|
2006-07-01 07:22:59 +00:00
|
|
|
$filename = $localClasses[$className];
|
2006-06-25 08:38:17 +00:00
|
|
|
} elseif ( isset( $wgAutoloadClasses[$className] ) ) {
|
2006-07-01 07:22:59 +00:00
|
|
|
$filename = $wgAutoloadClasses[$className];
|
2006-06-06 09:50:01 +00:00
|
|
|
} else {
|
2006-07-02 15:57:59 +00:00
|
|
|
# Try a different capitalisation
|
|
|
|
|
# The case can sometimes be wrong when unserializing PHP 4 objects
|
|
|
|
|
$filename = false;
|
|
|
|
|
$lowerClass = strtolower( $className );
|
|
|
|
|
foreach ( $localClasses as $class2 => $file2 ) {
|
|
|
|
|
if ( strtolower( $class2 ) == $lowerClass ) {
|
|
|
|
|
$filename = $file2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if ( !$filename ) {
|
|
|
|
|
# Give up
|
2007-01-17 00:54:54 +00:00
|
|
|
wfProfileOut( __METHOD__ );
|
2006-07-02 15:57:59 +00:00
|
|
|
return;
|
|
|
|
|
}
|
2006-06-06 09:50:01 +00:00
|
|
|
}
|
2006-07-01 07:22:59 +00:00
|
|
|
|
|
|
|
|
# Make an absolute path, this improves performance by avoiding some stat calls
|
2006-07-02 12:00:31 +00:00
|
|
|
if ( substr( $filename, 0, 1 ) != '/' && substr( $filename, 1, 1 ) != ':' ) {
|
|
|
|
|
global $IP;
|
2006-07-01 07:22:59 +00:00
|
|
|
$filename = "$IP/$filename";
|
|
|
|
|
}
|
|
|
|
|
require( $filename );
|
2007-01-17 00:54:54 +00:00
|
|
|
wfProfileOut( __METHOD__ );
|
2006-06-06 09:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
2006-06-25 08:38:17 +00:00
|
|
|
function wfLoadAllExtensions() {
|
|
|
|
|
global $wgAutoloadClasses;
|
2006-06-29 08:26:30 +00:00
|
|
|
|
2008-04-14 07:45:50 +00:00
|
|
|
# It is crucial that SpecialPage.php is included before any special page
|
2006-06-29 08:26:30 +00:00
|
|
|
# extensions are loaded. Otherwise the parent class will not be available
|
2008-04-14 07:45:50 +00:00
|
|
|
# when APC loads the early-bound extension class. Normally this is
|
|
|
|
|
# guaranteed by entering special pages via SpecialPage members such as
|
2006-06-29 08:26:30 +00:00
|
|
|
# executePath(), but here we have to take a more explicit measure.
|
2008-04-14 07:45:50 +00:00
|
|
|
|
Prevent some unnecessary lstat system calls, generated by include or require directives.
This can be done either by:
* Using explicit full paths, using the $IP global for the installation directory full path, and then working down the tree from there.
* Using explicit full paths, using the "dirname(__FILE__)" directive to get a full directory path for the includer file.
* Occasionally removing the line altogether, and then for some files the inclusion is handled by the autoloader.
For example, if the "extensions/wikihiero/wh_main.php" file does an include or require on "wh_list.php", then PHP does the following:
* tries to open "wiki/wh_list.php", and fails.
* tries to open "wiki/includes/wh_list.php", and fails.
* tries to open "wiki/languages/wh_list.php", and fails.
* tries to open "wiki/extensions/wikihiero/wh_list.php", and succeeds.
So in this example, the first 3 calls can be prevented if PHP is told where the file is.
Testing Method: On a Linux box, run these commands to attach strace to all the apache2 processes, and log their system calls to a temporary file, then generate some activity, and then stop the strace:
-----------------------------------
rm /tmp/strace-log.txt
strace -tt -o /tmp/strace-log.txt -p `pidof apache2 | sed 's/ / -p /g'` &
php maintenance/fuzz-tester.php --keep-passed-tests --include-binary --max-runtime=3 > /tmp/strace-tests.txt
killall -9 strace
grep "No such file or directory" /tmp/strace-log.txt | sort -u
-----------------------------------
Any failed file stats will be marked with: "-1 ENOENT (No such file or directory)".
Also:
* Strict Standards: Undefined offset: 230 in includes/normal/UtfNormal.php on line 637
* Strict Standards: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string in languages/Language.php on line 776
[Note: Partial only - despite adding "//IGNORE", it still seems to be possible with some
messed- up binary input to cause PHP 5.1.2's iconv() function to squeal like a stuck pig].
* Update one $fname variable (method belongs to HistoryBlobStub class).
2007-02-09 05:36:56 +00:00
|
|
|
require_once( dirname(__FILE__) . '/SpecialPage.php' );
|
2008-04-14 07:45:50 +00:00
|
|
|
|
2006-06-25 08:38:17 +00:00
|
|
|
foreach( $wgAutoloadClasses as $class => $file ) {
|
2007-01-20 19:24:37 +00:00
|
|
|
if( !( class_exists( $class ) || interface_exists( $class ) ) ) {
|
2006-06-25 08:38:17 +00:00
|
|
|
require( $file );
|
|
|
|
|
}
|
|
|
|
|
}
|
2007-10-03 08:46:17 +00:00
|
|
|
}
|