From: Aaron Schulz Date: Fri, 28 Nov 2008 18:41:25 +0000 (+0000) Subject: (bug 15695) Define 'mw-js-message' to make jsMsg() work in modern skin X-Git-Tag: 1.31.0-rc.0~44174 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=c3374eb88004a101c8fd2f67798a65de03d28228;p=lhc%2Fweb%2Fwiklou.git (bug 15695) Define 'mw-js-message' to make jsMsg() work in modern skin --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index a13b7760c1..3c9de2a7c9 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1436,7 +1436,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '185'; +$wgStyleVersion = '186'; # Server-side caching: diff --git a/skins/Modern.php b/skins/Modern.php index 0120d37286..1b5e078907 100644 --- a/skins/Modern.php +++ b/skins/Modern.php @@ -143,6 +143,7 @@ class ModernTemplate extends QuickTemplate { for the margins -->
+
msg('tagline') ?>
data['newtalk'] ) { ?>
html('newtalk') ?>
diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 11709e156d..5c94db2a65 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -851,6 +851,7 @@ function jsMsg( message, className ) { } messageDiv.setAttribute( 'id', 'mw-js-message' ); + messageDiv.style.display = 'block'; if( className ) { messageDiv.setAttribute( 'class', 'mw-js-message-'+className ); }