r14835 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14834‎ | r14835 | r14836 >
Date:09:56, 20 June 2006
Author:rotem
Status:old
Tags:
Comment:
Fixes per Gangleri's request:
* Replacing {{ns:X}} with the real namespace names, for performance - except for "administrators" which is directly shown.
* Removing the obsolete underscores from the log pages.
Modified paths:
  • /trunk/phase3/languages/Messages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Messages.php
@@ -158,7 +158,7 @@
159159 'navigation' => 'Navigation',
160160
161161 # Metadata in edit box
162 -'metadata_help' => 'Metadata (see [[{{ns:project}}:Metadata]] for an explanation):',
 162+'metadata_help' => 'Metadata (see [[Project:Metadata]] for an explanation):',
163163
164164 'currentevents' => 'Current events',
165165 'currentevents-url' => 'Current events',
@@ -276,7 +276,7 @@
277277 'nosuchactiontext' => 'The action specified by the URL is not
278278 recognized by the wiki',
279279 'nosuchspecialpage' => 'No such special page',
280 -'nospecialpagetext' => 'You have requested an invalid special page, a list of valid special pages may be found at [[{{ns:special}}:Specialpages]].',
 280+'nospecialpagetext' => 'You have requested an invalid special page, a list of valid special pages may be found at [[Special:Specialpages]].',
281281
282282 # General errors
283283 #
@@ -334,7 +334,7 @@
335335 'viewsourcefor' => 'for $1',
336336 'protectedtext' => 'This page has been locked to prevent editing; there are
337337 a number of reasons why this may be so, please see
338 -[[{{ns:project}}:Protected page]].
 338+[[Project:Protected page]].
339339
340340 You can view and copy the source of this page:',
341341 'protectedinterface' => 'This page provides interface text for the software, and is locked to prevent abuse.',
@@ -471,7 +471,7 @@
472472 'blockedtitle' => 'User is blocked',
473473 'blockedtext' => 'Your user name or IP address has been blocked by $1.
474474 The reason given is this:<br />\'\'$2\'\'<br />You may contact $1 or one of the other
475 -[[{{ns:project}}:Administrators|administrators]] to discuss the block.
 475+[[Project:Administrators|administrators]] to discuss the block.
476476
477477 Note that you may not use the "e-mail this user" feature unless you have a valid e-mail address registered in your [[Special:Preferences|user preferences]].
478478
@@ -493,12 +493,12 @@
494494 'newarticletext' =>
495495 "You've followed a link to a page that doesn't exist yet.
496496 To create the page, start typing in the box below
497 -(see the [[{{ns:project}}:Help|help page]] for more info).
 497+(see the [[Help:Contents|help page]] for more info).
