r82335 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82334‎ | r82335 | r82336 >
Date:15:39, 17 February 2011
Author:raymond
Status:ok
Tags:
Comment:
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.
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messageTypes.inc (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -2451,6 +2451,10 @@
24522452 'vector.css',
24532453 'print.css',
24542454 'handheld.css',
 2455+ 'autoconfirmed.css',
 2456+ 'bot.css',
 2457+ 'sysop.css',
 2458+ 'bureaucrat.css',
24552459 ),
24562460 'scripts' => array(
24572461 'common.js',
@@ -2463,6 +2467,10 @@
24642468 'simple.js',
24652469 'modern.js',
24662470 'vector.js',
 2471+ 'autoconfirmed.js',
 2472+ 'bot.js',
 2473+ 'sysop.js',
 2474+ 'bureaucrat.js',
24672475 ),
24682476 'metadata_cc' => array(
24692477 'nodublincore',
Index: trunk/phase3/maintenance/language/messageTypes.inc
@@ -252,6 +252,10 @@
253253 'vector.css',
254254 'print.css',
255255 'handheld.css',
 256+ 'autoconfirmed.css',
 257+ 'bot.css',
 258+ 'sysop.css',
 259+ 'bureaucrat.css',
256260 'common.js',
257261 'standard.js',
258262 'nostalgia.js',
@@ -262,6 +266,10 @@
263267 'simple.js',
264268 'modern.js',
265269 'vector.js',
 270+ 'autoconfirmed.js',
 271+ 'bot.js',
 272+ 'sysop.js',
 273+ 'bureaucrat.js',
266274 'widthheight',
267275 'exif-fnumber-format',
268276 'exif-focallength-format',
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -3497,6 +3497,10 @@
34983498 '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
34993499 'print.css' => '/* CSS placed here will affect the print output */', # only translate this message to other languages if you have to change it
35003500 '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
 3501+'autoconfirmed.css' => '/* CSS placed here will affect autoconfirmed users only */', # only translate this message to other languages if you have to change it
 3502+'bot.css' => '/* CSS placed here will affect bots only */', # only translate this message to other languages if you have to change it
 3503+'sysop.css' => '/* CSS placed here will affect sysops only */', # only translate this message to other languages if you have to change it
 3504+'bureaucrat.css' => '/* CSS placed here will affect bureaucrats only */', # only translate this message to other languages if you have to change it
35013505
35023506 # Scripts
35033507 '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 @@
35103514 '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
35113515 '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
35123516 '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
 3517+'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
 3518+'bot.js' => '/* Any JavaScript here will be loaded for bots only */', # only translate this message to other languages if you have to change it
 3519+'sysop.js' => '/* Any JavaScript here will be loaded for sysops only */', # only translate this message to other languages if you have to change it
 3520+'bureaucrat.js' => '/* Any JavaScript here will be loaded for bureaucrats only */', # only translate this message to other languages if you have to change it
35133521
35143522 # Metadata
35153523 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',

Sign-offs

UserFlagDate
Hasharinspected09:15, 23 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82285Create a user.groups module in ResourceLoader, which bundles a CSS and JS pag...happy-melon19:54, 16 February 2011

Status & tagging log