3 /* This defines autoloading handler for whole MediaWiki framework */
5 ini_set('unserialize_callback_func', '__autoload' );
7 # Locations of core classes
8 # Extension classes are specified with $wgAutoloadClasses
9 # This array is a global instead of a static member of AutoLoader to work around a bug in APC
10 global $wgAutoloadLocalClasses;
11 $wgAutoloadLocalClasses = array(
13 'AjaxDispatcher' => 'includes/AjaxDispatcher.php',
14 'AjaxResponse' => 'includes/AjaxResponse.php',
15 'AlphabeticPager' => 'includes/Pager.php',
16 'APCBagOStuff' => 'includes/BagOStuff.php',
17 'Article' => 'includes/Article.php',
18 'AtomFeed' => 'includes/Feed.php',
19 'AuthPlugin' => 'includes/AuthPlugin.php',
20 'AuthPluginUser' => 'includes/AuthPlugin.php',
21 'Autopromote' => 'includes/Autopromote.php',
22 'BacklinkCache' => 'includes/BacklinkCache.php',
23 'BagOStuff' => 'includes/BagOStuff.php',
24 'Block' => 'includes/Block.php',
25 'CacheDependency' => 'includes/CacheDependency.php',
26 'Category' => 'includes/Category.php',
27 'Categoryfinder' => 'includes/Categoryfinder.php',
28 'CategoryPage' => 'includes/CategoryPage.php',
29 'CategoryViewer' => 'includes/CategoryPage.php',
30 'CdbFunctions' => 'includes/Cdb_PHP.php',
31 'CdbReader' => 'includes/Cdb.php',
32 'CdbReader_DBA' => 'includes/Cdb.php',
33 'CdbReader_PHP' => 'includes/Cdb_PHP.php',
34 'CdbWriter' => 'includes/Cdb.php',
35 'CdbWriter_DBA' => 'includes/Cdb.php',
36 'CdbWriter_PHP' => 'includes/Cdb_PHP.php',
37 'ChangesList' => 'includes/ChangesList.php',
38 'ChangesFeed' => 'includes/ChangesFeed.php',
39 'ChangeTags' => 'includes/ChangeTags.php',
40 'ChannelFeed' => 'includes/Feed.php',
41 'ConcatenatedGzipHistoryBlob' => 'includes/HistoryBlob.php',
42 'ConfEditor' => '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 'FatalError' => 'includes/Exception.php',
78 'FakeTitle' => 'includes/FakeTitle.php',
79 'FauxRequest' => 'includes/WebRequest.php',
80 'FeedItem' => 'includes/Feed.php',
81 'FeedUtils' => 'includes/FeedUtils.php',
82 'FileDeleteForm' => 'includes/FileDeleteForm.php',
83 'FileDependency' => 'includes/CacheDependency.php',
84 'FileRevertForm' => 'includes/FileRevertForm.php',
85 'ForkController' => 'includes/ForkController.php',
86 'FormatExif' => 'includes/Exif.php',
87 'FormOptions' => 'includes/FormOptions.php',
88 'GlobalDependency' => 'includes/CacheDependency.php',
89 'HashBagOStuff' => 'includes/BagOStuff.php',
90 'HashtableReplacer' => 'includes/StringUtils.php',
91 'HistoryBlobCurStub' => 'includes/HistoryBlob.php',
92 'HistoryBlob' => 'includes/HistoryBlob.php',
93 'HistoryBlobStub' => 'includes/HistoryBlob.php',
94 'HTMLCacheUpdate' => 'includes/HTMLCacheUpdate.php',
95 'HTMLCacheUpdateJob' => 'includes/HTMLCacheUpdate.php',
96 'HTMLFileCache' => 'includes/HTMLFileCache.php',
97 'HTMLForm' => 'includes/HTMLForm.php',
98 'HTMLFormField' => 'includes/HTMLForm.php',
99 'HTMLTextField' => 'includes/HTMLForm.php',
100 'HTMLIntField' => 'includes/HTMLForm.php',
101 'HTMLCheckField' => 'includes/HTMLForm.php',
102 'HTMLSelectField' => 'includes/HTMLForm.php',
103 'HTMLSelectOrOtherField' => 'includes/HTMLForm.php',
104 'HTMLMultiSelectField' => 'includes/HTMLForm.php',
105 'HTMLRadioField' => 'includes/HTMLForm.php',
106 'HTMLInfoField' => 'includes/HTMLForm.php',
107 'Http' => 'includes/HttpFunctions.php',
108 'IEContentAnalyzer' => 'includes/IEContentAnalyzer.php',
109 'ImageGallery' => 'includes/ImageGallery.php',
110 'ImageHistoryList' => 'includes/ImagePage.php',
111 'ImagePage' => 'includes/ImagePage.php',
112 'ImageQueryPage' => 'includes/ImageQueryPage.php',
113 'IncludableSpecialPage' => 'includes/SpecialPage.php',
114 'IndexPager' => 'includes/Pager.php',
115 'Interwiki' => 'includes/Interwiki.php',
116 'IP' => 'includes/IP.php',
117 'Job' => 'includes/JobQueue.php',
118 'License' => 'includes/Licenses.php',
119 'Licenses' => 'includes/Licenses.php',
120 'LinkBatch' => 'includes/LinkBatch.php',
121 'LinkCache' => 'includes/LinkCache.php',
122 'Linker' => 'includes/Linker.php',
123 'LinkFilter' => 'includes/LinkFilter.php',
124 'LinksUpdate' => 'includes/LinksUpdate.php',
125 'LogPage' => 'includes/LogPage.php',
126 'LogPager' => 'includes/LogEventsList.php',
127 'LogEventsList' => 'includes/LogEventsList.php',
128 'LogReader' => 'includes/LogEventsList.php',
129 'LogViewer' => 'includes/LogEventsList.php',
130 'MacBinary' => 'includes/MacBinary.php',
131 'MagicWordArray' => 'includes/MagicWord.php',
132 'MagicWord' => 'includes/MagicWord.php',
133 'MailAddress' => 'includes/UserMailer.php',
134 'MathRenderer' => 'includes/Math.php',
135 'MediaTransformError' => 'includes/MediaTransformOutput.php',
136 'MediaTransformOutput' => 'includes/MediaTransformOutput.php',
137 'MediaWikiBagOStuff' => 'includes/BagOStuff.php',
138 'MediaWiki_I18N' => 'includes/SkinTemplate.php',
139 'MediaWiki' => 'includes/Wiki.php',
140 'memcached' => 'includes/memcached-client.php',
141 'MessageCache' => 'includes/MessageCache.php',
142 'MimeMagic' => 'includes/MimeMagic.php',
143 'MWException' => 'includes/Exception.php',
144 'MWNamespace' => 'includes/Namespace.php',
145 'MySQLSearchResultSet' => 'includes/SearchMySQL.php',
146 'Namespace' => 'includes/NamespaceCompat.php', // Compat
147 'OldChangesList' => 'includes/ChangesList.php',
148 'OracleSearchResultSet' => 'includes/SearchOracle.php',
149 'OutputPage' => 'includes/OutputPage.php',
150 'PageHistory' => 'includes/PageHistory.php',
151 'PageHistoryPager' => 'includes/PageHistory.php',
152 'PageQueryPage' => 'includes/PageQueryPage.php',
153 'Pager' => 'includes/Pager.php',
154 'PasswordError' => 'includes/User.php',
155 'PatrolLog' => 'includes/PatrolLog.php',
156 'PostgresSearchResult' => 'includes/SearchPostgres.php',
157 'PostgresSearchResultSet' => 'includes/SearchPostgres.php',
158 'Preferences' => 'includes/Preferences.php',
159 'PrefixSearch' => 'includes/PrefixSearch.php',
160 'Profiler' => 'includes/Profiler.php',
161 'ProfilerSimple' => 'includes/ProfilerSimple.php',
162 'ProfilerSimpleText' => 'includes/ProfilerSimpleText.php',
163 'ProfilerSimpleUDP' => 'includes/ProfilerSimpleUDP.php',
164 'ProtectionForm' => 'includes/ProtectionForm.php',
165 'QueryPage' => 'includes/QueryPage.php',
166 'QuickTemplate' => 'includes/SkinTemplate.php',
167 'RawPage' => 'includes/RawPage.php',
168 'RCCacheEntry' => 'includes/ChangesList.php',
169 'RdfMetaData' => 'includes/Metadata.php',
170 'RecentChange' => 'includes/RecentChange.php',
171 'RefreshLinksJob' => 'includes/RefreshLinksJob.php',
172 'RefreshLinksJob2' => 'includes/RefreshLinksJob.php',
173 'RegexlikeReplacer' => 'includes/StringUtils.php',
174 'ReplacementArray' => 'includes/StringUtils.php',
175 'Replacer' => 'includes/StringUtils.php',
176 'ReverseChronologicalPager' => 'includes/Pager.php',
177 'Revision' => 'includes/Revision.php',
178 'RSSFeed' => 'includes/Feed.php',
179 'Sanitizer' => 'includes/Sanitizer.php',
180 'SearchEngineDummy' => 'includes/SearchEngine.php',
181 'SearchEngine' => 'includes/SearchEngine.php',
182 'SearchHighlighter' => 'includes/SearchEngine.php',
183 'SearchMySQL4' => 'includes/SearchMySQL4.php',
184 'SearchMySQL' => 'includes/SearchMySQL.php',
185 'SearchOracle' => 'includes/SearchOracle.php',
186 'SearchPostgres' => 'includes/SearchPostgres.php',
187 'SearchResult' => 'includes/SearchEngine.php',
188 'SearchResultSet' => 'includes/SearchEngine.php',
189 'SearchResultTooMany' => 'includes/SearchEngine.php',
190 'SearchUpdate' => 'includes/SearchUpdate.php',
191 'SearchUpdateMyISAM' => 'includes/SearchUpdate.php',
192 'SiteConfiguration' => 'includes/SiteConfiguration.php',
193 'SiteStats' => 'includes/SiteStats.php',
194 'SiteStatsUpdate' => 'includes/SiteStats.php',
195 'Skin' => 'includes/Skin.php',
196 'SkinTemplate' => 'includes/SkinTemplate.php',
197 'SpecialMycontributions' => 'includes/SpecialPage.php',
198 'SpecialMypage' => 'includes/SpecialPage.php',
199 'SpecialMytalk' => 'includes/SpecialPage.php',
200 'SpecialPage' => 'includes/SpecialPage.php',
201 'SpecialRedirectToSpecial' => 'includes/SpecialPage.php',
202 'SqlBagOStuff' => 'includes/BagOStuff.php',
203 'SquidUpdate' => 'includes/SquidUpdate.php',
204 'Status' => 'includes/Status.php',
205 'StringUtils' => 'includes/StringUtils.php',
206 'TablePager' => 'includes/Pager.php',
207 'ThumbnailImage' => 'includes/MediaTransformOutput.php',
208 'TiffHandler' => 'includes/media/Tiff.php',
209 'TitleDependency' => 'includes/CacheDependency.php',
210 'Title' => 'includes/Title.php',
211 'TitleArray' => 'includes/TitleArray.php',
212 'TitleListDependency' => 'includes/CacheDependency.php',
213 'TransformParameterError' => 'includes/MediaTransformOutput.php',
214 'TurckBagOStuff' => 'includes/BagOStuff.php',
215 'UnlistedSpecialPage' => 'includes/SpecialPage.php',
216 'User' => 'includes/User.php',
217 'UserArray' => 'includes/UserArray.php',
218 'UserArrayFromResult' => 'includes/UserArray.php',
219 'UserMailer' => 'includes/UserMailer.php',
220 'UserRightsProxy' => 'includes/UserRightsProxy.php',
221 'WantedQueryPage' => 'includes/QueryPage.php',
222 'WatchedItem' => 'includes/WatchedItem.php',
223 'WatchlistEditor' => 'includes/WatchlistEditor.php',
224 'WebRequest' => 'includes/WebRequest.php',
225 'WebResponse' => 'includes/WebResponse.php',
226 'WikiError' => 'includes/WikiError.php',
227 'WikiErrorMsg' => 'includes/WikiError.php',
228 'WikiExporter' => 'includes/Export.php',
229 'WikiMap' => 'includes/WikiMap.php',
230 'WikiReference' => 'includes/WikiMap.php',
231 'WikiXmlError' => 'includes/WikiError.php',
232 'XCacheBagOStuff' => 'includes/BagOStuff.php',
233 'XmlDumpWriter' => 'includes/Export.php',
234 'Xml' => 'includes/Xml.php',
235 'XmlSelect' => 'includes/Xml.php',
236 'XmlTypeCheck' => 'includes/XmlTypeCheck.php',
237 'ZhClient' => 'includes/ZhClient.php',
240 'ApiBase' => 'includes/api/ApiBase.php',
241 'ApiBlock' => 'includes/api/ApiBlock.php',
242 'ApiDelete' => 'includes/api/ApiDelete.php',
243 'ApiDisabled' => 'includes/api/ApiDisabled.php',
244 'ApiEditPage' => 'includes/api/ApiEditPage.php',
245 'ApiEmailUser' => 'includes/api/ApiEmailUser.php',
246 'ApiExpandTemplates' => 'includes/api/ApiExpandTemplates.php',
247 'ApiFeedWatchlist' => 'includes/api/ApiFeedWatchlist.php',
248 'ApiFormatBase' => 'includes/api/ApiFormatBase.php',
249 'ApiFormatDbg' => 'includes/api/ApiFormatDbg.php',
250 'ApiFormatFeedWrapper' => 'includes/api/ApiFormatBase.php',
251 'ApiFormatJson' => 'includes/api/ApiFormatJson.php',
252 'ApiFormatPhp' => 'includes/api/ApiFormatPhp.php',
253 'ApiFormatRaw' => 'includes/api/ApiFormatRaw.php',
254 'ApiFormatTxt' => 'includes/api/ApiFormatTxt.php',
255 'ApiFormatWddx' => 'includes/api/ApiFormatWddx.php',
256 'ApiFormatXml' => 'includes/api/ApiFormatXml.php',
257 'ApiFormatYaml' => 'includes/api/ApiFormatYaml.php',
258 'ApiHelp' => 'includes/api/ApiHelp.php',
259 'ApiImport' => 'includes/api/ApiImport.php',
260 'ApiImportReporter' => 'includes/api/ApiImport.php',
261 'ApiLogin' => 'includes/api/ApiLogin.php',
262 'ApiLogout' => 'includes/api/ApiLogout.php',
263 'ApiMain' => 'includes/api/ApiMain.php',
264 'ApiMove' => 'includes/api/ApiMove.php',
265 'ApiOpenSearch' => 'includes/api/ApiOpenSearch.php',
266 'ApiPageSet' => 'includes/api/ApiPageSet.php',
267 'ApiParamInfo' => 'includes/api/ApiParamInfo.php',
268 'ApiParse' => 'includes/api/ApiParse.php',
269 'ApiPatrol' => 'includes/api/ApiPatrol.php',
270 'ApiProtect' => 'includes/api/ApiProtect.php',
271 'ApiPurge' => 'includes/api/ApiPurge.php',
272 'ApiQuery' => 'includes/api/ApiQuery.php',
273 'ApiQueryAllCategories' => 'includes/api/ApiQueryAllCategories.php',
274 'ApiQueryAllimages' => 'includes/api/ApiQueryAllimages.php',
275 'ApiQueryAllLinks' => 'includes/api/ApiQueryAllLinks.php',
276 'ApiQueryAllUsers' => 'includes/api/ApiQueryAllUsers.php',
277 'ApiQueryAllmessages' => 'includes/api/ApiQueryAllmessages.php',
278 'ApiQueryAllpages' => 'includes/api/ApiQueryAllpages.php',
279 'ApiQueryBacklinks' => 'includes/api/ApiQueryBacklinks.php',
280 'ApiQueryBase' => 'includes/api/ApiQueryBase.php',
281 'ApiQueryBlocks' => 'includes/api/ApiQueryBlocks.php',
282 'ApiQueryCategories' => 'includes/api/ApiQueryCategories.php',
283 'ApiQueryCategoryInfo' => 'includes/api/ApiQueryCategoryInfo.php',
284 'ApiQueryCategoryMembers' => 'includes/api/ApiQueryCategoryMembers.php',
285 'ApiQueryContributions' => 'includes/api/ApiQueryUserContributions.php',
286 'ApiQueryDeletedrevs' => 'includes/api/ApiQueryDeletedrevs.php',
287 'ApiQueryDisabled' => 'includes/api/ApiQueryDisabled.php',
288 'ApiQueryDuplicateFiles' => 'includes/api/ApiQueryDuplicateFiles.php',
289 'ApiQueryExtLinksUsage' => 'includes/api/ApiQueryExtLinksUsage.php',
290 'ApiQueryExternalLinks' => 'includes/api/ApiQueryExternalLinks.php',
291 'ApiQueryGeneratorBase' => 'includes/api/ApiQueryBase.php',
292 'ApiQueryImageInfo' => 'includes/api/ApiQueryImageInfo.php',
293 'ApiQueryImages' => 'includes/api/ApiQueryImages.php',
294 'ApiQueryInfo' => 'includes/api/ApiQueryInfo.php',
295 'ApiQueryLangLinks' => 'includes/api/ApiQueryLangLinks.php',
296 'ApiQueryLinks' => 'includes/api/ApiQueryLinks.php',
297 'ApiQueryLogEvents' => 'includes/api/ApiQueryLogEvents.php',
298 'ApiQueryProtectedTitles' => 'includes/api/ApiQueryProtectedTitles.php',
299 'ApiQueryRandom' => 'includes/api/ApiQueryRandom.php',
300 'ApiQueryRecentChanges'=> 'includes/api/ApiQueryRecentChanges.php',
301 'ApiQueryRevisions' => 'includes/api/ApiQueryRevisions.php',
302 'ApiQuerySearch' => 'includes/api/ApiQuerySearch.php',
303 'ApiQuerySiteinfo' => 'includes/api/ApiQuerySiteinfo.php',
304 'ApiQueryUserInfo' => 'includes/api/ApiQueryUserInfo.php',
305 'ApiQueryUsers' => 'includes/api/ApiQueryUsers.php',
306 'ApiQueryWatchlist' => 'includes/api/ApiQueryWatchlist.php',
307 'ApiQueryWatchlistRaw' => 'includes/api/ApiQueryWatchlistRaw.php',
308 'ApiResult' => 'includes/api/ApiResult.php',
309 'ApiRollback' => 'includes/api/ApiRollback.php',
310 'ApiUnblock' => 'includes/api/ApiUnblock.php',
311 'ApiUndelete' => 'includes/api/ApiUndelete.php',
312 'ApiUserrights' => 'includes/api/ApiUserrights.php',
313 'ApiWatch' => 'includes/api/ApiWatch.php',
314 'Services_JSON' => 'includes/api/ApiFormatJson_json.php',
315 'Services_JSON_Error' => 'includes/api/ApiFormatJson_json.php',
316 'Spyc' => 'includes/api/ApiFormatYaml_spyc.php',
317 'UsageException' => 'includes/api/ApiMain.php',
320 'Blob' => 'includes/db/Database.php',
321 'ChronologyProtector' => 'includes/db/LBFactory.php',
322 'Database' => 'includes/db/DatabaseMysql.php',
323 'DatabaseBase' => 'includes/db/Database.php',
324 'DatabaseMssql' => 'includes/db/DatabaseMssql.php',
325 'DatabaseMysql' => 'includes/db/DatabaseMysql.php',
326 'DatabaseOracle' => 'includes/db/DatabaseOracle.php',
327 'DatabasePostgres' => 'includes/db/DatabasePostgres.php',
328 'DatabaseSqlite' => 'includes/db/DatabaseSqlite.php',
329 'DBConnectionError' => 'includes/db/Database.php',
330 'DBError' => 'includes/db/Database.php',
331 'DBObject' => 'includes/db/Database.php',
332 'DBQueryError' => 'includes/db/Database.php',
333 'DBUnexpectedError' => 'includes/db/Database.php',
334 'LBFactory' => 'includes/db/LBFactory.php',
335 'LBFactory_Multi' => 'includes/db/LBFactory_Multi.php',
336 'LBFactory_Simple' => 'includes/db/LBFactory.php',
337 'LoadBalancer' => 'includes/db/LoadBalancer.php',
338 'LoadMonitor' => 'includes/db/LoadMonitor.php',
339 'LoadMonitor_MySQL' => 'includes/db/LoadMonitor.php',
340 'MSSQLField' => 'includes/db/DatabaseMssql.php',
341 'MySQLField' => 'includes/db/Database.php',
342 'MySQLMasterPos' => 'includes/db/DatabaseMysql.php',
343 'ORABlob' => 'includes/db/DatabaseOracle.php',
344 'ORAResult' => 'includes/db/DatabaseOracle.php',
345 'PostgresField' => 'includes/db/DatabasePostgres.php',
346 'ResultWrapper' => 'includes/db/Database.php',
347 'SQLiteField' => 'includes/db/DatabaseSqlite.php',
349 'DatabaseIbm_db2' => 'includes/db/DatabaseIbm_db2.php',
350 'IBM_DB2Field' => 'includes/db/DatabaseIbm_db2.php',
351 'IBM_DB2SearchResultSet' => 'includes/SearchIBM_DB2.php',
352 'SearchIBM_DB2' => 'includes/SearchIBM_DB2.php',
355 'AncestorComparator' => 'includes/diff/HTMLDiff.php',
356 'AnchorToString' => 'includes/diff/HTMLDiff.php',
357 'ArrayDiffFormatter' => 'includes/diff/DifferenceEngine.php',
358 'BodyNode' => 'includes/diff/Nodes.php',
359 'ChangeText' => 'includes/diff/HTMLDiff.php',
360 'ChangeTextGenerator' => 'includes/diff/HTMLDiff.php',
361 'DelegatingContentHandler' => 'includes/diff/HTMLDiff.php',
362 '_DiffEngine' => 'includes/diff/DifferenceEngine.php',
363 'DifferenceEngine' => 'includes/diff/DifferenceEngine.php',
364 'DiffFormatter' => 'includes/diff/DifferenceEngine.php',
365 'Diff' => 'includes/diff/DifferenceEngine.php',
366 '_DiffOp_Add' => 'includes/diff/DifferenceEngine.php',
367 '_DiffOp_Change' => 'includes/diff/DifferenceEngine.php',
368 '_DiffOp_Copy' => 'includes/diff/DifferenceEngine.php',
369 '_DiffOp_Delete' => 'includes/diff/DifferenceEngine.php',
370 '_DiffOp' => 'includes/diff/DifferenceEngine.php',
371 'DomTreeBuilder' => 'includes/diff/HTMLDiff.php',
372 'DummyNode' => 'includes/diff/Nodes.php',
373 'HTMLDiffer' => 'includes/diff/HTMLDiff.php',
374 'HTMLOutput' => 'includes/diff/HTMLDiff.php',
375 '_HWLDF_WordAccumulator' => 'includes/diff/DifferenceEngine.php',
376 'ImageNode' => 'includes/diff/Nodes.php',
377 'LastCommonParentResult' => 'includes/diff/HTMLDiff.php',
378 'MappedDiff' => 'includes/diff/DifferenceEngine.php',
379 'Modification' => 'includes/diff/HTMLDiff.php',
380 'NoContentTagToString' => 'includes/diff/HTMLDiff.php',
381 'Node' => 'includes/diff/Nodes.php',
382 'RangeDifference' => 'includes/diff/Diff.php',
383 'TableDiffFormatter' => 'includes/diff/DifferenceEngine.php',
384 'TagNode' => 'includes/diff/Nodes.php',
385 'TagToString' => 'includes/diff/HTMLDiff.php',
386 'TagToStringFactory' => 'includes/diff/HTMLDiff.php',
387 'TextNode' => 'includes/diff/Nodes.php',
388 'TextNodeDiffer' => 'includes/diff/HTMLDiff.php',
389 'TextOnlyComparator' => 'includes/diff/HTMLDiff.php',
390 'UnifiedDiffFormatter' => 'includes/diff/DifferenceEngine.php',
391 'WhiteSpaceNode' => 'includes/diff/Nodes.php',
392 'WikiDiff3' => 'includes/diff/Diff.php',
393 'WordLevelDiff' => 'includes/diff/DifferenceEngine.php',
396 'ArchivedFile' => 'includes/filerepo/ArchivedFile.php',
397 'File' => 'includes/filerepo/File.php',
398 'FileCache' => 'includes/filerepo/FileCache.php',
399 'FileRepo' => 'includes/filerepo/FileRepo.php',
400 'FileRepoStatus' => 'includes/filerepo/FileRepoStatus.php',
401 'ForeignAPIFile' => 'includes/filerepo/ForeignAPIFile.php',
402 'ForeignAPIRepo' => 'includes/filerepo/ForeignAPIRepo.php',
403 'ForeignDBFile' => 'includes/filerepo/ForeignDBFile.php',
404 'ForeignDBRepo' => 'includes/filerepo/ForeignDBRepo.php',
405 'ForeignDBViaLBRepo' => 'includes/filerepo/ForeignDBViaLBRepo.php',
406 'FSRepo' => 'includes/filerepo/FSRepo.php',
407 'Image' => 'includes/filerepo/Image.php',
408 'LocalFile' => 'includes/filerepo/LocalFile.php',
409 'LocalFileDeleteBatch' => 'includes/filerepo/LocalFile.php',
410 'LocalFileMoveBatch' => 'includes/filerepo/LocalFile.php',
411 'LocalFileRestoreBatch' => 'includes/filerepo/LocalFile.php',
412 'LocalRepo' => 'includes/filerepo/LocalRepo.php',
413 'OldLocalFile' => 'includes/filerepo/OldLocalFile.php',
414 'RepoGroup' => 'includes/filerepo/RepoGroup.php',
415 'UnregisteredLocalFile' => 'includes/filerepo/UnregisteredLocalFile.php',
418 'BitmapHandler' => 'includes/media/Bitmap.php',
419 'BitmapHandler_ClientOnly' => 'includes/media/Bitmap_ClientOnly.php',
420 'BmpHandler' => 'includes/media/BMP.php',
421 'DjVuHandler' => 'includes/media/DjVu.php',
422 'ImageHandler' => 'includes/media/Generic.php',
423 'MediaHandler' => 'includes/media/Generic.php',
424 'SvgHandler' => 'includes/media/SVG.php',
427 'UtfNormal' => 'includes/normal/UtfNormal.php',
430 'CoreLinkFunctions' => 'includes/parser/CoreLinkFunctions.php',
431 'CoreParserFunctions' => 'includes/parser/CoreParserFunctions.php',
432 'DateFormatter' => 'includes/parser/DateFormatter.php',
433 'LinkHolderArray' => 'includes/parser/LinkHolderArray.php',
434 'LinkMarkerReplacer' => 'includes/parser/Parser_LinkHooks.php',
435 'OnlyIncludeReplacer' => 'includes/parser/Parser.php',
436 'PPDAccum_Hash' => 'includes/parser/Preprocessor_Hash.php',
437 'PPDPart' => 'includes/parser/Preprocessor_DOM.php',
438 'PPDPart_Hash' => 'includes/parser/Preprocessor_Hash.php',
439 'PPDStack' => 'includes/parser/Preprocessor_DOM.php',
440 'PPDStackElement' => 'includes/parser/Preprocessor_DOM.php',
441 'PPDStackElement_Hash' => 'includes/parser/Preprocessor_Hash.php',
442 'PPDStack_Hash' => 'includes/parser/Preprocessor_Hash.php',
443 'PPFrame' => 'includes/parser/Preprocessor.php',
444 'PPFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
445 'PPFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
446 'PPNode' => 'includes/parser/Preprocessor.php',
447 'PPNode_DOM' => 'includes/parser/Preprocessor_DOM.php',
448 'PPNode_Hash_Array' => 'includes/parser/Preprocessor_Hash.php',
449 'PPNode_Hash_Attr' => 'includes/parser/Preprocessor_Hash.php',
450 'PPNode_Hash_Text' => 'includes/parser/Preprocessor_Hash.php',
451 'PPNode_Hash_Tree' => 'includes/parser/Preprocessor_Hash.php',
452 'PPTemplateFrame_DOM' => 'includes/parser/Preprocessor_DOM.php',
453 'PPTemplateFrame_Hash' => 'includes/parser/Preprocessor_Hash.php',
454 'Parser' => 'includes/parser/Parser.php',
455 'ParserCache' => 'includes/parser/ParserCache.php',
456 'ParserOptions' => 'includes/parser/ParserOptions.php',
457 'ParserOutput' => 'includes/parser/ParserOutput.php',
458 'Parser_DiffTest' => 'includes/parser/Parser_DiffTest.php',
459 'Parser_LinkHooks' => 'includes/parser/Parser_LinkHooks.php',
460 'Preprocessor' => 'includes/parser/Preprocessor.php',
461 'Preprocessor_DOM' => 'includes/parser/Preprocessor_DOM.php',
462 'Preprocessor_Hash' => 'includes/parser/Preprocessor_Hash.php',
463 'StripState' => 'includes/parser/Parser.php',
464 'MWTidy' => 'includes/parser/Tidy.php',
467 'AncientPagesPage' => 'includes/specials/SpecialAncientpages.php',
468 'BrokenRedirectsPage' => 'includes/specials/SpecialBrokenRedirects.php',
469 'ContribsPager' => 'includes/specials/SpecialContributions.php',
470 'DBLockForm' => 'includes/specials/SpecialLockdb.php',
471 'DBUnlockForm' => 'includes/specials/SpecialUnlockdb.php',
472 'DeadendPagesPage' => 'includes/specials/SpecialDeadendpages.php',
473 'DeletedContributionsPage' => 'includes/specials/SpecialDeletedContributions.php',
474 'DeletedContribsPager' => 'includes/specials/SpecialDeletedContributions.php',
475 'DisambiguationsPage' => 'includes/specials/SpecialDisambiguations.php',
476 'DoubleRedirectsPage' => 'includes/specials/SpecialDoubleRedirects.php',
477 'EmailConfirmation' => 'includes/specials/SpecialConfirmemail.php',
478 'EmailInvalidation' => 'includes/specials/SpecialConfirmemail.php',
479 'EmailUserForm' => 'includes/specials/SpecialEmailuser.php',
480 'FewestrevisionsPage' => 'includes/specials/SpecialFewestrevisions.php',
481 'FileDuplicateSearchPage' => 'includes/specials/SpecialFileDuplicateSearch.php',
482 'IPBlockForm' => 'includes/specials/SpecialBlockip.php',
483 'IPBlocklistPager' => 'includes/specials/SpecialIpblocklist.php',
484 'IPUnblockForm' => 'includes/specials/SpecialIpblocklist.php',
485 'ImportReporter' => 'includes/specials/SpecialImport.php',
486 'ImportStreamSource' => 'includes/Import.php',
487 'ImportStringSource' => 'includes/Import.php',
488 'LinkSearchPage' => 'includes/specials/SpecialLinkSearch.php',
489 'ListredirectsPage' => 'includes/specials/SpecialListredirects.php',
490 'LoginForm' => 'includes/specials/SpecialUserlogin.php',
491 'LonelyPagesPage' => 'includes/specials/SpecialLonelypages.php',
492 'LongPagesPage' => 'includes/specials/SpecialLongpages.php',
493 'MIMEsearchPage' => 'includes/specials/SpecialMIMEsearch.php',
494 'MostcategoriesPage' => 'includes/specials/SpecialMostcategories.php',
495 'MostimagesPage' => 'includes/specials/SpecialMostimages.php',
496 'MostlinkedCategoriesPage' => 'includes/specials/SpecialMostlinkedcategories.php',
497 'MostlinkedPage' => 'includes/specials/SpecialMostlinked.php',
498 'MostrevisionsPage' => 'includes/specials/SpecialMostrevisions.php',
499 'MovePageForm' => 'includes/specials/SpecialMovepage.php',
500 'SpecialNewpages' => 'includes/specials/SpecialNewpages.php',
501 'SpecialContributions' => 'includes/specials/SpecialContributions.php',
502 'NewPagesPager' => 'includes/specials/SpecialNewpages.php',
503 'PageArchive' => 'includes/specials/SpecialUndelete.php',
504 'SpecialResetpass' => 'includes/specials/SpecialResetpass.php',
505 'PopularPagesPage' => 'includes/specials/SpecialPopularpages.php',
506 'PreferencesForm' => 'includes/Preferences.php',
507 'RandomPage' => 'includes/specials/SpecialRandompage.php',
508 'SpecialRevisionDelete' => 'includes/specials/SpecialRevisiondelete.php',
509 'RevisionDeleter' => 'includes/specials/SpecialRevisiondelete.php',
510 'ShortPagesPage' => 'includes/specials/SpecialShortpages.php',
511 'SpecialAllpages' => 'includes/specials/SpecialAllpages.php',
512 'SpecialBlankpage' => 'includes/specials/SpecialBlankpage.php',
513 'SpecialBookSources' => 'includes/specials/SpecialBooksources.php',
514 'SpecialExport' => 'includes/specials/SpecialExport.php',
515 'SpecialImport' => 'includes/specials/SpecialImport.php',
516 'SpecialListGroupRights' => 'includes/specials/SpecialListgrouprights.php',
517 'SpecialMostlinkedtemplates' => 'includes/specials/SpecialMostlinkedtemplates.php',
518 'SpecialPreferences' => 'includes/specials/SpecialPreferences.php',
519 'SpecialPrefixindex' => 'includes/specials/SpecialPrefixindex.php',
520 'SpecialRandomredirect' => 'includes/specials/SpecialRandomredirect.php',
521 'SpecialRecentchanges' => 'includes/specials/SpecialRecentchanges.php',
522 'SpecialRecentchangeslinked' => 'includes/specials/SpecialRecentchangeslinked.php',
523 'SpecialSearch' => 'includes/specials/SpecialSearch.php',
524 'SpecialSearchOld' => 'includes/specials/SpecialSearch.php',
525 'SpecialStatistics' => 'includes/specials/SpecialStatistics.php',
526 'SpecialTags' => 'includes/specials/SpecialTags.php',
527 'SpecialVersion' => 'includes/specials/SpecialVersion.php',
528 'SpecialWhatlinkshere' => 'includes/specials/SpecialWhatlinkshere.php',
529 'UncategorizedCategoriesPage' => 'includes/specials/SpecialUncategorizedcategories.php',
530 'UncategorizedPagesPage' => 'includes/specials/SpecialUncategorizedpages.php',
531 'UncategorizedTemplatesPage' => 'includes/specials/SpecialUncategorizedtemplates.php',
532 'UndeleteForm' => 'includes/specials/SpecialUndelete.php',
533 'UnusedCategoriesPage' => 'includes/specials/SpecialUnusedcategories.php',
534 'UnusedimagesPage' => 'includes/specials/SpecialUnusedimages.php',
535 'UnusedtemplatesPage' => 'includes/specials/SpecialUnusedtemplates.php',
536 'UnwatchedpagesPage' => 'includes/specials/SpecialUnwatchedpages.php',
537 'UploadForm' => 'includes/specials/SpecialUpload.php',
538 'UploadFormMogile' => 'includes/specials/SpecialUploadMogile.php',
539 'UserrightsPage' => 'includes/specials/SpecialUserrights.php',
540 'UsersPager' => 'includes/specials/SpecialListusers.php',
541 'WantedCategoriesPage' => 'includes/specials/SpecialWantedcategories.php',
542 'WantedFilesPage' => 'includes/specials/SpecialWantedfiles.php',
543 'WantedPagesPage' => 'includes/specials/SpecialWantedpages.php',
544 'WantedTemplatesPage' => 'includes/specials/SpecialWantedtemplates.php',
545 'WikiImporter' => 'includes/Import.php',
546 'WikiRevision' => 'includes/Import.php',
547 'WithoutInterwikiPage' => 'includes/specials/SpecialWithoutinterwiki.php',
550 'UsercreateTemplate' => 'includes/templates/Userlogin.php',
551 'UserloginTemplate' => 'includes/templates/Userlogin.php',
554 'Language' => 'languages/Language.php',
555 'FakeConverter' => 'languages/Language.php',
557 # maintenance/language
558 'statsOutput' => 'maintenance/language/StatOutputs.php',
559 'wikiStatsOutput' => 'maintenance/language/StatOutputs.php',
560 'metawikiStatsOutput' => 'maintenance/language/StatOutputs.php',
561 'textStatsOutput' => 'maintenance/language/StatOutputs.php',
562 'csvStatsOutput' => 'maintenance/language/StatOutputs.php',
568 * autoload - take a class name and attempt to load it
570 * @param string $className Name of class we're looking for.
571 * @return bool Returning false is important on failure as
572 * it allows Zend to try and look in other registered autoloaders
575 static function autoload( $className ) {
576 global $wgAutoloadClasses, $wgAutoloadLocalClasses;
578 if ( isset( $wgAutoloadLocalClasses[$className] ) ) {
579 $filename = $wgAutoloadLocalClasses[$className];
580 } elseif ( isset( $wgAutoloadClasses[$className] ) ) {
581 $filename = $wgAutoloadClasses[$className];
583 # Try a different capitalisation
584 # The case can sometimes be wrong when unserializing PHP 4 objects
586 $lowerClass = strtolower( $className );
587 foreach ( $wgAutoloadLocalClasses as $class2 => $file2 ) {
588 if ( strtolower( $class2 ) == $lowerClass ) {
593 if( function_exists( 'wfDebug' ) )
594 wfDebug( "Class {$className} not found; skipped loading\n" );
600 # Make an absolute path, this improves performance by avoiding some stat calls
601 if ( substr( $filename, 0, 1 ) != '/' && substr( $filename, 1, 1 ) != ':' ) {
603 $filename = "$IP/$filename";
605 require( $filename );
609 static function loadAllExtensions() {
610 global $wgAutoloadClasses;
612 foreach( $wgAutoloadClasses as $class => $file ) {
613 if( !( class_exists( $class, false ) ||
interface_exists( $class, false ) ) ) {
620 function wfLoadAllExtensions() {
621 AutoLoader
::loadAllExtensions();
624 if ( function_exists( 'spl_autoload_register' ) ) {
625 spl_autoload_register( array( 'AutoLoader', 'autoload' ) );
627 function __autoload( $class ) {
628 AutoLoader
::autoload( $class );