r38903 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38902‎ | r38903 | r38904 >
Date:15:02, 8 August 2008
Author:siebrand
Status:old
Tags:
Comment:
(rationale by Purodha) To some extent at least, category pages, and media pages, can now be subjects, or targets, of redirects, protections, and renames. Messages that potentially link to one of those with wikicode [[$N]] ought to be altered to now use [[:$N]], which unlike the other, always correctly links to all pages in all namespaces. Some messages have been adapted recently. Fixing the remaining candidates in MediaWiki code:
* autoredircomment
* redirectingto
* import-logentry-upload
* protectedarticle
* unprotectedarticle
* modifiedarticleprotection
* delete and move text
* 1movedto2
* 1movedto2 redir
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2192,9 +2192,9 @@
21932193 'protectlogpage' => 'Protection log',
21942194 'protectlogtext' => 'Below is a list of page locks and unlocks.
21952195 See the [[Special:ProtectedPages|protected pages list]] for the list of currently operational page protections.',
2196 -'protectedarticle' => 'protected "[[$1]]"',
2197 -'modifiedarticleprotection' => 'changed protection level for "[[$1]]"',
2198 -'unprotectedarticle' => 'unprotected "[[$1]]"',
 2196+'protectedarticle' => 'protected "[[:$1]]"',
 2197+'modifiedarticleprotection' => 'changed protection level for "[[:$1]]"',
 2198+'unprotectedarticle' => 'unprotected "[[:$1]]"',
21992199 'protect-title' => 'Change protection level for "$1"',
22002200 'protect-backlink' => '← $1', # only translate this message to other languages if you have to change it
22012201 'protect-legend' => 'Confirm protection',
@@ -2492,15 +2492,15 @@
24932493 'movepage-page-moved' => 'The page $1 has been moved to $2.',
24942494 'movepage-page-unmoved' => 'The page $1 could not be moved to $2.',
24952495 'movepage-max-pages' => 'The maximum of $1 {{PLURAL:$1|page|pages}} has been moved and no more will be moved automatically.',
2496 -'1movedto2' => '[[$1]] moved to [[$2]]',
2497 -'1movedto2_redir' => '[[$1]] moved to [[$2]] over redirect',
 2496+'1movedto2' => '[[:$1]] moved to [[:$2]]',
 2497+'1movedto2_redir' => '[[:$1]] moved to [[:$2]] over redirect',
24982498 'movelogpage' => 'Move log',
24992499 'movelogpagetext' => 'Below is a list of pages moved.',
25002500 'movereason' => 'Reason:',
25012501 'revertmove' => 'revert',
25022502 'delete_and_move' => 'Delete and move',
25032503 'delete_and_move_text' => '==Deletion required==
2504 -The destination page "[[$1]]" already exists.
 2504+The destination page "[[:$1]]" already exists.
25052505 Do you want to delete it to make way for the move?',
25062506 'delete_and_move_confirm' => 'Yes, delete the page',
25072507 'delete_and_move_reason' => 'Deleted to make way for move',
@@ -2588,7 +2588,7 @@
25892589 # Import log
25902590 'importlogpage' => 'Import log',
25912591 'importlogpagetext' => 'Administrative imports of pages with edit history from other wikis.',
2592 -'import-logentry-upload' => 'imported [[$1]] by file upload',
 2592+'import-logentry-upload' => 'imported [[:$1]] by file upload',
25932593 'import-logentry-upload-detail' => '$1 {{PLURAL:$1|revision|revisions}}',
25942594 'import-logentry-interwiki' => 'transwikied $1',
25952595 'import-logentry-interwiki-detail' => '$1 {{PLURAL:$1|revision|revisions}} from $2',
@@ -3263,7 +3263,7 @@
32643264 'unit-pixel' => 'px', # only translate this message to other languages if you have to change it
32653265
32663266 # HTML dump
3267 -'redirectingto' => 'Redirecting to [[$1]]...',
 3267+'redirectingto' => 'Redirecting to [[:$1]]...',
32683268
32693269 # action=purge
32703270 'confirm_purge' => 'Clear the cache of this page?
@@ -3305,7 +3305,7 @@
33063306 # Auto-summaries
33073307 'autosumm-blank' => 'Removing all content from page',
33083308 'autosumm-replace' => "Replacing page with '$1'",
3309 -'autoredircomment' => 'Redirecting to [[$1]]',
 3309+'autoredircomment' => 'Redirecting to [[:$1]]',
33103310 'autosumm-new' => 'New page: $1',
33113311
33123312 # Autoblock whitelist

Follow-up revisions

RevisionCommit summaryAuthorDate
r38916Backport compatible recent changes to MessagesEn.php (up to r38903)siebrand16:47, 8 August 2008

Status & tagging log