X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2FResources.php;h=a324d1a30a88752df61402ba33cb15f3cd9db54d;hb=fcf4934;hp=c0336472d6f8f3d11fca4dc5a612cecac1c36b16;hpb=3bd86e15d4a19cc5a54d707c93bec4a8e4223368;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/Resources.php b/resources/Resources.php index c0336472d6..a324d1a30a 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -87,7 +87,7 @@ return array( 'localBasePath' => $GLOBALS['wgStyleDirectory'], ), 'skins.vector' => array( - // Keep in sync with WebInstallerOutput::getCSS() + // Used in the web installer. Test it after modifying this definition! 'styles' => array( 'common/commonElements.css' => array( 'media' => 'screen' ), 'common/commonContent.css' => array( 'media' => 'screen' ), @@ -655,7 +655,10 @@ return array( ), 'mediawiki.inspect' => array( 'scripts' => 'resources/mediawiki/mediawiki.inspect.js', - 'dependencies' => 'jquery.byteLength', + 'dependencies' => array( + 'jquery.byteLength', + 'jquery.json', + ), 'targets' => array( 'desktop', 'mobile' ), ), 'mediawiki.feedback' => array( @@ -1008,6 +1011,9 @@ return array( 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js', 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css', 'position' => 'top', + 'skinStyles' => array( + 'vector' => 'skins/vector/special.preferences.less', + ), ), 'mediawiki.special.recentchanges' => array( 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js', @@ -1106,14 +1112,9 @@ return array( 'localBasePath' => $GLOBALS['wgStyleDirectory'], ), 'mediawiki.legacy.config' => array( + // Used in the web installer. Test it after modifying this definition! 'scripts' => 'common/config.js', - 'styles' => array( 'common/config.css', 'common/config-cc.css' ), - 'remoteBasePath' => $GLOBALS['wgStylePath'], - 'localBasePath' => $GLOBALS['wgStyleDirectory'], - 'dependencies' => 'mediawiki.legacy.wikibits', - ), - 'mediawiki.legacy.IEFixes' => array( - 'scripts' => 'common/IEFixes.js', + 'styles' => array( 'common/config.css' ), 'remoteBasePath' => $GLOBALS['wgStylePath'], 'localBasePath' => $GLOBALS['wgStyleDirectory'], 'dependencies' => 'mediawiki.legacy.wikibits', @@ -1129,6 +1130,7 @@ return array( 'position' => 'top', ), 'mediawiki.legacy.shared' => array( + // Used in the web installer. Test it after modifying this definition! 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ), 'remoteBasePath' => $GLOBALS['wgStylePath'], 'localBasePath' => $GLOBALS['wgStyleDirectory'],