r50718 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50717‎ | r50718 | r50719 >
Date:11:51, 18 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
* mark up "Warning:" the same way in all Messages
* remove some ALLCAPS usage.
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -810,7 +810,7 @@
811811 "$1"
812812 from within function "$2".
813813 MySQL returned error "$3: $4"',
814 -'laggedslavemode' => 'Warning: Page may not contain recent updates.',
 814+'laggedslavemode' => "'''Warning:''' Page may not contain recent updates.",
815815 'readonly' => 'Database locked',
816816 'enterlockreason' => 'Enter a reason for the lock, including an estimate of when the lock will be released',
817817 'readonlytext' => 'The database is currently locked to new entries and other modifications, probably for routine database maintenance, after which it will be back to normal.
@@ -1138,32 +1138,32 @@
11391139 '''Only''' the text in the upper text area will be saved when you press \"Save page\".",
11401140 'yourtext' => 'Your text',
11411141 'storedversion' => 'Stored revision',
1142 -'nonunicodebrowser' => "'''WARNING: Your browser is not unicode compliant.'''
 1142+'nonunicodebrowser' => "'''Warning: Your browser is not unicode compliant.'''
11431143 A workaround is in place to allow you to safely edit pages: non-ASCII characters will appear in the edit box as hexadecimal codes.",
1144 -'editingold' => "'''WARNING: You are editing an out-of-date revision of this page.'''
 1144+'editingold' => "'''Warning: You are editing an out-of-date revision of this page.'''
11451145 If you save it, any changes made since this revision will be lost.",
11461146 'yourdiff' => 'Differences',
11471147 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are considered to be released under the $2 (see $1 for details).
11481148 If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.<br />
11491149 You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
1150 -'''DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!'''",
 1150+'''Do not submit copyrighted work without permission!'''",
11511151 'copyrightwarning2' => "Please note that all contributions to {{SITENAME}} may be edited, altered, or removed by other contributors.
11521152 If you do not want your writing to be edited mercilessly, then do not submit it here.<br />
11531153 You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see $1 for details).
1154 -'''DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!'''",
1155 -'longpagewarning' => "'''WARNING''': This page is $1 kilobytes long;
 1154+'''Do not submit copyrighted work without permission!'''",
 1155+'longpagewarning' => "'''Warning:''' This page is $1 kilobytes long;
11561156 some browsers may have problems editing pages approaching or longer than 32kb.
11571157 Please consider breaking the page into smaller sections.",
1158 -'longpageerror' => "'''ERROR: The text you have submitted is $1 kilobytes long, which is longer than the maximum of $2 kilobytes.'''
 1158+'longpageerror' => "'''Error: The text you have submitted is $1 kilobytes long, which is longer than the maximum of $2 kilobytes.'''
11591159 It cannot be saved.",
1160 -'readonlywarning' => "'''WARNING: The database has been locked for maintenance, so you will not be able to save your edits right now.'''
 1160+'readonlywarning' => "'''Warning: The database has been locked for maintenance, so you will not be able to save your edits right now.'''
11611161 You may wish to cut-n-paste the text into a text file and save it for later.
11621162
11631163 The administrator who locked it offered this explanation: $1",
1164 -'protectedpagewarning' => "'''WARNING: This page has been locked so that only users with administrator privileges can edit it.'''",
 1164+'protectedpagewarning' => "'''Warning: This page has been locked so that only users with administrator privileges can edit it.'''",
11651165 'semiprotectedpagewarning' => "'''Note:''' This page has been locked so that only registered users can edit it.",
11661166 'cascadeprotectedwarning' => "'''Warning:''' This page has been locked so that only users with administrator privileges can edit it, because it is included in the following cascade-protected {{PLURAL:$1|page|pages}}:",
1167 -'titleprotectedwarning' => "'''WARNING: This page has been locked so that [[Special:ListGroupRights|specific rights]] are needed to create it.'''",
 1167+'titleprotectedwarning' => "'''Warning: This page has been locked so that [[Special:ListGroupRights|specific rights]] are needed to create it.'''",
