Remove unneeded dependency from wikibits, and move the showtoc and hidetoc messages...
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 6 Jan 2012 11:44:41 +0000 (11:44 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 6 Jan 2012 11:44:41 +0000 (11:44 +0000)
resources/Resources.php

index 5a1d8ef..5c4b597 100644 (file)
@@ -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(