r14683 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14682‎ | r14683 | r14684 >
Date:15:28, 9 June 2006
Author:robchurch
Status:old
Tags:
Comment:
Remove a number of needless {{ns:project}}-type transforms from messages files. These usages already have separate label text. Such transforms are wasteful on each page view.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/Messages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -462,8 +462,9 @@
463463 * (bug 5945) Introduce {{CONTENTLANGUAGE}} magic word
464464 * {{PLURAL}} can now take up to five forms
465465 * (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
 466+* Remove a number of needless {{ns:project}}-type transforms from messages files. These
 467+ usages already have separate label text. Such transforms are wasteful on each page view.
466468
467 -
468469 == Compatibility ==
469470
470471 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
Index: trunk/phase3/languages/Messages.php
@@ -127,19 +127,19 @@
128128 * [http://mail.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]",
129129
130130 'portal' => 'Community portal',
131 -'portal-url' => '{{ns:project}}:Community Portal',
 131+'portal-url' => 'Project:Community Portal',
132132 'about' => 'About',
133133 'aboutsite' => 'About {{SITENAME}}',
134 -'aboutpage' => '{{ns:project}}:About',
 134+'aboutpage' => 'Project:About',
135135 'article' => 'Content page',
136136 'help' => 'Help',
137137 'helppage' => 'Help:Contents',
138138 'bugreports' => 'Bug reports',
139 -'bugreportspage' => '{{ns:project}}:Bug_reports',
 139+'bugreportspage' => 'Project:Bug_reports',
140140 'sitesupport' => 'Donations',
141 -'sitesupport-url' => '{{ns:project}}:Site support',
 141+'sitesupport-url' => 'Project:Site support',
142142 'faq' => 'FAQ',
143 -'faqpage' => '{{ns:project}}:FAQ',
 143+'faqpage' => 'Project:FAQ',
144144 'edithelp' => 'Editing help',
145145 'newwindow' => '(opens in new window)',
146146 'edithelppage' => 'Help:Editing',
@@ -164,9 +164,9 @@
165165 'currentevents-url' => 'Current events',
166166
167167 'disclaimers' => 'Disclaimers',
168 -'disclaimerpage' => '{{ns:project}}:General_disclaimer',
 168+'disclaimerpage' => 'Project:General_disclaimer',
169169 'privacy' => 'Privacy policy',
170 -'privacypage' => '{{ns:project}}:Privacy_policy',
 170+'privacypage' => 'Project:Privacy_policy',
171171 'errorpagetitle' => 'Error',
172172 'returnto' => 'Return to $1.',
173173 'tagline' => 'From {{SITENAME}}',
@@ -821,7 +821,7 @@
822822 'fileuploadsummary' => 'Summary:',
823823 'filestatus' => 'Copyright status',
824824 'filesource' => 'Source',
825 -'copyrightpage' => "{{ns:project}}:Copyrights",
 825+'copyrightpage' => "Project:Copyrights",
826826 'copyrightpagename' => "{{SITENAME}} copyright",
827827 'uploadedfiles' => 'Uploaded files',
828828 'ignorewarning' => 'Ignore warning and save file anyway.',

Status & tagging log