Correct version for deprecated accesskey util functions
[lhc/web/wiklou.git] / resources / Resources.php
index cea012a..3433a23 100644 (file)
@@ -135,7 +135,8 @@ return array(
        'skins.vector.styles' => array(
                // Used in the web installer. Test it after modifying this definition!
                'styles' => array(
-                       'vector/styles.less',
+                       'vector/screen.less' => array( 'media' => 'screen' ),
+                       'vector/screen-hd.less' => array( 'media' => 'screen and (min-width: 982px)' ),
                ),
                'remoteBasePath' => $GLOBALS['wgStylePath'],
                'localBasePath' => $GLOBALS['wgStyleDirectory'],
@@ -184,6 +185,12 @@ return array(
 
        /* jQuery Plugins */
 
+       'jquery.accessKeyLabel' => array(
+               'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
+               'dependencies' => array(
+                       'jquery.client',
+               ),
+       ),
        'jquery.appear' => array(
                'scripts' => 'resources/lib/jquery/jquery.appear.js',
        ),
@@ -691,11 +698,12 @@ return array(
                        'pt-br' => 'resources/lib/moment/lang/pt-br.js',
                        'pt' => 'resources/lib/moment/lang/pt.js',
                        'ro' => 'resources/lib/moment/lang/ro.js',
-                       'rs' => 'resources/lib/moment/lang/rs.js',
                        'ru' => 'resources/lib/moment/lang/ru.js',
                        'sk' => 'resources/lib/moment/lang/sk.js',
                        'sl' => 'resources/lib/moment/lang/sl.js',
                        'sq' => 'resources/lib/moment/lang/sq.js',
+                       'sr-el' => 'resources/lib/moment/lang/sr.js',
+                       'sr-ec' => 'resources/lib/moment/lang/sr-cyr.js',
                        'sv' => 'resources/lib/moment/lang/sv.js',
                        'ta' => 'resources/lib/moment/lang/ta.js',
                        'th' => 'resources/lib/moment/lang/th.js',
@@ -705,7 +713,7 @@ return array(
                        'tzm' => 'resources/lib/moment/lang/tzm.js',
                        'uk' => 'resources/lib/moment/lang/uk.js',
                        'uz' => 'resources/lib/moment/lang/uz.js',
-                       'vn' => 'resources/lib/moment/lang/vn.js',
+                       'vi' => 'resources/lib/moment/lang/vi.js',
                        'zh-cn' => 'resources/lib/moment/lang/zh-cn.js',
                        'zh-tw' => 'resources/lib/moment/lang/zh-tw.js',
                ),
@@ -895,10 +903,9 @@ return array(
        'mediawiki.util' => array(
                'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
                'dependencies' => array(
-                       'jquery.client',
+                       'jquery.accessKeyLabel',
                        'jquery.mwExtension',
                        'mediawiki.notify',
-                       'mediawiki.toc',
                ),
                'position' => 'top', // For $wgPreloadJavaScriptMwUtil
                'targets' => array( 'desktop', 'mobile' ),