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