Merge "Implement listing for tracking categories"
[lhc/web/wiklou.git] / includes / AutoLoader.php
index 1a364c9..8428ade 100644 (file)
@@ -1023,6 +1023,7 @@ $wgAutoloadLocalClasses = array(
        'SpecialSpecialpages' => 'includes/specials/SpecialSpecialpages.php',
        'SpecialStatistics' => 'includes/specials/SpecialStatistics.php',
        'SpecialTags' => 'includes/specials/SpecialTags.php',
+       'SpecialTrackingCategories' => 'includes/specials/SpecialTrackingCategories.php',
        'SpecialUnblock' => 'includes/specials/SpecialUnblock.php',
        'SpecialUndelete' => 'includes/specials/SpecialUndelete.php',
        'SpecialUnlockdb' => 'includes/specials/SpecialUnlockdb.php',
@@ -1059,6 +1060,15 @@ $wgAutoloadLocalClasses = array(
        'UserloginTemplate' => 'includes/templates/Userlogin.php',
        'UsercreateTemplate' => 'includes/templates/Usercreate.php',
 
+       # includes/title
+       'PageLinkRenderer' => 'includes/title/PageLinkRenderer.php',
+       'TitleFormatter' => 'includes/title/TitleFormatter.php',
+       'TitleParser' => 'includes/title/TitleParser.php',
+       'TitleValue' => 'includes/title/TitleValue.php',
+       'MalformedTitleException' => 'includes/title/MalformedTitleException.php',
+       'MediaWikiPageLinkRenderer' => 'includes/title/MediaWikiPageLinkRenderer.php',
+       'MediaWikiTitleCodec' => 'includes/title/MediaWikiTitleCodec.php',
+
        # includes/upload
        'UploadBase' => 'includes/upload/UploadBase.php',
        'UploadFromFile' => 'includes/upload/UploadFromFile.php',
@@ -1222,16 +1232,11 @@ class AutoLoader {
                }
 
                if ( !$filename ) {
-                       if ( function_exists( 'wfDebugLog' ) ) {
-                               # FIXME: This is not very polite.  Assume we do not manage the class.
-                               wfDebugLog( 'autoloader', "Class {$className} not found; skipped loading" );
-                       }
-
-                       # Give up
+                       // Class not found; let the next autoloader try to find it
                        return;
                }
 
-               # Make an absolute path, this improves performance by avoiding some stat calls
+               // Make an absolute path, this improves performance by avoiding some stat calls
                if ( substr( $filename, 0, 1 ) != '/' && substr( $filename, 1, 1 ) != ':' ) {
                        global $IP;
                        $filename = "$IP/$filename";