MediaWiki r19724 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r19723‎ | r19724 (on ViewVC)‎ | r19725 >
Date:16:04, 2 February 2007
Author:leon
Status:old
Tags:
Comment:
* (bug 8846) Fixing hardcoded links in interface messages. Patch by Arnomane (id=3171).
He promised to send patches for all the other files when there are no serious issues,
or anything else which should be changed, to avoid editing 150 for nothing.
Modified paths:

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php	(revision 19723)
+++ trunk/phase3/languages/messages/MessagesEn.php	(revision 19724)
@@ -612,7 +612,8 @@
 'navigation' => 'Navigation',
 
 # Metadata in edit box
-'metadata_help' => 'Metadata (see [[{{ns:project}}:Metadata]] for an explanation):',
+'metadata_help' => 'Metadata (see [[{{MediaWiki:metadata-url}}]] for an explanation):',
+'metadata-url' => 'Project:Metadata',
 
 'currentevents' => 'Current events',
 'currentevents-url' => 'Current events',
@@ -942,7 +943,7 @@
 
 The block was made by $1. The reason given is ''$2''.
 
-You can contact $1 or another [[{{ns:project}}:Administrators|administrator]] to discuss the block.
+You can contact $1 or another [[{{MediaWiki:grouppage-sysop}}|administrator]] to discuss the block.
 You cannot use the 'email this user' feature unless a valid email address is specified in your
 [[Special:Preferences|account preferences]]. Your current IP address is $3, and the block ID is #$5. Please include either or both of these in any queries.",
 'blockedoriginalsource' => "The source of '''$1''' is shown below:",
@@ -964,7 +965,7 @@
 'newarticletext' =>
 "You've followed a link to a page that doesn't exist yet.
 To create the page, start typing in the box below
-(see the [[{{ns:help}}:Contents|help page]] for more info).
+(see the [[{{MediaWiki:helppage}}|help page]] for more info).
 If you are here by mistake, just click your browser's '''back''' button.",
 'newarticletextanon' => '{{int:newarticletext}}',
 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
@@ -1131,7 +1132,8 @@
 # Search results
 #
 'searchresults' => 'Search results',
-'searchresulttext' => "For more information about searching {{SITENAME}}, see [[{{ns:project}}:Searching|Searching {{SITENAME}}]].",
+'searchresulttext' => "For more information about searching {{SITENAME}}, see [[{{MediaWiki:Searching-url}}|Searching {{SITENAME}}]].",
+'searching-url' => 'Project:Searching',
 'searchsubtitle' => "You searched for '''[[:$1]]'''",
 'searchsubtitleinvalid' => "You searched for '''$1'''",
 'badquery'		=> 'Badly formed search query',
@@ -1702,7 +1704,7 @@
 {{fullurl:{{ns:special}}:Watchlist/edit}}
 
 Feedback and further assistance:
-{{fullurl:{{ns:help}}:Contents}}',
+{{fullurl:{{MediaWiki:helppage}}}}',
 
 # Delete/protect/revert
 #
@@ -1719,7 +1721,8 @@
 or image along with all of its history from the database.
 Please confirm that you intend to do this, that you understand the
 consequences, and that you are doing this in accordance with
-[[{{ns:project}}:Policy]].",
+[[{{MediaWiki:policy-url}}]].",
+'policy-url' => 'Project:Policy',
 'actioncomplete' => 'Action complete',
 'deletedtext'	=> "\"$1\" has been deleted.
 See $2 for a record of recent deletions.",
@@ -1864,7 +1867,7 @@
 'blockiptext'	=> "Use the form below to block write access
 from a specific IP address or username.
 This should be done only only to prevent vandalism, and in
-accordance with [[{{ns:project}}:Policy|policy]].
+accordance with [[{{MediaWiki:policy-url}}|policy]].
 Fill in a specific reason below (for example, citing particular
 pages that were vandalized).",
 'ipaddress'		=> 'IP Address',

Follow-up revisions

Rev.Commit summaryAuthorDate
r19794* (bug 8846) see r19724leon21:08, 5 February 2007
r19983* (bug 8846) Fixes/highlights link problems inside {{fullurl: and wrong page...leon13:58, 18 February 2007
r19985* (bug 8846) fixes/highlights hardcoded links and wrong...leon19:04, 18 February 2007
Personal tools
Namespaces
Variants
Views
Actions
Site
Support
Download
Development
Communication
Toolbox