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