From 901ce4e4a28e2fd6b6b0a4b33b19262835677bf5 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Fri, 6 Jan 2012 11:44:41 +0000 Subject: [PATCH] Remove unneeded dependency from wikibits, and move the showtoc and hidetoc messages to mw.util where they're used --- resources/Resources.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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( -- 2.20.1