Merge "maintenance: Script to rename titles for Unicode uppercasing changes"
[lhc/web/wiklou.git] / includes / AutoLoader.php
index 9dbc9eb..b893bc9 100644 (file)
 require_once __DIR__ . '/../autoload.php';
 
 class AutoLoader {
-       static protected $autoloadLocalClassesLower = null;
+       protected static $autoloadLocalClassesLower = null;
 
        /**
         * @private Only public for ExtensionRegistry
         * @var string[] Namespace (ends with \) => Path (ends with /)
         */
-       static public $psr4Namespaces = [];
+       public static $psr4Namespaces = [];
 
        /**
         * autoload - take a class name and attempt to load it
@@ -134,13 +134,16 @@ class AutoLoader {
                        'MediaWiki\\Edit\\' => __DIR__ . '/edit/',
                        'MediaWiki\\EditPage\\' => __DIR__ . '/editpage/',
                        'MediaWiki\\Linker\\' => __DIR__ . '/linker/',
+                       'MediaWiki\\Permissions\\' => __DIR__ . '/Permissions/',
                        'MediaWiki\\Preferences\\' => __DIR__ . '/preferences/',
+                       'MediaWiki\\Rest\\' => __DIR__ . '/Rest/',
                        'MediaWiki\\Revision\\' => __DIR__ . '/Revision/',
                        'MediaWiki\\Session\\' => __DIR__ . '/session/',
                        'MediaWiki\\Shell\\' => __DIR__ . '/shell/',
                        'MediaWiki\\Sparql\\' => __DIR__ . '/sparql/',
                        'MediaWiki\\Storage\\' => __DIR__ . '/Storage/',
                        'MediaWiki\\Tidy\\' => __DIR__ . '/tidy/',
+                       'Wikimedia\\ParamValidator\\' => __DIR__ . '/libs/ParamValidator/',
                        'Wikimedia\\Services\\' => __DIR__ . '/libs/services/',
                ];
        }