Remove bullshit "deprecated" warnings about MediaWiki:Monobook.js
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jun 2008 19:33:24 +0000 (19:33 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jun 2008 19:33:24 +0000 (19:33 +0000)
Skin-specific JS pages are *PERFECTLY APPROPRIATE* for *SKIN-SPECIFIC* JS.
MediaWiki:Common.js should be used for *GENERAL JS*.

includes/SkinTemplate.php
languages/messages/MessagesEn.php

index 562defd..fa1ed86 100644 (file)
@@ -1082,7 +1082,7 @@ class SkinTemplate extends Skin {
                wfProfileIn( __METHOD__ );
 
                $s = parent::getUserJs();
-               $s .= "\n\n/* MediaWiki:".ucfirst($this->skinname).".js (deprecated; migrate to Common.js!) */\n";
+               $s .= "\n\n/* MediaWiki:".ucfirst($this->skinname).".js */\n";
 
                // avoid inclusion of non defined user JavaScript (with custom skins only)
                // by checking for default message content
index 9270158..7160cac 100644 (file)
@@ -2659,7 +2659,7 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]]
 
 # Scripts
 'common.js'   => '/* Any JavaScript here will be loaded for all users on every page load. */', # only translate this message to other languages if you have to change it
-'monobook.js' => '/* Deprecated; use [[MediaWiki:common.js]] */', # only translate this message to other languages if you have to change it
+'monobook.js' => '/* JavaScript here will be loaded for users using the MonoBook skin only. */', # only translate this message to other languages if you have to change it
 
 # Metadata
 'nodublincore'      => 'Dublin Core RDF metadata disabled for this server.',