11681168 'templatesused' => 'Templates used on this page:',
11691169 'templatesusedpreview' => 'Templates used in this preview:',
11701170 'templatesusedsection' => 'Templates used in this section:',
@@ -1195,14 +1195,14 @@
11961196 It already exists.',
11971197
11981198 # Parser/template warnings
1199 -'expensive-parserfunction-warning' => 'Warning: This page contains too many expensive parser function calls.
 1199+'expensive-parserfunction-warning' => '\'\'\'Warning:\'\'\' This page contains too many expensive parser function calls.
12001200
12011201 It should have less than $2 {{PLURAL:$2|call|calls}}, there {{PLURAL:$1|is now $1 call|are now $1 calls}}.',
12021202 'expensive-parserfunction-category' => 'Pages with too many expensive parser function calls',
1203 -'post-expand-template-inclusion-warning' => 'Warning: Template include size is too large.
 1203+'post-expand-template-inclusion-warning' => '\'\'\'Warning:\'\'\' Template include size is too large.
12041204 Some templates will not be included.',
12051205 'post-expand-template-inclusion-category' => 'Pages where template include size is exceeded',
1206 -'post-expand-template-argument-warning' => 'Warning: This page contains at least one template argument which has a too large expansion size.
 1206+'post-expand-template-argument-warning' => '\'\'\'Warning:\'\'\' This page contains at least one template argument which has a too large expansion size.
12071207 These arguments have been omitted.',
12081208 'post-expand-template-argument-category' => 'Pages containing omitted template arguments',
12091209 'parser-template-loop-warning' => 'Template loop detected: [[$1]]',
@@ -2397,7 +2397,7 @@
23982398 'delete-confirm' => 'Delete "$1"',
23992399 'delete-backlink' => '← $1', # only translate this message to other languages if you have to change it
24002400 'delete-legend' => 'Delete',
2401 -'historywarning' => 'Warning: The page you are about to delete has a history:',
 2401+'historywarning' => "'''Warning:''' The page you are about to delete has a history:",
24022402 'confirmdeletetext' => 'You are about to delete a page along with all of its history.
24032403 Please confirm that you intend to do this, that you understand the consequences, and that you are doing this in accordance with [[{{MediaWiki:Policy-url}}|the policy]].',
24042404 'actioncomplete' => 'Action complete',
@@ -2757,7 +2757,7 @@
27582758 Note that the page will '''not''' be moved if there is already a page at the new title, unless it is empty or a redirect and has no past edit history.
27592759 This means that you can rename a page back to where it was renamed from if you make a mistake, and you cannot overwrite an existing page.
27602760
2761 -'''WARNING!'''
 2761+'''Warning!'''
27622762 This can be a drastic and unexpected change for a popular page;
27632763 please be sure you understand the consequences of this before proceeding.",
27642764 'movepagetalktext' => "The associated talk page will be automatically moved along with it '''unless:'''
@@ -2820,7 +2820,7 @@
28212821 'imageinvalidfilename' => 'The target file name is invalid',
28222822 'fix-double-redirects' => 'Update any redirects that point to the original title',
28232823 'move-leave-redirect' => 'Leave a redirect behind',
2824 -'protectedpagemovewarning' => "'''WARNING:''' This page has been locked so that only users with administrator privileges can move it.",
 2824+'protectedpagemovewarning' => "'''Warning:''' This page has been locked so that only users with administrator privileges can move it.",
28252825 'semiprotectedpagemovewarning' => "'''Note:''' This page has been locked so that only registered users can move it.",
28262826
28272827 # Export
@@ -3815,7 +3815,7 @@
38163816
38173817 # Core parser functions
38183818 'unknown_extension_tag' => 'Unknown extension tag "$1"',
3819 -'duplicate-defaultsort' => 'Warning: Default sort key "$2" overrides earlier default sort key "$1".',
 3819+'duplicate-defaultsort' => '\'\'\'Warning:\'\'\' Default sort key "$2" overrides earlier default sort key "$1".',
38203820
38213821 # Special:Version
38223822 'version' => 'Version',

Status & tagging log