X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2FResources.php;h=233485c345ea225dfcaa99e109b3981daaf661dc;hb=cc97bd4c323dcc3539ce353cf405099829f113fb;hp=ccb842ded622c34a1083334eb1b913aff4d32b6c;hpb=2a69fcfb16abdc27a58739d5928fbb3be297dcfe;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/Resources.php b/resources/Resources.php index ccb842ded6..233485c345 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -266,8 +266,8 @@ return array( 'targets' => array( 'desktop', 'mobile' ), ), 'jquery.qunit' => array( - 'scripts' => 'resources/lib/jquery/jquery.qunit.js', - 'styles' => 'resources/lib/jquery/jquery.qunit.css', + 'scripts' => 'resources/lib/qunitjs/qunit.js', + 'styles' => 'resources/lib/qunitjs/qunit.css', 'position' => 'top', 'targets' => array( 'desktop', 'mobile' ), ), @@ -307,6 +307,7 @@ return array( ), 'jquery.throttle-debounce' => array( 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js', + 'targets' => array( 'desktop', 'mobile' ), ), 'jquery.validate' => array( 'scripts' => 'resources/lib/jquery/jquery.validate.js', @@ -764,7 +765,10 @@ return array( /* MediaWiki */ 'mediawiki' => array( - 'scripts' => 'resources/src/mediawiki/mediawiki.js', + 'scripts' => array( + 'resources/src/mediawiki/mediawiki.js', + 'resources/src/mediawiki/mediawiki.startUp.js', + ), 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js', 'raw' => true, 'targets' => array( 'desktop', 'mobile' ), @@ -1044,6 +1048,7 @@ return array( 'dependencies' => array( 'jquery.form', 'jquery.spinner', + 'jquery.textSelection', 'mediawiki.api', 'mediawiki.action.history.diff', 'mediawiki.util', @@ -1071,7 +1076,9 @@ return array( 'mediawiki.action.history.diff' => array( 'styles' => array( 'resources/src/mediawiki.action/mediawiki.action.history.diff.css', - 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array( 'media' => 'print' ), + 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array( + 'media' => 'print' + ), ), 'group' => 'mediawiki.action.history', 'targets' => array( 'desktop', 'mobile' ), @@ -1220,6 +1227,9 @@ return array( 'mediawiki.page.gallery' => array( 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js', + 'dependencies' => array( + 'jquery.throttle-debounce', + ) ), 'mediawiki.page.ready' => array( 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js', @@ -1462,7 +1472,9 @@ return array( 'colon-separator', 'javascripttest-pagetext-skins', ) ), - 'dependencies' => array( 'jquery.qunit' ), + 'dependencies' => array( + 'mediawiki.Uri', + ), 'position' => 'top', 'targets' => array( 'desktop', 'mobile' ), ),