498498 If you are here by mistake, just click your browser's '''back''' button.",
499499 'newarticletextanon' => '{{int:newarticletext}}',
500500 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
501501 'anontalkpagetext' => "----''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical IP address to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.''",
502 -'noarticletext' => 'There is currently no text in this page, you can [[{{ns:special}}:Search/{{PAGENAME}}|search for this page title]] in other pages or [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} edit this page].',
 502+'noarticletext' => 'There is currently no text in this page, you can [[Special:Search/{{PAGENAME}}|search for this page title]] in other pages or [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} edit this page].',
503503 'noarticletextanon' => '{{int:noarticletext}}',
504504 'clearyourcache' => "'''Note:''' After saving, you may have to bypass your browser's cache to see the changes. '''Mozilla / Firefox / Safari:''' hold down ''Shift'' while clicking ''Reload'', or press ''Ctrl-Shift-R'' (''Cmd-Shift-R'' on Apple Mac); '''IE:''' hold ''Ctrl'' while clicking ''Refresh'', or press ''Ctrl-F5''; '''Konqueror:''': simply click the ''Reload'' button, or press ''F5''; '''Opera''' users may need to completely clear their cache in ''Tools→Preferences''.",
505505 'usercssjsyoucanpreview' => '<strong>Tip:</strong> Use the \'Show preview\' button to test your new CSS/JS before saving.',
@@ -549,7 +549,7 @@
550550 'readonlywarning' => '<strong>WARNING: The database has been locked for maintenance,
551551 so you will not be able to save your edits right now. You may wish to cut-n-paste
552552 the text into a text file and save it for later.</strong>',
553 -'protectedpagewarning' => "<strong>WARNING: This page has been locked so that only users with sysop privileges can edit it. Be sure you are following the [[{{ns:project}}:Protected_page_guidelines|protected page guidelines]].</strong>",
 553+'protectedpagewarning' => "<strong>WARNING: This page has been locked so that only users with sysop privileges can edit it. Be sure you are following the [[Project:Protected page guidelines|protected page guidelines]].</strong>",
554554 'semiprotectedpagewarning' => "'''Note:''' This page has been locked so that only registered users can edit it.",
555555 'templatesused' => 'Templates used on this page:',
556556 'edittools' => '<!-- Text here will be shown below edit and upload forms. -->',
@@ -635,7 +635,7 @@
636636 # Search results
637637 #
638638 'searchresults' => 'Search results',
639 -'searchresulttext' => "For more information about searching {{SITENAME}}, see [[{{ns:project}}:Searching|Searching {{SITENAME}}]].",
 639+'searchresulttext' => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
640640 'searchquery' => "For query \"$1\"",
641641 'badquery' => 'Badly formed search query',
642642 'badquerytext' => 'We could not process your query.
@@ -760,9 +760,9 @@
761761 'group-bureaucrat-member' => 'Bureaucrat',
762762 'group-steward-member' => 'Steward',
763763
764 -'grouppage-bot' => '{{ns:project}}:Bots',
765 -'grouppage-sysop' => '{{ns:project}}:Administrators',
766 -'grouppage-bureaucrat' => '{{ns:project}}:Bureaucrats',
 764+'grouppage-bot' => 'Project:Bots',
 765+'grouppage-sysop' => 'Project:Administrators',
 766+'grouppage-bureaucrat' => 'Project:Bureaucrats',
767767
768768 # Recent changes
769769 #
@@ -807,11 +807,11 @@
808808 'uploadtext' => "Use the form below to upload files, to view or search previously uploaded images go to the [[Special:Imagelist|list of uploaded files]], uploads and deletions are also logged in the [[Special:Log/upload|upload log]].
809809
810810 To include the image in a page, use a link in the form
811 -'''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''',
812 -'''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
813 -'''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for directly linking to the file.",
 811+'''<nowiki>[[Image:File.jpg]]</nowiki>''',
 812+'''<nowiki>[[Image:File.png|alt text]]</nowiki>''' or
 813+'''<nowiki>[[Media:File.ogg]]</nowiki>''' for directly linking to the file.",
814814 'uploadlog' => 'upload log',
815 -'uploadlogpage' => 'Upload_log',
 815+'uploadlogpage' => 'Upload log',
816816 'uploadlogpagetext' => 'Below is a list of the most recent file uploads.',
817817 'filename' => 'Filename',
818818 'filedesc' => 'Summary',
@@ -1137,12 +1137,12 @@
11381138 or image along with all of its history from the database.
11391139 Please confirm that you intend to do this, that you understand the
11401140 consequences, and that you are doing this in accordance with
1141 -[[{{ns:project}}:Policy]].",
 1141+[[Project:Policy]].",
11421142 'actioncomplete' => 'Action complete',
11431143 'deletedtext' => "\"$1\" has been deleted.
11441144 See $2 for a record of recent deletions.",
11451145 'deletedarticle' => "deleted \"[[$1]]\"",
1146 -'dellogpage' => 'Deletion_log',
 1146+'dellogpage' => 'Deletion log',
11471147 'dellogpagetext' => 'Below is a list of the most recent deletions.',
11481148 'deletionlog' => 'deletion log',
11491149 'reverted' => 'Reverted to earlier revision',
@@ -1163,9 +1163,9 @@
11641164 'sessionfailure' => 'There seems to be a problem with your login session;
11651165 this action has been canceled as a precaution against session hijacking.
11661166 Please hit "back" and reload the page you came from, then try again.',
1167 -'protectlogpage' => 'Protection_log',
 1167+'protectlogpage' => 'Protection log',
11681168 'protectlogtext' => "Below is a list of page locks/unlocks.
1169 -See [[{{ns:project}}:Protected page]] for more information.",
 1169+See [[Project:Protected page]] for more information.",
11701170 'protectedarticle' => 'protected "[[$1]]"',
11711171 'unprotectedarticle' => 'unprotected "[[$1]]"',
11721172 'protectsub' => '(Protecting "$1")',
@@ -1179,7 +1179,7 @@
11801180 'unprotectcomment' => 'Reason for unprotecting',
11811181 'protect-unchain' => 'Unlock move permissions',
11821182 'protect-text' => 'You may view and change the protection level here for the page <strong>$1</strong>.
1183 -Please be sure you are following the [[{{ns:project}}:Protected page|project guidelines]].',
 1183+Please be sure you are following the [[Project:Protected page|project guidelines]].',
11841184 'protect-viewtext' => 'Your account does not have permission to change
11851185 page protection levels. Here are the current settings for the page <strong>$1</strong>:',
11861186 'protect-default' => '(default)',
@@ -1265,7 +1265,7 @@
12661266 'blockiptext' => "Use the form below to block write access
12671267 from a specific IP address or username.
12681268 This should be done only only to prevent vandalism, and in
1269 -accordance with [[{{ns:project}}:Policy|policy]].
 1269+accordance with [[Project:Policy|policy]].
12701270 Fill in a specific reason below (for example, citing particular
12711271 pages that were vandalized).",
12721272 'ipaddress' => 'IP Address',
@@ -1278,8 +1278,8 @@
12791279 'ipbotheroption' => 'other',
12801280 'badipaddress' => 'Invalid IP address',
12811281 'blockipsuccesssub' => 'Block succeeded',
1282 -'blockipsuccesstext' => '[[{{ns:Special}}:Contributions/$1|$1]] has been blocked.
1283 -<br />See [[{{ns:Special}}:Ipblocklist|IP block list]] to review blocks.',
 1282+'blockipsuccesstext' => '[[Special:Contributions/$1|$1]] has been blocked.
 1283+<br />See [[Special:Ipblocklist|IP block list]] to review blocks.',
12841284 'unblockip' => 'Unblock user',
12851285 'unblockiptext' => 'Use the form below to restore write access
12861286 to a previously blocked IP address or username.',
@@ -1294,7 +1294,7 @@
12951295 'unblocklink' => 'unblock',
12961296 'contribslink' => 'contribs',
12971297 'autoblocker' => 'Autoblocked because your IP address has been recently used by "[[User:$1|$1]]". The reason given for $1\'s block is: "\'\'\'$2\'\'\'"',
1298 -'blocklogpage' => 'Block_log',
 1298+'blocklogpage' => 'Block log',
12991299 'blocklogentry' => 'blocked "[[$1]]" with an expiry time of $2',
13001300 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
13011301 blocked IP addresses are not listed. See the [[Special:Ipblocklist|IP block list]] for
@@ -1428,7 +1428,7 @@
14291429 select whether you want the current version as well as all old versions, with the page
14301430 history lines, or just the current version with the info about the last edit.
14311431
1432 -In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/{{Mediawiki:mainpage}}]] for the page {{Mediawiki:mainpage}}.',
 1432+In the latter case you can also use a link, e.g. [[Special:Export/{{int:mainpage}}]] for the page {{int:mainpage}}.',
14331433 'exportcuronly' => 'Include only the current revision, not the full history',
14341434 'exportnohistory' => "----
14351435 '''Note:''' exporting the full history of pages through this form has been disabled due to performance reasons.",

Follow-up revisions

RevisionCommit summaryAuthorDate
r14842Reverting some of the changes in r14835, per http://mail.wikipedia.org/piperm...rotem14:01, 20 June 2006

Status & tagging log