From ad57562226ad1be92dcedb445fb0c21f9ba46220 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 17 Feb 2011 15:39:38 +0000 Subject: [PATCH] Per r82285: Add new messages for the default user groups. This way they can be found in Special:AllMessages at least. Messages fot WMF specific user groups can be added to WikimediaMessages.i18n.php when the function is live. --- languages/messages/MessagesEn.php | 8 ++++++++ maintenance/language/messageTypes.inc | 8 ++++++++ maintenance/language/messages.inc | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 14289d04bc..4df56fb4f4 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -3497,6 +3497,10 @@ You can view its source', 'vector.css' => '/* CSS placed here will affect users of the Vector skin */', # only translate this message to other languages if you have to change it 'print.css' => '/* CSS placed here will affect the print output */', # only translate this message to other languages if you have to change it 'handheld.css' => '/* CSS placed here will affect handheld devices based on the skin configured in $wgHandheldStyle */', # only translate this message to other languages if you have to change it +'autoconfirmed.css' => '/* CSS placed here will affect autoconfirmed users only */', # only translate this message to other languages if you have to change it +'bot.css' => '/* CSS placed here will affect bots only */', # only translate this message to other languages if you have to change it +'sysop.css' => '/* CSS placed here will affect sysops only */', # only translate this message to other languages if you have to change it +'bureaucrat.css' => '/* CSS placed here will affect bureaucrats only */', # only translate this message to other languages if you have to change it # 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 @@ -3509,6 +3513,10 @@ You can view its source', 'simple.js' => '/* Any JavaScript here will be loaded for users using the Simple skin */', # only translate this message to other languages if you have to change it 'modern.js' => '/* Any JavaScript here will be loaded for users using the Modern skin */', # only translate this message to other languages if you have to change it 'vector.js' => '/* Any JavaScript here will be loaded for users using the Vector skin */', # only translate this message to other languages if you have to change it +'autoconfirmed.js' => '/* Any JavaScript here will be loaded for autoconfirmed users only */', # only translate this message to other languages if you have to change it +'bot.js' => '/* Any JavaScript here will be loaded for bots only */', # only translate this message to other languages if you have to change it +'sysop.js' => '/* Any JavaScript here will be loaded for sysops only */', # only translate this message to other languages if you have to change it +'bureaucrat.js' => '/* Any JavaScript here will be loaded for bureaucrats only */', # only translate this message to other languages if you have to change it # Metadata 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.', diff --git a/maintenance/language/messageTypes.inc b/maintenance/language/messageTypes.inc index 53c3866670..9fdf390a14 100644 --- a/maintenance/language/messageTypes.inc +++ b/maintenance/language/messageTypes.inc @@ -252,6 +252,10 @@ $wgOptionalMessages = array( 'vector.css', 'print.css', 'handheld.css', + 'autoconfirmed.css', + 'bot.css', + 'sysop.css', + 'bureaucrat.css', 'common.js', 'standard.js', 'nostalgia.js', @@ -262,6 +266,10 @@ $wgOptionalMessages = array( 'simple.js', 'modern.js', 'vector.js', + 'autoconfirmed.js', + 'bot.js', + 'sysop.js', + 'bureaucrat.js', 'widthheight', 'exif-fnumber-format', 'exif-focallength-format', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 71c13603bb..034cce0cdf 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -2451,6 +2451,10 @@ $wgMessageStructure = array( 'vector.css', 'print.css', 'handheld.css', + 'autoconfirmed.css', + 'bot.css', + 'sysop.css', + 'bureaucrat.css', ), 'scripts' => array( 'common.js', @@ -2463,6 +2467,10 @@ $wgMessageStructure = array( 'simple.js', 'modern.js', 'vector.js', + 'autoconfirmed.js', + 'bot.js', + 'sysop.js', + 'bureaucrat.js', ), 'metadata_cc' => array( 'nodublincore', -- 2.20.1