From: Roan Kattouw Date: Fri, 6 Jan 2012 11:44:41 +0000 (+0000) Subject: Remove unneeded dependency from wikibits, and move the showtoc and hidetoc messages... X-Git-Tag: 1.31.0-rc.0~25486 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=901ce4e4a28e2fd6b6b0a4b33b19262835677bf5;p=lhc%2Fweb%2Fwiklou.git Remove unneeded dependency from wikibits, and move the showtoc and hidetoc messages to mw.util where they're used --- diff --git a/resources/Resources.php b/resources/Resources.php index 5a1d8efb74..5c4b597c8b 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -587,6 +587,7 @@ return array( 'jquery.messageBox', 'jquery.mwExtension', ), + 'messages' => array( 'showtoc', 'hidetoc' ), ), /* MediaWiki Action */ @@ -863,8 +864,6 @@ return array( 'scripts' => 'common/wikibits.js', 'remoteBasePath' => $GLOBALS['wgStylePath'], 'localBasePath' => $GLOBALS['wgStyleDirectory'], - 'dependencies' => 'mediawiki.language', - 'messages' => array( 'showtoc', 'hidetoc' ), 'position' => 'bottom', ), 'mediawiki.legacy.wikiprintable' => array(