Switch includes/{auth,edit,editpage} to use the PSR-4 autoloader
[lhc/web/wiklou.git] / includes / AutoLoader.php
index 6e77056..d1c11c4 100644 (file)
@@ -128,7 +128,10 @@ class AutoLoader {
         */
        public static function getAutoloadNamespaces() {
                return [
-                       'MediaWiki\\Linker\\' => __DIR__ .'/linker/'
+                       'MediaWiki\\Auth\\' => __DIR__ . '/auth/',
+                       'MediaWiki\\Edit\\' => __DIR__ . '/edit/',
+                       'MediaWiki\\EditPage\\' => __DIR__ . '/editpage/',
+                       'MediaWiki\\Linker\\' => __DIR__ .'/linker/',
                ];
        }
 }