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
|
|
|
|
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',
|
2010-02-03 06:19:47 +00:00
|
|
|
'Cookie' => 'includes/HttpFunctions.php',
|
|
|
|
|
'CookieJar' => 'includes/HttpFunctions.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ConcatenatedGzipHistoryBlob' => 'includes/HistoryBlob.php',
|
2009-06-17 17:20:01 +00:00
|
|
|
'ConfEditor' => 'includes/ConfEditor.php',
|
2009-10-25 13:37:15 +00:00
|
|
|
'ConfEditorParseError' => 'includes/ConfEditor.php',
|
|
|
|
|
'ConfEditorToken' => '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',
|
Add experimental new auth framework, ExternalAuth
This should not affect any existing behavior. (Except that it reorders
some error conditions in attemptAutoCreate(), but probably no one cares
about that.) It adds a new database table, but it will be unused unless
you enable external authentication.
An outline of the rationale for this system, and the design planning, is
at <http://www.mediawiki.org/wiki/ExternalAuth>. Essentially,
AuthPlugin puts too much of a burden on plugin authors, requiring them
to write a lot of policy logic instead of just handling the actual
interface to the external user database. This system uses a standard
framework to decide policy questions, and auth plugins only need to
provide some low-level, clearly-specified data.
There are lots of features still missing, marked in the code, but basic
functionality is present. The commit includes initial support for one
type of external authentication, the forum software vBulletin (which I
happen to know well, and want to integrate with my MediaWiki).
I'm encouraging the inclusion of ExternalAuth plugins in core because in
this framework, the amount of code required to add an additional backend
is quite small -- well under 100 lines in this case. I'd hope to see a
lot more of these, and it seems unreasonable to make an armada of tiny
extensions instead of letting them live happily in their own directory
out of everyone's way.
2009-07-19 22:02:00 +00:00
|
|
|
'ExternalUser' => 'includes/ExternalUser.php',
|
2009-12-10 01:05:13 +00:00
|
|
|
'ExternalUser_Hardcoded' => 'includes/extauth/Hardcoded.php',
|
2009-12-10 01:51:22 +00:00
|
|
|
'ExternalUser_MediaWiki' => 'includes/extauth/MediaWiki.php',
|
Add experimental new auth framework, ExternalAuth
This should not affect any existing behavior. (Except that it reorders
some error conditions in attemptAutoCreate(), but probably no one cares
about that.) It adds a new database table, but it will be unused unless
you enable external authentication.
An outline of the rationale for this system, and the design planning, is
at <http://www.mediawiki.org/wiki/ExternalAuth>. Essentially,
AuthPlugin puts too much of a burden on plugin authors, requiring them
to write a lot of policy logic instead of just handling the actual
interface to the external user database. This system uses a standard
framework to decide policy questions, and auth plugins only need to
provide some low-level, clearly-specified data.
There are lots of features still missing, marked in the code, but basic
functionality is present. The commit includes initial support for one
type of external authentication, the forum software vBulletin (which I
happen to know well, and want to integrate with my MediaWiki).
I'm encouraging the inclusion of ExternalAuth plugins in core because in
this framework, the amount of code required to add an additional backend
is quite small -- well under 100 lines in this case. I'd hope to see a
lot more of these, and it seems unreasonable to make an armada of tiny
extensions instead of letting them live happily in their own directory
out of everyone's way.
2009-07-19 22:02:00 +00:00
|
|
|
'ExternalUser_vB' => 'includes/extauth/vB.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'FatalError' => 'includes/Exception.php',
|
|
|
|
|
'FakeTitle' => 'includes/FakeTitle.php',
|
2010-01-11 03:47:04 +00:00
|
|
|
'FakeMemCachedClient' => 'includes/ObjectCache.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'FauxRequest' => 'includes/WebRequest.php',
|
2010-02-10 10:36:11 +00:00
|
|
|
'FauxResponse' => 'includes/WebResponse.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-08-03 15:01:51 +00:00
|
|
|
'GIFMetadataExtractor' => 'includes/media/GIFMetadataExtractor.php',
|
|
|
|
|
'GIFHandler' => 'includes/media/GIF.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'GlobalDependency' => 'includes/CacheDependency.php',
|
|
|
|
|
'HashBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'HashtableReplacer' => 'includes/StringUtils.php',
|
|
|
|
|
'HistoryBlobCurStub' => 'includes/HistoryBlob.php',
|
|
|
|
|
'HistoryBlob' => 'includes/HistoryBlob.php',
|
|
|
|
|
'HistoryBlobStub' => 'includes/HistoryBlob.php',
|
2009-08-17 05:09:36 +00:00
|
|
|
'HistoryPage' => 'includes/HistoryPage.php',
|
|
|
|
|
'HistoryPager' => 'includes/HistoryPage.php',
|
2009-08-11 00:09:24 +00:00
|
|
|
'Html' => 'includes/Html.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'HTMLTextAreaField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLFloatField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLHiddenField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLSubmitField' => 'includes/HTMLForm.php',
|
|
|
|
|
'HTMLEditTools' => 'includes/HTMLForm.php',
|
2009-06-26 14:32:54 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'HttpRequest' => '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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'ImageHistoryPseudoPager' => 'includes/ImagePage.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2010-01-27 05:17:26 +00:00
|
|
|
'JSMin' => 'includes/JSMin.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',
|
2009-07-03 06:56:46 +00:00
|
|
|
'LCStore_Null' => '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',
|
2010-02-26 07:29:38 +00:00
|
|
|
'MediaTransformError' => 'includes/media/MediaTransformOutput.php',
|
|
|
|
|
'MediaTransformOutput' => 'includes/media/MediaTransformOutput.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'MediaWikiBagOStuff' => 'includes/BagOStuff.php',
|
|
|
|
|
'MediaWiki_I18N' => 'includes/SkinTemplate.php',
|
|
|
|
|
'MediaWiki' => 'includes/Wiki.php',
|
2009-11-20 15:37:28 +00:00
|
|
|
'MemCachedClientforWiki' => 'includes/memcached-client.php',
|
2010-03-22 17:05:32 +00:00
|
|
|
'Message' => 'includes/Message.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'MessageCache' => 'includes/MessageCache.php',
|
|
|
|
|
'MimeMagic' => 'includes/MimeMagic.php',
|
|
|
|
|
'MWException' => 'includes/Exception.php',
|
2009-11-20 15:37:28 +00:00
|
|
|
'MWMemcached' => 'includes/memcached-client.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'MWNamespace' => 'includes/Namespace.php',
|
|
|
|
|
'Namespace' => 'includes/NamespaceCompat.php', // Compat
|
|
|
|
|
'OldChangesList' => 'includes/ChangesList.php',
|
|
|
|
|
'OutputPage' => 'includes/OutputPage.php',
|
|
|
|
|
'PageQueryPage' => 'includes/PageQueryPage.php',
|
2009-08-17 05:09:36 +00:00
|
|
|
'PageHistory' => 'includes/HistoryPage.php',
|
|
|
|
|
'PageHistoryPager' => 'includes/HistoryPage.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'Pager' => 'includes/Pager.php',
|
|
|
|
|
'PasswordError' => 'includes/User.php',
|
|
|
|
|
'PatrolLog' => 'includes/PatrolLog.php',
|
Implemented the PoolCounter feature and did some general refactoring in the areas that it touched.
* Renamed Article::outputFromWikitext() to Article::getOutputFromWikitext()
* Factored out cascade protection updates
* Removed recently-added Article::tryParserCache(): misnamed, can be done in one line of code in the caller. Deprecated OutputPage::tryParserCache().
* Made some functions public instead of protected when they could be useful from hooks.
* In ParserCache, removed PHP 4-style ampersands
In Article::view():
* Factored out robot policy logic, "redirected from" header, patrol footer, diff page, revdelete header, CSS/JS formatting, footer, namespace header, missing article error
* Removed some variables, renamed some others, fixed incorrect use of empty()
* Used the refactored footer section to do a couple of early returns and unindent a massive if(!$outputDone) block
* Removed fantasy interpretation of $this->getContent()===false in comment
* Don't try the parser cache when ArticleViewHeader specified $outputDone=true
* Move timing hack to getOutputFromWikitext()
* Stop using $wgOut->parserOptions() with save/restore nonsense every time you want to change something in it. This is meant to be OOP.
* Don't overwrite the article text with an error message and then pretend to write it to the cache, that's confusing
2009-07-08 08:12:35 +00:00
|
|
|
'PoolCounter' => 'includes/PoolCounter.php',
|
|
|
|
|
'PoolCounter_Stub' => 'includes/PoolCounter.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',
|
|
|
|
|
'SiteConfiguration' => 'includes/SiteConfiguration.php',
|
|
|
|
|
'SiteStats' => 'includes/SiteStats.php',
|
2009-08-02 19:35:17 +00:00
|
|
|
'SiteStatsInit' => 'includes/SiteStats.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2010-02-05 03:36:04 +00:00
|
|
|
'SquidPurgeClient' => 'includes/SquidPurgeClient.php',
|
|
|
|
|
'SquidPurgeClientPool' => 'includes/SquidPurgeClient.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'Status' => 'includes/Status.php',
|
2010-01-27 07:00:07 +00:00
|
|
|
'StubContLang' => 'includes/StubObject.php',
|
2010-01-22 04:37:23 +00:00
|
|
|
'StubUser' => 'includes/StubObject.php',
|
|
|
|
|
'StubUserLang' => 'includes/StubObject.php',
|
|
|
|
|
'StubObject' => 'includes/StubObject.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'StringUtils' => 'includes/StringUtils.php',
|
|
|
|
|
'TablePager' => 'includes/Pager.php',
|
2010-02-26 07:29:38 +00:00
|
|
|
'ThumbnailImage' => 'includes/media/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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'TitleArrayFromResult' => 'includes/TitleArray.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'TitleListDependency' => 'includes/CacheDependency.php',
|
2010-02-26 07:29:38 +00:00
|
|
|
'TransformParameterError' => 'includes/media/MediaTransformOutput.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'UnlistedSpecialPage' => 'includes/SpecialPage.php',
|
here it is ... the upload-api, script-server, js2 (javascript phase2) branch merge 1st attempt.
Here is a short overview of changes and associated default configuration variables (most everything is off by default) also see ~soon to be updated~: http://www.mediawiki.org/wiki/Media_Projects_Overview
= Upload Improvements =
==Upload API ==
* Based on the early work of Bryan Tong and others it adds the upload option to the api.
* We rewrite Special:Upload page to include use the new refactoring
* Added in token checks in both the SpecialUpload.php page so avoids DOS / xss copy-by-url JavaScript based cross site POST file submissions
== Copy by URL==
$wgAllowCopyUploads = false;
* http class rewrite includes a new http background download see: includes/HttpFunctions.php
* spins off a php process that calls: maintenance/http_session_download.php
* pushes updates to the session and gives the user a progress bar on http copy uploads from other server progress (using js2 upload interface) (if not using the js2 upload interface it does the request in-place but the download is limited to the php ini timeout time)
== Firefogg ==
* Firefogg enables resumable upload by chunks
* progress indicators and conditional invokation (js2 system)
* and of-course client side transcoding.
= Script Server =
$wgEnableScriptLoader = false;
* off by default if $wgEnableScriptLoader is turned on script files are grouped, gziped, cached etc.
for more info see: http://www.mediawiki.org/wiki/Extension:ScriptLoader
* Includes some early skin js include fixes (skin/script system still lots of love)
* Includes a "javascript class autoloader" this is packaged into mwEmbed so that the mwEmbed library can work in stand alone mode (while retaining localization and script serving) (one such application is the make page for firefogg.org : http://www.firefogg.org/make/index.html )
* The file that contains the autojavascript loading classes is: js2/php/jsAutoloadLocalClasses.php
* One can use this auto class loading dependency system with extensions and add-ons but I need to better document that.
= js2 system / mwEmbed=
$wgEnableJS2system = false
* includes initial rewrite towards more jquery based javascript code
* especially for the Special:Upload page.
* Also the edit page include support for the "add-media-wizard"
* includes dependency loader for javascript that optionally takes advantage of the script-loader
* remote embedding of javascript interfaces (like embedding video, or commons media searching)
* $wgDebugJavaScript = false; .. .this variable lets you always get "always fresh javascript". When used with the script-loader it does not minify the script-loader output.
= mwEmbed =
* Will commit a separate patch to oggHandler that conditionally outputs <video tag> to use the new javascript video player.
** mv_embed player includes: play-head, volume control, remote embedding, oggz-chop support across plugins.
* add-media-wizard adds easy inserts of media to pages (with import)
== jQuery==
* we include a base install of jQuery, jQuery ui and some plugins.
* all the javascript classes are in the scriptloader so its easy to load any set of jquery ui components that you may need using the script-server. You get a callback so you can then execute js with dependencies loaded.
== other stuff ==
there is a bit more code in js2 that pertains to sequence editing, timed text display and basic image editing. We include a base import of pixastic-lib & pixastic-editor... will work with the pixastic developer to try and ensure upstream compatibility on our usage of the library for in-browser photo and sequence manipulation.
2009-07-14 23:52:14 +00:00
|
|
|
'UploadBase' => 'includes/upload/UploadBase.php',
|
|
|
|
|
'UploadFromStash' => 'includes/upload/UploadFromStash.php',
|
|
|
|
|
'UploadFromFile' => 'includes/upload/UploadFromFile.php',
|
|
|
|
|
'UploadFromUrl' => 'includes/upload/UploadFromUrl.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2010-03-31 14:08:55 +00:00
|
|
|
'ApiGo' => 'includes/api/ApiGo.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-11-01 10:42:41 +00:00
|
|
|
'ApiQueryTags' => 'includes/api/ApiQueryTags.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
here it is ... the upload-api, script-server, js2 (javascript phase2) branch merge 1st attempt.
Here is a short overview of changes and associated default configuration variables (most everything is off by default) also see ~soon to be updated~: http://www.mediawiki.org/wiki/Media_Projects_Overview
= Upload Improvements =
==Upload API ==
* Based on the early work of Bryan Tong and others it adds the upload option to the api.
* We rewrite Special:Upload page to include use the new refactoring
* Added in token checks in both the SpecialUpload.php page so avoids DOS / xss copy-by-url JavaScript based cross site POST file submissions
== Copy by URL==
$wgAllowCopyUploads = false;
* http class rewrite includes a new http background download see: includes/HttpFunctions.php
* spins off a php process that calls: maintenance/http_session_download.php
* pushes updates to the session and gives the user a progress bar on http copy uploads from other server progress (using js2 upload interface) (if not using the js2 upload interface it does the request in-place but the download is limited to the php ini timeout time)
== Firefogg ==
* Firefogg enables resumable upload by chunks
* progress indicators and conditional invokation (js2 system)
* and of-course client side transcoding.
= Script Server =
$wgEnableScriptLoader = false;
* off by default if $wgEnableScriptLoader is turned on script files are grouped, gziped, cached etc.
for more info see: http://www.mediawiki.org/wiki/Extension:ScriptLoader
* Includes some early skin js include fixes (skin/script system still lots of love)
* Includes a "javascript class autoloader" this is packaged into mwEmbed so that the mwEmbed library can work in stand alone mode (while retaining localization and script serving) (one such application is the make page for firefogg.org : http://www.firefogg.org/make/index.html )
* The file that contains the autojavascript loading classes is: js2/php/jsAutoloadLocalClasses.php
* One can use this auto class loading dependency system with extensions and add-ons but I need to better document that.
= js2 system / mwEmbed=
$wgEnableJS2system = false
* includes initial rewrite towards more jquery based javascript code
* especially for the Special:Upload page.
* Also the edit page include support for the "add-media-wizard"
* includes dependency loader for javascript that optionally takes advantage of the script-loader
* remote embedding of javascript interfaces (like embedding video, or commons media searching)
* $wgDebugJavaScript = false; .. .this variable lets you always get "always fresh javascript". When used with the script-loader it does not minify the script-loader output.
= mwEmbed =
* Will commit a separate patch to oggHandler that conditionally outputs <video tag> to use the new javascript video player.
** mv_embed player includes: play-head, volume control, remote embedding, oggz-chop support across plugins.
* add-media-wizard adds easy inserts of media to pages (with import)
== jQuery==
* we include a base install of jQuery, jQuery ui and some plugins.
* all the javascript classes are in the scriptloader so its easy to load any set of jquery ui components that you may need using the script-server. You get a callback so you can then execute js with dependencies loaded.
== other stuff ==
there is a bit more code in js2 that pertains to sequence editing, timed text display and basic image editing. We include a base import of pixastic-lib & pixastic-editor... will work with the pixastic developer to try and ensure upstream compatibility on our usage of the library for in-browser photo and sequence manipulation.
2009-07-14 23:52:14 +00:00
|
|
|
'ApiUpload' => 'includes/api/ApiUpload.php',
|
2008-08-21 15:44:13 +00:00
|
|
|
'ApiWatch' => 'includes/api/ApiWatch.php',
|
2009-09-10 14:33:25 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
'Spyc' => 'includes/api/ApiFormatYaml_spyc.php',
|
|
|
|
|
'UsageException' => 'includes/api/ApiMain.php',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2009-09-10 14:33:25 +00:00
|
|
|
# includes/json
|
|
|
|
|
'Services_JSON' => 'includes/json/Services_JSON.php',
|
|
|
|
|
'Services_JSON_Error' => 'includes/json/Services_JSON.php',
|
|
|
|
|
'FormatJson' => 'includes/json/FormatJson.php',
|
|
|
|
|
|
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',
|
2010-01-22 21:30:23 +00:00
|
|
|
'DatabaseSqliteStandalone' => 'includes/db/DatabaseSqlite.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'IBM_DB2Blob' => 'includes/db/DatabaseIbm_db2.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'LBFactory' => 'includes/db/LBFactory.php',
|
|
|
|
|
'LBFactory_Multi' => 'includes/db/LBFactory_Multi.php',
|
|
|
|
|
'LBFactory_Simple' => 'includes/db/LBFactory.php',
|
2009-10-21 19:53:03 +00:00
|
|
|
'LikeMatch' => 'includes/db/Database.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'ORAField' => 'includes/db/DatabaseOracle.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2008-06-16 20:21:26 +00:00
|
|
|
|
2008-08-25 20:19:00 +00:00
|
|
|
# includes/diff
|
|
|
|
|
'ArrayDiffFormatter' => 'includes/diff/DifferenceEngine.php',
|
|
|
|
|
'_DiffEngine' => 'includes/diff/DifferenceEngine.php',
|
2009-09-30 15:36:55 +00:00
|
|
|
'DifferenceEngine' => 'includes/diff/DifferenceInterface.php',
|
2008-08-25 20:19:00 +00:00
|
|
|
'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',
|
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',
|
|
|
|
|
'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',
|
2010-02-03 07:10:58 +00:00
|
|
|
'CoreTagHooks' => 'includes/parser/CoreTagHooks.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'PPCustomFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
|
|
|
|
|
'PPCustomFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2010-04-03 10:13:34 +00:00
|
|
|
'Parser' => 'includes/parser/Parser.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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
|
|
|
|
2009-07-30 22:45:38 +00:00
|
|
|
# includes/search
|
|
|
|
|
'MySQLSearchResultSet' => 'includes/search/SearchMySQL.php',
|
|
|
|
|
'PostgresSearchResult' => 'includes/search/SearchPostgres.php',
|
|
|
|
|
'PostgresSearchResultSet' => 'includes/search/SearchPostgres.php',
|
|
|
|
|
'SearchEngineDummy' => 'includes/search/SearchEngine.php',
|
|
|
|
|
'SearchEngine' => 'includes/search/SearchEngine.php',
|
|
|
|
|
'SearchHighlighter' => 'includes/search/SearchEngine.php',
|
|
|
|
|
'SearchIBM_DB2' => 'includes/search/SearchIBM_DB2.php',
|
|
|
|
|
'SearchMySQL4' => 'includes/search/SearchMySQL4.php',
|
|
|
|
|
'SearchMySQL' => 'includes/search/SearchMySQL.php',
|
|
|
|
|
'SearchOracle' => 'includes/search/SearchOracle.php',
|
|
|
|
|
'SearchPostgres' => 'includes/search/SearchPostgres.php',
|
|
|
|
|
'SearchResult' => 'includes/search/SearchEngine.php',
|
|
|
|
|
'SearchResultSet' => 'includes/search/SearchEngine.php',
|
|
|
|
|
'SearchResultTooMany' => 'includes/search/SearchEngine.php',
|
2009-10-29 16:19:35 +00:00
|
|
|
'SearchSqlite' => 'includes/search/SearchSqlite.php',
|
2009-07-31 00:18:09 +00:00
|
|
|
'SearchUpdate' => 'includes/search/SearchUpdate.php',
|
2009-07-30 22:45:38 +00:00
|
|
|
'SearchUpdateMyISAM' => 'includes/search/SearchUpdate.php',
|
2009-10-29 16:19:35 +00:00
|
|
|
'SqliteSearchResultSet' => 'includes/search/SearchSqlite.php',
|
2010-01-09 14:30:55 +00:00
|
|
|
'SqlSearchResultSet' => 'includes/search/SearchEngine.php',
|
2009-07-30 22:45:38 +00:00
|
|
|
|
2008-07-24 12:45:23 +00:00
|
|
|
# includes/specials
|
2009-07-15 02:03:21 +00:00
|
|
|
'SpecialAllmessages' => 'includes/specials/SpecialAllmessages.php',
|
2009-10-25 13:37:15 +00:00
|
|
|
'ActiveUsersPager' => 'includes/specials/SpecialActiveusers.php',
|
|
|
|
|
'AllmessagesTablePager' => 'includes/specials/SpecialAllmessages.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'FakeResultWrapper' => 'includes/specials/SpecialAllmessages.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-09-26 00:49:32 +00:00
|
|
|
'LoginForm' => 'includes/specials/SpecialUserlogin.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'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',
|
2008-07-24 12:45:23 +00:00
|
|
|
'ShortPagesPage' => 'includes/specials/SpecialShortpages.php',
|
2009-07-03 00:22:22 +00:00
|
|
|
'SpecialActiveUsers' => 'includes/specials/SpecialActiveusers.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2010-03-18 16:41:53 +00:00
|
|
|
'SpecialMergeHistory' => 'includes/specials/SpecialMergeHistory.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'SpecialRecentChanges' => 'includes/specials/SpecialRecentchanges.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'SpecialRecentchangeslinked' => 'includes/specials/SpecialRecentchangeslinked.php',
|
|
|
|
|
'SpecialSearch' => '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',
|
2009-10-18 19:41:01 +00:00
|
|
|
'SpecialUpload' => 'includes/specials/SpecialUpload.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',
|
2009-10-25 13:37:15 +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',
|
2009-10-25 13:37:15 +00:00
|
|
|
'UploadSourceField' => 'includes/specials/SpecialUpload.php',
|
2008-07-24 12:45:23 +00:00
|
|
|
'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',
|
here it is ... the upload-api, script-server, js2 (javascript phase2) branch merge 1st attempt.
Here is a short overview of changes and associated default configuration variables (most everything is off by default) also see ~soon to be updated~: http://www.mediawiki.org/wiki/Media_Projects_Overview
= Upload Improvements =
==Upload API ==
* Based on the early work of Bryan Tong and others it adds the upload option to the api.
* We rewrite Special:Upload page to include use the new refactoring
* Added in token checks in both the SpecialUpload.php page so avoids DOS / xss copy-by-url JavaScript based cross site POST file submissions
== Copy by URL==
$wgAllowCopyUploads = false;
* http class rewrite includes a new http background download see: includes/HttpFunctions.php
* spins off a php process that calls: maintenance/http_session_download.php
* pushes updates to the session and gives the user a progress bar on http copy uploads from other server progress (using js2 upload interface) (if not using the js2 upload interface it does the request in-place but the download is limited to the php ini timeout time)
== Firefogg ==
* Firefogg enables resumable upload by chunks
* progress indicators and conditional invokation (js2 system)
* and of-course client side transcoding.
= Script Server =
$wgEnableScriptLoader = false;
* off by default if $wgEnableScriptLoader is turned on script files are grouped, gziped, cached etc.
for more info see: http://www.mediawiki.org/wiki/Extension:ScriptLoader
* Includes some early skin js include fixes (skin/script system still lots of love)
* Includes a "javascript class autoloader" this is packaged into mwEmbed so that the mwEmbed library can work in stand alone mode (while retaining localization and script serving) (one such application is the make page for firefogg.org : http://www.firefogg.org/make/index.html )
* The file that contains the autojavascript loading classes is: js2/php/jsAutoloadLocalClasses.php
* One can use this auto class loading dependency system with extensions and add-ons but I need to better document that.
= js2 system / mwEmbed=
$wgEnableJS2system = false
* includes initial rewrite towards more jquery based javascript code
* especially for the Special:Upload page.
* Also the edit page include support for the "add-media-wizard"
* includes dependency loader for javascript that optionally takes advantage of the script-loader
* remote embedding of javascript interfaces (like embedding video, or commons media searching)
* $wgDebugJavaScript = false; .. .this variable lets you always get "always fresh javascript". When used with the script-loader it does not minify the script-loader output.
= mwEmbed =
* Will commit a separate patch to oggHandler that conditionally outputs <video tag> to use the new javascript video player.
** mv_embed player includes: play-head, volume control, remote embedding, oggz-chop support across plugins.
* add-media-wizard adds easy inserts of media to pages (with import)
== jQuery==
* we include a base install of jQuery, jQuery ui and some plugins.
* all the javascript classes are in the scriptloader so its easy to load any set of jquery ui components that you may need using the script-server. You get a callback so you can then execute js with dependencies loaded.
== other stuff ==
there is a bit more code in js2 that pertains to sequence editing, timed text display and basic image editing. We include a base import of pixastic-lib & pixastic-editor... will work with the pixastic developer to try and ensure upstream compatibility on our usage of the library for in-browser photo and sequence manipulation.
2009-07-14 23:52:14 +00:00
|
|
|
'WhatLinksHerePage' => 'includes/specials/SpecialWhatlinkshere.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',
|
2010-01-04 05:55:33 +00:00
|
|
|
'LanguageConverter' => 'languages/LanguageConverter.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',
|
|
|
|
|
'textStatsOutput' => 'maintenance/language/StatOutputs.php',
|
|
|
|
|
'csvStatsOutput' => 'maintenance/language/StatOutputs.php',
|
2009-08-19 05:41:42 +00:00
|
|
|
'SevenZipStream' => 'maintenance/7zip.inc',
|
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
|
|
|
*
|
2010-02-12 21:37:22 +00:00
|
|
|
* @param $className String: name of class we're looking for.
|
2008-07-02 19:41:58 +00:00
|
|
|
* @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 ) {
|
here it is ... the upload-api, script-server, js2 (javascript phase2) branch merge 1st attempt.
Here is a short overview of changes and associated default configuration variables (most everything is off by default) also see ~soon to be updated~: http://www.mediawiki.org/wiki/Media_Projects_Overview
= Upload Improvements =
==Upload API ==
* Based on the early work of Bryan Tong and others it adds the upload option to the api.
* We rewrite Special:Upload page to include use the new refactoring
* Added in token checks in both the SpecialUpload.php page so avoids DOS / xss copy-by-url JavaScript based cross site POST file submissions
== Copy by URL==
$wgAllowCopyUploads = false;
* http class rewrite includes a new http background download see: includes/HttpFunctions.php
* spins off a php process that calls: maintenance/http_session_download.php
* pushes updates to the session and gives the user a progress bar on http copy uploads from other server progress (using js2 upload interface) (if not using the js2 upload interface it does the request in-place but the download is limited to the php ini timeout time)
== Firefogg ==
* Firefogg enables resumable upload by chunks
* progress indicators and conditional invokation (js2 system)
* and of-course client side transcoding.
= Script Server =
$wgEnableScriptLoader = false;
* off by default if $wgEnableScriptLoader is turned on script files are grouped, gziped, cached etc.
for more info see: http://www.mediawiki.org/wiki/Extension:ScriptLoader
* Includes some early skin js include fixes (skin/script system still lots of love)
* Includes a "javascript class autoloader" this is packaged into mwEmbed so that the mwEmbed library can work in stand alone mode (while retaining localization and script serving) (one such application is the make page for firefogg.org : http://www.firefogg.org/make/index.html )
* The file that contains the autojavascript loading classes is: js2/php/jsAutoloadLocalClasses.php
* One can use this auto class loading dependency system with extensions and add-ons but I need to better document that.
= js2 system / mwEmbed=
$wgEnableJS2system = false
* includes initial rewrite towards more jquery based javascript code
* especially for the Special:Upload page.
* Also the edit page include support for the "add-media-wizard"
* includes dependency loader for javascript that optionally takes advantage of the script-loader
* remote embedding of javascript interfaces (like embedding video, or commons media searching)
* $wgDebugJavaScript = false; .. .this variable lets you always get "always fresh javascript". When used with the script-loader it does not minify the script-loader output.
= mwEmbed =
* Will commit a separate patch to oggHandler that conditionally outputs <video tag> to use the new javascript video player.
** mv_embed player includes: play-head, volume control, remote embedding, oggz-chop support across plugins.
* add-media-wizard adds easy inserts of media to pages (with import)
== jQuery==
* we include a base install of jQuery, jQuery ui and some plugins.
* all the javascript classes are in the scriptloader so its easy to load any set of jquery ui components that you may need using the script-server. You get a callback so you can then execute js with dependencies loaded.
== other stuff ==
there is a bit more code in js2 that pertains to sequence editing, timed text display and basic image editing. We include a base import of pixastic-lib & pixastic-editor... will work with the pixastic developer to try and ensure upstream compatibility on our usage of the library for in-browser photo and sequence manipulation.
2009-07-14 23:52:14 +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
|
|
|
}
|
2010-03-12 22:52:11 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Force a class to be run through the autoloader, helpful for things like
|
|
|
|
|
* Sanitizer that have define()s outside of their class definition. Of course
|
|
|
|
|
* this wouldn't be necessary if everything in MediaWiki was class-based. Sigh.
|
|
|
|
|
*
|
|
|
|
|
* @return Boolean Return the results of class_exists() so we know if we were successful
|
|
|
|
|
*/
|
|
|
|
|
static function loadClass( $class ) {
|
|
|
|
|
return class_exists( $class );
|
|
|
|
|
}
|
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
|
|
|
|
2010-04-01 12:44:42 +00:00
|
|
|
if ( function_exists( 'spl_autoload_register' ) ) {
|
2008-06-16 20:21:26 +00:00
|
|
|
spl_autoload_register( array( 'AutoLoader', 'autoload' ) );
|
|
|
|
|
} else {
|
|
|
|
|
function __autoload( $class ) {
|
|
|
|
|
AutoLoader::autoload( $class );
|
2006-06-25 08:38:17 +00:00
|
|
|
}
|
2009-09-17 21:52:40 +00:00
|
|
|
|
|
|
|
|
ini_set( 'unserialize_callback_func', '__autoload' );
|
2007-10-03 08:46:17 +00:00
|
|
|
}
|