Suggest running update.php on database error
[lhc/web/wiklou.git] / includes / AutoLoader.php
1 <?php
2 /**
3 * This defines autoloading handler for whole MediaWiki framework
4 *
5 * @file
6 */
7
8 /**
9 * Locations of core classes
10 * Extension classes are specified with $wgAutoloadClasses
11 * This array is a global instead of a static member of AutoLoader to work around a bug in APC
12 */
13 global $wgAutoloadLocalClasses;
14
15 $wgAutoloadLocalClasses = array(
16 # Includes
17 'AjaxDispatcher' => 'includes/AjaxDispatcher.php',
18 'AjaxResponse' => 'includes/AjaxResponse.php',
19 'AlphabeticPager' => 'includes/Pager.php',
20 'APCBagOStuff' => 'includes/BagOStuff.php',
21 'Article' => 'includes/Article.php',
22 'AtomFeed' => 'includes/Feed.php',
23 'AuthPlugin' => 'includes/AuthPlugin.php',
24 'AuthPluginUser' => 'includes/AuthPlugin.php',
25 'Autopromote' => 'includes/Autopromote.php',
26 'BacklinkCache' => 'includes/BacklinkCache.php',
27 'BagOStuff' => 'includes/BagOStuff.php',
28 'Block' => 'includes/Block.php',
29 'CacheDependency' => 'includes/CacheDependency.php',
30 'CacheTime' => 'includes/parser/ParserOutput.php',
31 'Category' => 'includes/Category.php',
32 'Categoryfinder' => 'includes/Categoryfinder.php',
33 'CategoryPage' => 'includes/CategoryPage.php',
34 'CategoryViewer' => 'includes/CategoryPage.php',
35 'CdbFunctions' => 'includes/Cdb_PHP.php',
36 'CdbReader' => 'includes/Cdb.php',
37 'CdbReader_DBA' => 'includes/Cdb.php',
38 'CdbReader_PHP' => 'includes/Cdb_PHP.php',
39 'CdbWriter' => 'includes/Cdb.php',
40 'CdbWriter_DBA' => 'includes/Cdb.php',
41 'CdbWriter_PHP' => 'includes/Cdb_PHP.php',
42 'ChangesList' => 'includes/ChangesList.php',
43 'ChangesFeed' => 'includes/ChangesFeed.php',
44 'ChangeTags' => 'includes/ChangeTags.php',
45 'ChannelFeed' => 'includes/Feed.php',
46 'Cookie' => 'includes/HttpFunctions.php',
47 'CookieJar' => 'includes/HttpFunctions.php',
48 'ConcatenatedGzipHistoryBlob' => 'includes/HistoryBlob.php',
49 'ConfEditor' => 'includes/ConfEditor.php',
50 'ConfEditorParseError' => 'includes/ConfEditor.php',
51 'ConfEditorToken' => 'includes/ConfEditor.php',
52 'ConstantDependency' => 'includes/CacheDependency.php',
53 'CreativeCommonsRdf' => 'includes/Metadata.php',
54 'Credits' => 'includes/Credits.php',
55 'CSSJanus' => 'includes/CSSJanus.php',
56 'CSSMin' => 'includes/CSSMin.php',
57 'DBABagOStuff' => 'includes/BagOStuff.php',
58 'DependencyWrapper' => 'includes/CacheDependency.php',
59 'DiffHistoryBlob' => 'includes/HistoryBlob.php',
60 'DistributionRepository' => 'includes/DistributionRepository.php',
61 'DjVuImage' => 'includes/DjVuImage.php',
62 'DoubleReplacer' => 'includes/StringUtils.php',
63 'DublinCoreRdf' => 'includes/Metadata.php',
64 'Dump7ZipOutput' => 'includes/Export.php',
65 'DumpBZip2Output' => 'includes/Export.php',
66 'DumpFileOutput' => 'includes/Export.php',
67 'DumpFilter' => 'includes/Export.php',
68 'DumpGZipOutput' => 'includes/Export.php',
69 'DumpLatestFilter' => 'includes/Export.php',
70 'DumpMultiWriter' => 'includes/Export.php',
71 'DumpNamespaceFilter' => 'includes/Export.php',
72 'DumpNotalkFilter' => 'includes/Export.php',
73 'DumpOutput' => 'includes/Export.php',
74 'DumpPipeOutput' => 'includes/Export.php',
75 'eAccelBagOStuff' => 'includes/BagOStuff.php',
76 'EditPage' => 'includes/EditPage.php',
77 'EmailNotification' => 'includes/UserMailer.php',
78 'EnhancedChangesList' => 'includes/ChangesList.php',
79 'ErrorPageError' => 'includes/Exception.php',
80 'Exif' => 'includes/Exif.php',
81 'ExplodeIterator' => 'includes/StringUtils.php',
82 'ExternalEdit' => 'includes/ExternalEdit.php',
83 'ExternalStoreDB' => 'includes/ExternalStoreDB.php',
84 'ExternalStoreHttp' => 'includes/ExternalStoreHttp.php',
85 'ExternalStore' => 'includes/ExternalStore.php',
86 'ExternalUser' => 'includes/ExternalUser.php',
87 'FatalError' => 'includes/Exception.php',
88 'FakeTitle' => 'includes/FakeTitle.php',
89 'FakeMemCachedClient' => 'includes/ObjectCache.php',
90 'FauxRequest' => 'includes/WebRequest.php',
91 'FauxResponse' => 'includes/WebResponse.php',
92 'FeedItem' => 'includes/Feed.php',
93 'FeedUtils' => 'includes/FeedUtils.php',
94 'FileDeleteForm' => 'includes/FileDeleteForm.php',
95 'FileDependency' => 'includes/CacheDependency.php',
96 'FileRevertForm' => 'includes/FileRevertForm.php',
97 'ForkController' => 'includes/ForkController.php',
98 'FormatExif' => 'includes/Exif.php',
99 'FormOptions' => 'includes/FormOptions.php',
100 'GlobalDependency' => 'includes/CacheDependency.php',
101 'HashBagOStuff' => 'includes/BagOStuff.php',
102 'HashtableReplacer' => 'includes/StringUtils.php',
103 'HistoryBlobCurStub' => 'includes/HistoryBlob.php',
104 'HistoryBlob' => 'includes/HistoryBlob.php',
105 'HistoryBlobStub' => 'includes/HistoryBlob.php',
106 'HistoryPage' => 'includes/HistoryPage.php',
107 'HistoryPager' => 'includes/HistoryPage.php',
108 'Html' => 'includes/Html.php',
109 'HTMLCacheUpdate' => 'includes/HTMLCacheUpdate.php',
110 'HTMLCacheUpdateJob' => 'includes/HTMLCacheUpdate.php',
111 'HTMLFileCache' => 'includes/HTMLFileCache.php',
112 'HTMLForm' => 'includes/HTMLForm.php',
113 'HTMLFormField' => 'includes/HTMLForm.php',
114 'HTMLTextField' => 'includes/HTMLForm.php',
115 'HTMLIntField' => 'includes/HTMLForm.php',
116 'HTMLTextAreaField' => 'includes/HTMLForm.php',
117 'HTMLFloatField' => 'includes/HTMLForm.php',
118 'HTMLHiddenField' => 'includes/HTMLForm.php',
119 'HTMLSubmitField' => 'includes/HTMLForm.php',
120 'HTMLEditTools' => 'includes/HTMLForm.php',
121 'HTMLCheckField' => 'includes/HTMLForm.php',
122 'HTMLSelectField' => 'includes/HTMLForm.php',
123 'HTMLSelectOrOtherField' => 'includes/HTMLForm.php',
124 'HTMLMultiSelectField' => 'includes/HTMLForm.php',
125 'HTMLRadioField' => 'includes/HTMLForm.php',
126 'HTMLInfoField' => 'includes/HTMLForm.php',
127 'Http' => 'includes/HttpFunctions.php',
128 'HttpRequest' => 'includes/HttpFunctions.php',
129 'ImageGallery' => 'includes/ImageGallery.php',
130 'ImageHistoryList' => 'includes/ImagePage.php',
131 'ImageHistoryPseudoPager' => 'includes/ImagePage.php',
132 'ImagePage' => 'includes/ImagePage.php',
133 'ImageQueryPage' => 'includes/ImageQueryPage.php',
134 'IncludableSpecialPage' => 'includes/SpecialPage.php',
135 'IndexPager' => 'includes/Pager.php',
136 'Interwiki' => 'includes/Interwiki.php',
137 'IP' => 'includes/IP.php',
138 'JSMin' => 'includes/JSMin.php',
139 'LCStore_DB' => 'includes/LocalisationCache.php',
140 'LCStore_CDB' => 'includes/LocalisationCache.php',
141 'LCStore_Null' => 'includes/LocalisationCache.php',
142 'License' => 'includes/Licenses.php',
143 'Licenses' => 'includes/Licenses.php',
144 'LinkBatch' => 'includes/LinkBatch.php',
145 'LinkCache' => 'includes/LinkCache.php',
146 'Linker' => 'includes/Linker.php',
147 'LinkFilter' => 'includes/LinkFilter.php',
148 'LinksUpdate' => 'includes/LinksUpdate.php',
149 'LocalisationCache' => 'includes/LocalisationCache.php',
150 'LocalisationCache_BulkLoad' => 'includes/LocalisationCache.php',
151 'LogPage' => 'includes/LogPage.php',
152 'LogPager' => 'includes/LogEventsList.php',
153 'LogEventsList' => 'includes/LogEventsList.php',
154 'LogReader' => 'includes/LogEventsList.php',
155 'LogViewer' => 'includes/LogEventsList.php',
156 'MacBinary' => 'includes/MacBinary.php',
157 'MagicWordArray' => 'includes/MagicWord.php',
158 'MagicWord' => 'includes/MagicWord.php',
159 'MailAddress' => 'includes/UserMailer.php',
160 'MathRenderer' => 'includes/Math.php',
161 'MediaWikiBagOStuff' => 'includes/BagOStuff.php',
162 'MediaWiki_I18N' => 'includes/SkinTemplate.php',
163 'MediaWiki' => 'includes/Wiki.php',
164 'MemCachedClientforWiki' => 'includes/memcached-client.php',
165 'Message' => 'includes/Message.php',
166 'MessageBlobStore' => 'includes/MessageBlobStore.php',
167 'MessageCache' => 'includes/MessageCache.php',
168 'MimeMagic' => 'includes/MimeMagic.php',
169 'MWException' => 'includes/Exception.php',
170 'MWMemcached' => 'includes/memcached-client.php',
171 'MWNamespace' => 'includes/Namespace.php',
172 'OldChangesList' => 'includes/ChangesList.php',
173 'OutputPage' => 'includes/OutputPage.php',
174 'PackageRepository' => 'includes/PackageRepository.php',
175 'PageQueryPage' => 'includes/PageQueryPage.php',
176 'PageHistory' => 'includes/HistoryPage.php',
177 'PageHistoryPager' => 'includes/HistoryPage.php',
178 'Pager' => 'includes/Pager.php',
179 'PasswordError' => 'includes/User.php',
180 'PatrolLog' => 'includes/PatrolLog.php',
181 'PoolCounter' => 'includes/PoolCounter.php',
182 'PoolCounter_Stub' => 'includes/PoolCounter.php',
183 'PoolCounterWork' => 'includes/PoolCounter.php',
184 'Preferences' => 'includes/Preferences.php',
185 'PrefixSearch' => 'includes/PrefixSearch.php',
186 'Profiler' => 'includes/Profiler.php',
187 'ProfilerSimple' => 'includes/ProfilerSimple.php',
188 'ProfilerSimpleText' => 'includes/ProfilerSimpleText.php',
189 'ProfilerSimpleUDP' => 'includes/ProfilerSimpleUDP.php',
190 'ProtectionForm' => 'includes/ProtectionForm.php',
191 'QueryPage' => 'includes/QueryPage.php',
192 'QuickTemplate' => 'includes/SkinTemplate.php',
193 'RawPage' => 'includes/RawPage.php',
194 'RCCacheEntry' => 'includes/ChangesList.php',
195 'RdfMetaData' => 'includes/Metadata.php',
196 'RecentChange' => 'includes/RecentChange.php',
197 'RegexlikeReplacer' => 'includes/StringUtils.php',
198 'ReplacementArray' => 'includes/StringUtils.php',
199 'Replacer' => 'includes/StringUtils.php',
200 'ResourceLoader' => 'includes/ResourceLoader.php',
201 'ResourceLoaderContext' => 'includes/ResourceLoaderContext.php',
202 'ResourceLoaderFileModule' => 'includes/ResourceLoaderModule.php',
203 'ResourceLoaderModule' => 'includes/ResourceLoaderModule.php',
204 'ResourceLoaderSiteModule' => 'includes/ResourceLoaderModule.php',
205 'ResourceLoaderStartUpModule' => 'includes/ResourceLoaderModule.php',
206 'ReverseChronologicalPager' => 'includes/Pager.php',
207 'Revision' => 'includes/Revision.php',
208 'RevisionDelete' => 'includes/RevisionDelete.php',
209 'RSSFeed' => 'includes/Feed.php',
210 'Sanitizer' => 'includes/Sanitizer.php',
211 'SiteConfiguration' => 'includes/SiteConfiguration.php',
212 'SiteStats' => 'includes/SiteStats.php',
213 'SiteStatsInit' => 'includes/SiteStats.php',
214 'SiteStatsUpdate' => 'includes/SiteStats.php',
215 'Skin' => 'includes/Skin.php',
216 'SkinTemplate' => 'includes/SkinTemplate.php',
217 'SpecialMycontributions' => 'includes/SpecialPage.php',
218 'SpecialMypage' => 'includes/SpecialPage.php',
219 'SpecialMytalk' => 'includes/SpecialPage.php',
220 'SpecialPage' => 'includes/SpecialPage.php',
221 'SpecialRedirectToSpecial' => 'includes/SpecialPage.php',
222 'SqlBagOStuff' => 'includes/BagOStuff.php',
223 'SquidUpdate' => 'includes/SquidUpdate.php',
224 'SquidPurgeClient' => 'includes/SquidPurgeClient.php',
225 'SquidPurgeClientPool' => 'includes/SquidPurgeClient.php',
226 'Status' => 'includes/Status.php',
227 'StubContLang' => 'includes/StubObject.php',
228 'StubUserLang' => 'includes/StubObject.php',
229 'StubObject' => 'includes/StubObject.php',
230 'StringUtils' => 'includes/StringUtils.php',
231 'TablePager' => 'includes/Pager.php',
232 'TitleDependency' => 'includes/CacheDependency.php',
233 'Title' => 'includes/Title.php',
234 'TitleArray' => 'includes/TitleArray.php',
235 'TitleArrayFromResult' => 'includes/TitleArray.php',
236 'TitleListDependency' => 'includes/CacheDependency.php',
237 'UnlistedSpecialPage' => 'includes/SpecialPage.php',
238 'User' => 'includes/User.php',
239 'UserArray' => 'includes/UserArray.php',
240 'UserArrayFromResult' => 'includes/UserArray.php',
241 'UserMailer' => 'includes/UserMailer.php',
242 'UserRightsProxy' => 'includes/UserRightsProxy.php',
243 'WantedQueryPage' => 'includes/QueryPage.php',
244 'WatchedItem' => 'includes/WatchedItem.php',
245 'WatchlistEditor' => 'includes/WatchlistEditor.php',
246 'WebRequest' => 'includes/WebRequest.php',
247 'WebRequestUpload' => 'includes/WebRequest.php',
248 'WebResponse' => 'includes/WebResponse.php',
249 'WikiError' => 'includes/WikiError.php',
250 'WikiErrorMsg' => 'includes/WikiError.php',
251 'WikiExporter' => 'includes/Export.php',
252 'WikiMap' => 'includes/WikiMap.php',
253 'WikiReference' => 'includes/WikiMap.php',
254 'WikiXmlError' => 'includes/WikiError.php',
255 'WinCacheBagOStuff' => 'includes/BagOStuff.php',
256 'XCacheBagOStuff' => 'includes/BagOStuff.php',
257 'XmlDumpWriter' => 'includes/Export.php',
258 'Xml' => 'includes/Xml.php',
259 'XmlSelect' => 'includes/Xml.php',
260 'XmlTypeCheck' => 'includes/XmlTypeCheck.php',
261 'ZhClient' => 'includes/ZhClient.php',
262
263 # includes/api
264 'ApiBase' => 'includes/api/ApiBase.php',
265 'ApiBlock' => 'includes/api/ApiBlock.php',
266 'ApiDelete' => 'includes/api/ApiDelete.php',
267 'ApiDisabled' => 'includes/api/ApiDisabled.php',
268 'ApiEditPage' => 'includes/api/ApiEditPage.php',
269 'ApiEmailUser' => 'includes/api/ApiEmailUser.php',
270 'ApiExpandTemplates' => 'includes/api/ApiExpandTemplates.php',
271 'ApiFeedWatchlist' => 'includes/api/ApiFeedWatchlist.php',
272 'ApiFormatBase' => 'includes/api/ApiFormatBase.php',
273 'ApiFormatDbg' => 'includes/api/ApiFormatDbg.php',
274 'ApiFormatDump' => 'includes/api/ApiFormatDump.php',
275 'ApiFormatFeedWrapper' => 'includes/api/ApiFormatBase.php',
276 'ApiFormatJson' => 'includes/api/ApiFormatJson.php',
277 'ApiFormatPhp' => 'includes/api/ApiFormatPhp.php',
278 'ApiFormatRaw' => 'includes/api/ApiFormatRaw.php',
279 'ApiFormatTxt' => 'includes/api/ApiFormatTxt.php',
280 'ApiFormatWddx' => 'includes/api/ApiFormatWddx.php',
281 'ApiFormatXml' => 'includes/api/ApiFormatXml.php',
282 'ApiFormatYaml' => 'includes/api/ApiFormatYaml.php',
283 'ApiHelp' => 'includes/api/ApiHelp.php',
284 'ApiImport' => 'includes/api/ApiImport.php',
285 'ApiImportReporter' => 'includes/api/ApiImport.php',
286 'ApiLogin' => 'includes/api/ApiLogin.php',
287 'ApiLogout' => 'includes/api/ApiLogout.php',
288 'ApiMain' => 'includes/api/ApiMain.php',
289 'ApiMove' => 'includes/api/ApiMove.php',
290 'ApiOpenSearch' => 'includes/api/ApiOpenSearch.php',
291 'ApiPageSet' => 'includes/api/ApiPageSet.php',
292 'ApiParamInfo' => 'includes/api/ApiParamInfo.php',
293 'ApiParse' => 'includes/api/ApiParse.php',
294 'ApiPatrol' => 'includes/api/ApiPatrol.php',
295 'ApiProtect' => 'includes/api/ApiProtect.php',
296 'ApiPurge' => 'includes/api/ApiPurge.php',
297 'ApiQuery' => 'includes/api/ApiQuery.php',
298 'ApiQueryAllCategories' => 'includes/api/ApiQueryAllCategories.php',
299 'ApiQueryAllimages' => 'includes/api/ApiQueryAllimages.php',
300 'ApiQueryAllLinks' => 'includes/api/ApiQueryAllLinks.php',
301 'ApiQueryAllUsers' => 'includes/api/ApiQueryAllUsers.php',
302 'ApiQueryAllmessages' => 'includes/api/ApiQueryAllmessages.php',
303 'ApiQueryAllpages' => 'includes/api/ApiQueryAllpages.php',
304 'ApiQueryBacklinks' => 'includes/api/ApiQueryBacklinks.php',
305 'ApiQueryBase' => 'includes/api/ApiQueryBase.php',
306 'ApiQueryBlocks' => 'includes/api/ApiQueryBlocks.php',
307 'ApiQueryCategories' => 'includes/api/ApiQueryCategories.php',
308 'ApiQueryCategoryInfo' => 'includes/api/ApiQueryCategoryInfo.php',
309 'ApiQueryCategoryMembers' => 'includes/api/ApiQueryCategoryMembers.php',
310 'ApiQueryContributions' => 'includes/api/ApiQueryUserContributions.php',
311 'ApiQueryDeletedrevs' => 'includes/api/ApiQueryDeletedrevs.php',
312 'ApiQueryDisabled' => 'includes/api/ApiQueryDisabled.php',
313 'ApiQueryDuplicateFiles' => 'includes/api/ApiQueryDuplicateFiles.php',
314 'ApiQueryExtLinksUsage' => 'includes/api/ApiQueryExtLinksUsage.php',
315 'ApiQueryFilearchive' => 'includes/api/ApiQueryFilearchive.php',
316 'ApiQueryExternalLinks' => 'includes/api/ApiQueryExternalLinks.php',
317 'ApiQueryGeneratorBase' => 'includes/api/ApiQueryBase.php',
318 'ApiQueryImageInfo' => 'includes/api/ApiQueryImageInfo.php',
319 'ApiQueryImages' => 'includes/api/ApiQueryImages.php',
320 'ApiQueryInfo' => 'includes/api/ApiQueryInfo.php',
321 'ApiQueryIWLinks' => 'includes/api/ApiQueryIWLinks.php',
322 'ApiQueryIWBacklinks' => 'includes/api/ApiQueryIWBacklinks.php',
323 'ApiQueryLangLinks' => 'includes/api/ApiQueryLangLinks.php',
324 'ApiQueryLinks' => 'includes/api/ApiQueryLinks.php',
325 'ApiQueryLogEvents' => 'includes/api/ApiQueryLogEvents.php',
326 'ApiQueryPageProps' => 'includes/api/ApiQueryPageProps.php',
327 'ApiQueryProtectedTitles' => 'includes/api/ApiQueryProtectedTitles.php',
328 'ApiQueryRandom' => 'includes/api/ApiQueryRandom.php',
329 'ApiQueryRecentChanges' => 'includes/api/ApiQueryRecentChanges.php',
330 'ApiQueryRevisions' => 'includes/api/ApiQueryRevisions.php',
331 'ApiQuerySearch' => 'includes/api/ApiQuerySearch.php',
332 'ApiQuerySiteinfo' => 'includes/api/ApiQuerySiteinfo.php',
333 'ApiQueryTags' => 'includes/api/ApiQueryTags.php',
334 'ApiQueryUserInfo' => 'includes/api/ApiQueryUserInfo.php',
335 'ApiQueryUsers' => 'includes/api/ApiQueryUsers.php',
336 'ApiQueryWatchlist' => 'includes/api/ApiQueryWatchlist.php',
337 'ApiQueryWatchlistRaw' => 'includes/api/ApiQueryWatchlistRaw.php',
338 'ApiResult' => 'includes/api/ApiResult.php',
339 'ApiRollback' => 'includes/api/ApiRollback.php',
340 'ApiUnblock' => 'includes/api/ApiUnblock.php',
341 'ApiUndelete' => 'includes/api/ApiUndelete.php',
342 'ApiUserrights' => 'includes/api/ApiUserrights.php',
343 'ApiUpload' => 'includes/api/ApiUpload.php',
344 'ApiWatch' => 'includes/api/ApiWatch.php',
345
346 'UsageException' => 'includes/api/ApiMain.php',
347
348 # includes/extauth
349 'ExternalUser_Hardcoded' => 'includes/extauth/Hardcoded.php',
350 'ExternalUser_MediaWiki' => 'includes/extauth/MediaWiki.php',
351 'ExternalUser_vB' => 'includes/extauth/vB.php',
352
353 # includes/json
354 'Services_JSON' => 'includes/json/Services_JSON.php',
355 'Services_JSON_Error' => 'includes/json/Services_JSON.php',
356 'FormatJson' => 'includes/json/FormatJson.php',
357
358 # includes/db
359 'Blob' => 'includes/db/Database.php',
360 'ChronologyProtector' => 'includes/db/LBFactory.php',
361 'Database' => 'includes/db/DatabaseMysql.php',
362 'DatabaseBase' => 'includes/db/Database.php',
363 'DatabaseMssql' => 'includes/db/DatabaseMssql.php',
364 'DatabaseMysql' => 'includes/db/DatabaseMysql.php',
365 'DatabaseOracle' => 'includes/db/DatabaseOracle.php',
366 'DatabasePostgres' => 'includes/db/DatabasePostgres.php',
367 'DatabaseSqlite' => 'includes/db/DatabaseSqlite.php',
368 'DatabaseSqliteStandalone' => 'includes/db/DatabaseSqlite.php',
369 'DatabaseType' => 'includes/db/DatabaseType.php',
370 'DBConnectionError' => 'includes/db/Database.php',
371 'DBError' => 'includes/db/Database.php',
372 'DBObject' => 'includes/db/Database.php',
373 'DBQueryError' => 'includes/db/Database.php',
374 'DBUnexpectedError' => 'includes/db/Database.php',
375 'FakeResultWrapper' => 'includes/db/Database.php',
376 'IBM_DB2Blob' => 'includes/db/DatabaseIbm_db2.php',
377 'LBFactory' => 'includes/db/LBFactory.php',
378 'LBFactory_Multi' => 'includes/db/LBFactory_Multi.php',
379 'LBFactory_Simple' => 'includes/db/LBFactory.php',
380 'LikeMatch' => 'includes/db/Database.php',
381 'LoadBalancer' => 'includes/db/LoadBalancer.php',
382 'LoadMonitor' => 'includes/db/LoadMonitor.php',
383 'LoadMonitor_MySQL' => 'includes/db/LoadMonitor.php',
384 'MySQLField' => 'includes/db/Database.php',
385 'MySQLMasterPos' => 'includes/db/DatabaseMysql.php',
386 'ORABlob' => 'includes/db/DatabaseOracle.php',
387 'ORAField' => 'includes/db/DatabaseOracle.php',
388 'ORAResult' => 'includes/db/DatabaseOracle.php',
389 'PostgresField' => 'includes/db/DatabasePostgres.php',
390 'ResultWrapper' => 'includes/db/Database.php',
391 'SQLiteField' => 'includes/db/DatabaseSqlite.php',
392 'DatabaseIbm_db2' => 'includes/db/DatabaseIbm_db2.php',
393 'IBM_DB2Field' => 'includes/db/DatabaseIbm_db2.php',
394
395 # includes/diff
396 'ArrayDiffFormatter' => 'includes/diff/DifferenceEngine.php',
397 '_DiffEngine' => 'includes/diff/DifferenceEngine.php',
398 'DifferenceEngine' => 'includes/diff/DifferenceInterface.php',
399 'DiffFormatter' => 'includes/diff/DifferenceEngine.php',
400 'Diff' => 'includes/diff/DifferenceEngine.php',
401 '_DiffOp_Add' => 'includes/diff/DifferenceEngine.php',
402 '_DiffOp_Change' => 'includes/diff/DifferenceEngine.php',
403 '_DiffOp_Copy' => 'includes/diff/DifferenceEngine.php',
404 '_DiffOp_Delete' => 'includes/diff/DifferenceEngine.php',
405 '_DiffOp' => 'includes/diff/DifferenceEngine.php',
406 '_HWLDF_WordAccumulator' => 'includes/diff/DifferenceEngine.php',
407 'MappedDiff' => 'includes/diff/DifferenceEngine.php',
408 'RangeDifference' => 'includes/diff/Diff.php',
409 'TableDiffFormatter' => 'includes/diff/DifferenceEngine.php',
410 'UnifiedDiffFormatter' => 'includes/diff/DifferenceEngine.php',
411 'WikiDiff3' => 'includes/diff/Diff.php',
412 'WordLevelDiff' => 'includes/diff/DifferenceEngine.php',
413
414 # includes/filerepo
415 'ArchivedFile' => 'includes/filerepo/ArchivedFile.php',
416 'File' => 'includes/filerepo/File.php',
417 'FileRepo' => 'includes/filerepo/FileRepo.php',
418 'FileRepoStatus' => 'includes/filerepo/FileRepoStatus.php',
419 'ForeignAPIFile' => 'includes/filerepo/ForeignAPIFile.php',
420 'ForeignAPIRepo' => 'includes/filerepo/ForeignAPIRepo.php',
421 'ForeignDBFile' => 'includes/filerepo/ForeignDBFile.php',
422 'ForeignDBRepo' => 'includes/filerepo/ForeignDBRepo.php',
423 'ForeignDBViaLBRepo' => 'includes/filerepo/ForeignDBViaLBRepo.php',
424 'FSRepo' => 'includes/filerepo/FSRepo.php',
425 'Image' => 'includes/filerepo/Image.php',
426 'LocalFile' => 'includes/filerepo/LocalFile.php',
427 'LocalFileDeleteBatch' => 'includes/filerepo/LocalFile.php',
428 'LocalFileMoveBatch' => 'includes/filerepo/LocalFile.php',
429 'LocalFileRestoreBatch' => 'includes/filerepo/LocalFile.php',
430 'LocalRepo' => 'includes/filerepo/LocalRepo.php',
431 'OldLocalFile' => 'includes/filerepo/OldLocalFile.php',
432 'RepoGroup' => 'includes/filerepo/RepoGroup.php',
433 'UnregisteredLocalFile' => 'includes/filerepo/UnregisteredLocalFile.php',
434
435 # includes/installer
436 'CliInstaller' => 'includes/installer/CliInstaller.php',
437 'Installer' => 'includes/installer/Installer.php',
438 'CoreInstaller' => 'includes/installer/CoreInstaller.php',
439 'DatabaseInstaller' => 'includes/installer/DatabaseInstaller.php',
440 'DatabaseUpdater' => 'includes/installer/DatabaseUpdater.php',
441 'LBFactory_InstallerFake' => 'includes/installer/Installer.php',
442 'LocalSettingsGenerator' => 'includes/installer/LocalSettingsGenerator.php',
443 'WebInstaller' => 'includes/installer/WebInstaller.php',
444 'WebInstallerPage' => 'includes/installer/WebInstallerPage.php',
445 'WebInstallerOutput' => 'includes/installer/WebInstallerOutput.php',
446 'MysqlInstaller' => 'includes/installer/MysqlInstaller.php',
447 'MysqlUpdater' => 'includes/installer/MysqlUpdater.php',
448 'PostgresInstaller' => 'includes/installer/PostgresInstaller.php',
449 'PostgresUpdater' => 'includes/installer/PostgresUpdater.php',
450 'SqliteInstaller' => 'includes/installer/SqliteInstaller.php',
451 'SqliteUpdater' => 'includes/installer/SqliteUpdater.php',
452 'OracleInstaller' => 'includes/installer/OracleInstaller.php',
453 'OracleUpdater' => 'includes/installer/OracleUpdater.php',
454 'Update' => 'includes/installer/Update.php',
455
456 # includes/job
457 'DoubleRedirectJob' => 'includes/job/DoubleRedirectJob.php',
458 'EmaillingJob' => 'includes/job/EmaillingJob.php',
459 'EnotifNotifyJob' => 'includes/job/EnotifNotifyJob.php',
460 'Job' => 'includes/job/JobQueue.php',
461 'RefreshLinksJob' => 'includes/job/RefreshLinksJob.php',
462 'RefreshLinksJob2' => 'includes/job/RefreshLinksJob.php',
463 'UploadFromUrlJob' => 'includes/job/UploadFromUrlJob.php',
464
465 # includes/libs
466 'IEContentAnalyzer' => 'includes/libs/IEContentAnalyzer.php',
467 'Spyc' => 'includes/libs/spyc.php',
468
469 # includes/media
470 'BitmapHandler' => 'includes/media/Bitmap.php',
471 'BitmapHandler_ClientOnly' => 'includes/media/Bitmap_ClientOnly.php',
472 'BmpHandler' => 'includes/media/BMP.php',
473 'DjVuHandler' => 'includes/media/DjVu.php',
474 'GIFHandler' => 'includes/media/GIF.php',
475 'GIFMetadataExtractor' => 'includes/media/GIFMetadataExtractor.php',
476 'ImageHandler' => 'includes/media/Generic.php',
477 'MediaHandler' => 'includes/media/Generic.php',
478 'MediaTransformError' => 'includes/media/MediaTransformOutput.php',
479 'MediaTransformOutput' => 'includes/media/MediaTransformOutput.php',
480 'PNGHandler' => 'includes/media/PNG.php',
481 'PNGMetadataExtractor' => 'includes/media/PNGMetadataExtractor.php',
482 'SvgHandler' => 'includes/media/SVG.php',
483 'ThumbnailImage' => 'includes/media/MediaTransformOutput.php',
484 'TiffHandler' => 'includes/media/Tiff.php',
485 'TransformParameterError' => 'includes/media/MediaTransformOutput.php',
486
487 # includes/normal
488 'UtfNormal' => 'includes/normal/UtfNormal.php',
489
490 # includes/parser
491 'CoreLinkFunctions' => 'includes/parser/CoreLinkFunctions.php',
492 'CoreParserFunctions' => 'includes/parser/CoreParserFunctions.php',
493 'CoreTagHooks' => 'includes/parser/CoreTagHooks.php',
494 'DateFormatter' => 'includes/parser/DateFormatter.php',
495 'LinkHolderArray' => 'includes/parser/LinkHolderArray.php',
496 'LinkMarkerReplacer' => 'includes/parser/Parser_LinkHooks.php',
497 'OnlyIncludeReplacer' => 'includes/parser/Parser.php',
498 'PPCustomFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
499 'PPCustomFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
500 'PPDAccum_Hash' => 'includes/parser/Preprocessor_Hash.php',
501 'PPDPart' => 'includes/parser/Preprocessor_DOM.php',
502 'PPDPart_Hash' => 'includes/parser/Preprocessor_Hash.php',
503 'PPDStack' => 'includes/parser/Preprocessor_DOM.php',
504 'PPDStackElement' => 'includes/parser/Preprocessor_DOM.php',
505 'PPDStackElement_Hash' => 'includes/parser/Preprocessor_Hash.php',
506 'PPDStack_Hash' => 'includes/parser/Preprocessor_Hash.php',
507 'PPFrame' => 'includes/parser/Preprocessor.php',
508 'PPFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
509 'PPFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
510 'PPNode' => 'includes/parser/Preprocessor.php',
511 'PPNode_DOM' => 'includes/parser/Preprocessor_DOM.php',
512 'PPNode_Hash_Array' => 'includes/parser/Preprocessor_Hash.php',
513 'PPNode_Hash_Attr' => 'includes/parser/Preprocessor_Hash.php',
514 'PPNode_Hash_Text' => 'includes/parser/Preprocessor_Hash.php',
515 'PPNode_Hash_Tree' => 'includes/parser/Preprocessor_Hash.php',
516 'PPTemplateFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
517 'PPTemplateFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
518 'Parser' => 'includes/parser/Parser.php',
519 'ParserCache' => 'includes/parser/ParserCache.php',
520 'ParserOptions' => 'includes/parser/ParserOptions.php',
521 'ParserOutput' => 'includes/parser/ParserOutput.php',
522 'Parser_DiffTest' => 'includes/parser/Parser_DiffTest.php',
523 'Parser_LinkHooks' => 'includes/parser/Parser_LinkHooks.php',
524 'Preprocessor' => 'includes/parser/Preprocessor.php',
525 'Preprocessor_DOM' => 'includes/parser/Preprocessor_DOM.php',
526 'Preprocessor_Hash' => 'includes/parser/Preprocessor_Hash.php',
527 'StripState' => 'includes/parser/Parser.php',
528 'MWTidy' => 'includes/parser/Tidy.php',
529
530 # includes/search
531 'MySQLSearchResultSet' => 'includes/search/SearchMySQL.php',
532 'PostgresSearchResult' => 'includes/search/SearchPostgres.php',
533 'PostgresSearchResultSet' => 'includes/search/SearchPostgres.php',
534 'SearchEngineDummy' => 'includes/search/SearchEngine.php',
535 'SearchEngine' => 'includes/search/SearchEngine.php',
536 'SearchHighlighter' => 'includes/search/SearchEngine.php',
537 'SearchIBM_DB2' => 'includes/search/SearchIBM_DB2.php',
538 'SearchMssql' => 'includes/search/SearchMssql.php',
539 'SearchMySQL' => 'includes/search/SearchMySQL.php',
540 'SearchOracle' => 'includes/search/SearchOracle.php',
541 'SearchPostgres' => 'includes/search/SearchPostgres.php',
542 'SearchResult' => 'includes/search/SearchEngine.php',
543 'SearchResultSet' => 'includes/search/SearchEngine.php',
544 'SearchResultTooMany' => 'includes/search/SearchEngine.php',
545 'SearchSqlite' => 'includes/search/SearchSqlite.php',
546 'SearchUpdate' => 'includes/search/SearchUpdate.php',
547 'SearchUpdateMyISAM' => 'includes/search/SearchUpdate.php',
548 'SqliteSearchResultSet' => 'includes/search/SearchSqlite.php',
549 'SqlSearchResultSet' => 'includes/search/SearchEngine.php',
550
551 # includes/specials
552 'SpecialAllmessages' => 'includes/specials/SpecialAllmessages.php',
553 'ActiveUsersPager' => 'includes/specials/SpecialActiveusers.php',
554 'AllmessagesTablePager' => 'includes/specials/SpecialAllmessages.php',
555 'AncientPagesPage' => 'includes/specials/SpecialAncientpages.php',
556 'BrokenRedirectsPage' => 'includes/specials/SpecialBrokenRedirects.php',
557 'ContribsPager' => 'includes/specials/SpecialContributions.php',
558 'DBLockForm' => 'includes/specials/SpecialLockdb.php',
559 'DBUnlockForm' => 'includes/specials/SpecialUnlockdb.php',
560 'DeadendPagesPage' => 'includes/specials/SpecialDeadendpages.php',
561 'DeletedContributionsPage' => 'includes/specials/SpecialDeletedContributions.php',
562 'DeletedContribsPager' => 'includes/specials/SpecialDeletedContributions.php',
563 'DisambiguationsPage' => 'includes/specials/SpecialDisambiguations.php',
564 'DoubleRedirectsPage' => 'includes/specials/SpecialDoubleRedirects.php',
565 'EmailConfirmation' => 'includes/specials/SpecialConfirmemail.php',
566 'EmailInvalidation' => 'includes/specials/SpecialConfirmemail.php',
567 'SpecialEmailUser' => 'includes/specials/SpecialEmailuser.php',
568 'FewestrevisionsPage' => 'includes/specials/SpecialFewestrevisions.php',
569 'FileDuplicateSearchPage' => 'includes/specials/SpecialFileDuplicateSearch.php',
570 'IPBlockForm' => 'includes/specials/SpecialBlockip.php',
571 'IPBlocklistPager' => 'includes/specials/SpecialIpblocklist.php',
572 'IPUnblockForm' => 'includes/specials/SpecialIpblocklist.php',
573 'ImportReporter' => 'includes/specials/SpecialImport.php',
574 'ImportStreamSource' => 'includes/Import.php',
575 'ImportStringSource' => 'includes/Import.php',
576 'LinkSearchPage' => 'includes/specials/SpecialLinkSearch.php',
577 'ListredirectsPage' => 'includes/specials/SpecialListredirects.php',
578 'LoginForm' => 'includes/specials/SpecialUserlogin.php',
579 'LonelyPagesPage' => 'includes/specials/SpecialLonelypages.php',
580 'LongPagesPage' => 'includes/specials/SpecialLongpages.php',
581 'MIMEsearchPage' => 'includes/specials/SpecialMIMEsearch.php',
582 'MostcategoriesPage' => 'includes/specials/SpecialMostcategories.php',
583 'MostimagesPage' => 'includes/specials/SpecialMostimages.php',
584 'MostlinkedCategoriesPage' => 'includes/specials/SpecialMostlinkedcategories.php',
585 'MostlinkedPage' => 'includes/specials/SpecialMostlinked.php',
586 'MostrevisionsPage' => 'includes/specials/SpecialMostrevisions.php',
587 'MovePageForm' => 'includes/specials/SpecialMovepage.php',
588 'SpecialNewpages' => 'includes/specials/SpecialNewpages.php',
589 'SpecialContributions' => 'includes/specials/SpecialContributions.php',
590 'NewPagesPager' => 'includes/specials/SpecialNewpages.php',
591 'PageArchive' => 'includes/specials/SpecialUndelete.php',
592 'SpecialResetpass' => 'includes/specials/SpecialResetpass.php',
593 'PopularPagesPage' => 'includes/specials/SpecialPopularpages.php',
594 'PreferencesForm' => 'includes/Preferences.php',
595 'RandomPage' => 'includes/specials/SpecialRandompage.php',
596 'SpecialRevisionDelete' => 'includes/specials/SpecialRevisiondelete.php',
597 'RevisionDeleter' => 'includes/RevisionDelete.php',
598 'RevDel_RevisionList' => 'includes/RevisionDelete.php',
599 'RevDel_RevisionItem' => 'includes/RevisionDelete.php',
600 'RevDel_ArchiveList' => 'includes/RevisionDelete.php',
601 'RevDel_ArchiveItem' => 'includes/RevisionDelete.php',
602 'RevDel_FileList' => 'includes/RevisionDelete.php',
603 'RevDel_FileItem' => 'includes/RevisionDelete.php',
604 'RevDel_ArchivedFileList' => 'includes/RevisionDelete.php',
605 'RevDel_ArchivedFileItem' => 'includes/RevisionDelete.php',
606 'RevDel_LogList' => 'includes/RevisionDelete.php',
607 'RevDel_LogItem' => 'includes/RevisionDelete.php',
608 'SpecialRevisionMove' => 'includes/specials/SpecialRevisionMove.php',
609 'ShortPagesPage' => 'includes/specials/SpecialShortpages.php',
610 'SpecialActiveUsers' => 'includes/specials/SpecialActiveusers.php',
611 'SpecialAllpages' => 'includes/specials/SpecialAllpages.php',
612 'SpecialBlankpage' => 'includes/specials/SpecialBlankpage.php',
613 'SpecialBlockme' => 'includes/specials/SpecialBlockme.php',
614 'SpecialBookSources' => 'includes/specials/SpecialBooksources.php',
615 'SpecialCategories' => 'includes/specials/SpecialCategories.php',
616 'SpecialComparePages' => 'includes/specials/SpecialComparePages.php',
617 'SpecialExport' => 'includes/specials/SpecialExport.php',
618 'SpecialFilepath' => 'includes/specials/SpecialFilepath.php',
619 'SpecialImport' => 'includes/specials/SpecialImport.php',
620 'SpecialListGroupRights' => 'includes/specials/SpecialListgrouprights.php',
621 'SpecialLockdb' => 'includes/specials/SpecialLockdb.php',
622 'SpecialLog' => 'includes/specials/SpecialLog.php',
623 'SpecialMergeHistory' => 'includes/specials/SpecialMergeHistory.php',
624 'SpecialMostlinkedtemplates' => 'includes/specials/SpecialMostlinkedtemplates.php',
625 'SpecialPreferences' => 'includes/specials/SpecialPreferences.php',
626 'SpecialPrefixindex' => 'includes/specials/SpecialPrefixindex.php',
627 'SpecialProtectedpages' => 'includes/specials/SpecialProtectedpages.php',
628 'SpecialProtectedtitles' => 'includes/specials/SpecialProtectedtitles.php',
629 'SpecialRandomredirect' => 'includes/specials/SpecialRandomredirect.php',
630 'SpecialRecentChanges' => 'includes/specials/SpecialRecentchanges.php',
631 'SpecialRecentchangeslinked' => 'includes/specials/SpecialRecentchangeslinked.php',
632 'SpecialSearch' => 'includes/specials/SpecialSearch.php',
633 'SpecialSelenium' => 'includes/specials/SpecialSelenium.php',
634 'SpecialSpecialpages' => 'includes/specials/SpecialSpecialpages.php',
635 'SpecialStatistics' => 'includes/specials/SpecialStatistics.php',
636 'SpecialTags' => 'includes/specials/SpecialTags.php',
637 'SpecialUnlockdb' => 'includes/specials/SpecialUnlockdb.php',
638 'SpecialUpload' => 'includes/specials/SpecialUpload.php',
639 'SpecialUserlogout' => 'includes/specials/SpecialUserlogout.php',
640 'SpecialVersion' => 'includes/specials/SpecialVersion.php',
641 'SpecialWhatlinkshere' => 'includes/specials/SpecialWhatlinkshere.php',
642 'SpecialWhatLinksHere' => 'includes/specials/SpecialWhatlinkshere.php',
643 'UncategorizedCategoriesPage' => 'includes/specials/SpecialUncategorizedcategories.php',
644 'UncategorizedPagesPage' => 'includes/specials/SpecialUncategorizedpages.php',
645 'UncategorizedTemplatesPage' => 'includes/specials/SpecialUncategorizedtemplates.php',
646 'UndeleteForm' => 'includes/specials/SpecialUndelete.php',
647 'UnusedCategoriesPage' => 'includes/specials/SpecialUnusedcategories.php',
648 'UnusedimagesPage' => 'includes/specials/SpecialUnusedimages.php',
649 'UnusedtemplatesPage' => 'includes/specials/SpecialUnusedtemplates.php',
650 'UnwatchedpagesPage' => 'includes/specials/SpecialUnwatchedpages.php',
651 'UploadForm' => 'includes/specials/SpecialUpload.php',
652 'UploadSourceField' => 'includes/specials/SpecialUpload.php',
653 'UserrightsPage' => 'includes/specials/SpecialUserrights.php',
654 'UsersPager' => 'includes/specials/SpecialListusers.php',
655 'WantedCategoriesPage' => 'includes/specials/SpecialWantedcategories.php',
656 'WantedFilesPage' => 'includes/specials/SpecialWantedfiles.php',
657 'WantedPagesPage' => 'includes/specials/SpecialWantedpages.php',
658 'WantedTemplatesPage' => 'includes/specials/SpecialWantedtemplates.php',
659 'WhatLinksHerePage' => 'includes/specials/SpecialWhatlinkshere.php',
660 'WikiImporter' => 'includes/ImportXMLReader.php',
661 'WikiRevision' => 'includes/Import.php',
662 'WithoutInterwikiPage' => 'includes/specials/SpecialWithoutinterwiki.php',
663
664 # includes/templates
665 'UsercreateTemplate' => 'includes/templates/Userlogin.php',
666 'UserloginTemplate' => 'includes/templates/Userlogin.php',
667
668 # includes/upload
669 'UploadBase' => 'includes/upload/UploadBase.php',
670 'UploadFromStash' => 'includes/upload/UploadFromStash.php',
671 'UploadFromFile' => 'includes/upload/UploadFromFile.php',
672 'UploadFromUrl' => 'includes/upload/UploadFromUrl.php',
673
674 # languages
675 'Language' => 'languages/Language.php',
676 'FakeConverter' => 'languages/Language.php',
677 'LanguageConverter' => 'languages/LanguageConverter.php',
678
679 # maintenance
680 'AnsiTermColorer' => 'maintenance/parserTests.inc',
681 'DbTestPreviewer' => 'maintenance/parserTests.inc',
682 'DbTestRecorder' => 'maintenance/parserTests.inc',
683 'DeleteArchivedFilesImplementation' => 'maintenance/deleteArchivedFiles.inc',
684 'DeleteArchivedRevisionsImplementation' => 'maintenance/deleteArchivedRevisions.inc',
685 'DeleteDefaultMessages' => 'maintenance/deleteDefaultMessages.php',
686 'DummyTermColorer' => 'maintenance/parserTests.inc',
687 'ParserTest' => 'maintenance/parserTests.inc',
688 'ParserTestParserHook' => 'maintenance/parserTestsParserHook.php',
689 'ParserTestStaticParserHook' => 'maintenance/parserTestsStaticParserHook.php',
690 'RemoteTestRecorder' => 'maintenance/parserTests.inc',
691 'SevenZipStream' => 'maintenance/7zip.inc',
692 'Sqlite' => 'maintenance/sqlite.inc',
693 'TestFileIterator' => 'maintenance/parserTests.inc',
694 'TestRecorder' => 'maintenance/parserTests.inc',
695
696 # maintenance/tests
697 'ApiTestSetup' => 'maintenance/tests/ApiSetup.php',
698 'MediaWikiTestSetup' => 'maintenance/tests/MediaWiki_Setup.php',
699 'PHPUnitTestRecorder' => 'maintenance/tests/ParserHelpers.php',
700 'ParserTestSuiteBackend' => 'maintenance/tests/ParserHelpers.php',
701 'ParserUnitTest' => 'maintenance/tests/ParserHelpers.php',
702 'SearchEngineTest' => 'maintenance/tests/SearchEngineTest.php',
703 'UploadFromUrlTest' => 'maintenance/tests/UploadFromUrlTest.php',
704
705 # maintenance/tests/selenium
706 'SimpleSeleniumTestSuite' => 'maintenance/tests/selenium/SimpleSeleniumTestSuite.php',
707 'Selenium' => 'maintenance/tests/selenium/Selenium.php',
708 'SeleniumLoader' => 'maintenance/tests/selenium/SeleniumLoader.php',
709 'SeleniumTestCase' => 'maintenance/tests/selenium/SeleniumTestCase.php',
710 'SeleniumTestConsoleLogger' => 'maintenance/tests/selenium/SeleniumTestConsoleLogger.php',
711 'SeleniumTestHTMLLogger' => 'maintenance/tests/selenium/SeleniumTestHTMLLogger.php',
712 'SeleniumTestListener' => 'maintenance/tests/selenium/SeleniumTestListener.php',
713 'SeleniumTestSuite' => 'maintenance/tests/selenium/SeleniumTestSuite.php',
714
715 # maintenance/language
716 'csvStatsOutput' => 'maintenance/language/StatOutputs.php',
717 'statsOutput' => 'maintenance/language/StatOutputs.php',
718 'textStatsOutput' => 'maintenance/language/StatOutputs.php',
719 'wikiStatsOutput' => 'maintenance/language/StatOutputs.php',
720 );
721
722 class AutoLoader {
723 /**
724 * autoload - take a class name and attempt to load it
725 *
726 * @param $className String: name of class we're looking for.
727 * @return bool Returning false is important on failure as
728 * it allows Zend to try and look in other registered autoloaders
729 * as well.
730 */
731 static function autoload( $className ) {
732 global $wgAutoloadClasses, $wgAutoloadLocalClasses;
733
734 if ( isset( $wgAutoloadLocalClasses[$className] ) ) {
735 $filename = $wgAutoloadLocalClasses[$className];
736 } elseif ( isset( $wgAutoloadClasses[$className] ) ) {
737 $filename = $wgAutoloadClasses[$className];
738 } else {
739 # Try a different capitalisation
740 # The case can sometimes be wrong when unserializing PHP 4 objects
741 $filename = false;
742 $lowerClass = strtolower( $className );
743
744 foreach ( $wgAutoloadLocalClasses as $class2 => $file2 ) {
745 if ( strtolower( $class2 ) == $lowerClass ) {
746 $filename = $file2;
747 }
748 }
749
750 if ( !$filename ) {
751 if ( function_exists( 'wfDebug' ) )
752 wfDebug( "Class {$className} not found; skipped loading\n" );
753
754 # Give up
755 return false;
756 }
757 }
758
759 # Make an absolute path, this improves performance by avoiding some stat calls
760 if ( substr( $filename, 0, 1 ) != '/' && substr( $filename, 1, 1 ) != ':' ) {
761 global $IP;
762 $filename = "$IP/$filename";
763 }
764
765 require( $filename );
766
767 return true;
768 }
769
770 static function loadAllExtensions() {
771 global $wgAutoloadClasses;
772
773 foreach ( $wgAutoloadClasses as $class => $file ) {
774 if ( !( class_exists( $class, false ) || interface_exists( $class, false ) ) ) {
775 require( $file );
776 }
777 }
778 }
779
780 /**
781 * Force a class to be run through the autoloader, helpful for things like
782 * Sanitizer that have define()s outside of their class definition. Of course
783 * this wouldn't be necessary if everything in MediaWiki was class-based. Sigh.
784 *
785 * @return Boolean Return the results of class_exists() so we know if we were successful
786 */
787 static function loadClass( $class ) {
788 return class_exists( $class );
789 }
790 }
791
792 function wfLoadAllExtensions() {
793 AutoLoader::loadAllExtensions();
794 }
795
796 if ( function_exists( 'spl_autoload_register' ) ) {
797 spl_autoload_register( array( 'AutoLoader', 'autoload' ) );
798 } else {
799 function __autoload( $class ) {
800 AutoLoader::autoload( $class );
801 }
802
803 ini_set( 'unserialize_callback_func', '__autoload' );
804 }