r108220 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108219‎ | r108220 | r108221 >
Date:11:44, 6 January 2012
Author:catrope
Status:ok
Tags:
Comment:
Remove unneeded dependency from wikibits, and move the showtoc and hidetoc messages to mw.util where they're used
Modified paths:
  • /trunk/phase3/resources/Resources.php (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/Resources.php
@@ -587,6 +587,7 @@
588588 'jquery.messageBox',
589589 'jquery.mwExtension',
590590 ),
 591+ 'messages' => array( 'showtoc', 'hidetoc' ),
591592 ),
592593
593594 /* MediaWiki Action */
@@ -863,8 +864,6 @@
864865 'scripts' => 'common/wikibits.js',
865866 'remoteBasePath' => $GLOBALS['wgStylePath'],
866867 'localBasePath' => $GLOBALS['wgStyleDirectory'],
867 - 'dependencies' => 'mediawiki.language',
868 - 'messages' => array( 'showtoc', 'hidetoc' ),
869868 'position' => 'bottom',
870869 ),
871870 'mediawiki.legacy.wikiprintable' => array(

Status & tagging log