r44495 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44494‎ | r44495 | r44496 >
Date:11:11, 12 December 2008
Author:siebrand
Status:ok
Tags:
Comment:
(bug 44) Fix omission: Image -> File in namespace names for yue, zh-hans, and zh-hant
Modified paths:
  • /trunk/phase3/languages/messages/MessagesYue.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesZh_hans.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesZh_hant.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesZh_hans.php
@@ -17,8 +17,8 @@
1818 NS_USER_TALK => 'User_talk',
1919 # NS_PROJECT set by $wgMetaNamespace
2020 NS_PROJECT_TALK => '$1_talk',
21 - NS_FILE => 'Image',
22 - NS_FILE_TALK => 'Image_talk',
 21+ NS_FILE => 'File',
 22+ NS_FILE_TALK => 'File_talk',
2323 NS_MEDIAWIKI => 'MediaWiki',
2424 NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
2525 NS_TEMPLATE => 'Template',
@@ -40,6 +40,8 @@
4141 # This has never worked so it's unlikely to annoy anyone if I disable it -- TS
4242 #'{{SITENAME}}_对话' => NS_PROJECT_TALK
4343 '图像' => NS_FILE,
 44+ 'Image' => NS_FILE,
 45+ 'Image_talk' => NS_FILE_TALK,
4446 '图像对话' => NS_FILE_TALK,
4547 '模板' => NS_TEMPLATE,
4648 '模板讨论'=> NS_TEMPLATE_TALK,
Index: trunk/phase3/languages/messages/MessagesYue.php
@@ -65,8 +65,8 @@
6666 NS_USER_TALK => 'User_talk',
6767 # NS_PROJECT => $wgMetaNamespace,
6868 NS_PROJECT_TALK => '$1_talk',
69 - NS_FILE => 'Image',
70 - NS_FILE_TALK => 'Image_talk',
 69+ NS_FILE => 'File',
 70+ NS_FILE_TALK => 'File_talk',
7171 NS_MEDIAWIKI => 'MediaWiki',
7272 NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
7373 NS_TEMPLATE => 'Template',
@@ -99,6 +99,8 @@
100100 "圖像" => NS_FILE,
101101 "图" => NS_FILE,
102102 "图像" => NS_FILE,
 103+ 'Image' => NS_FILE,
 104+ 'Image_talk' => NS_FILE_TALK,
103105 "圖 討論" => NS_FILE_TALK,
104106 "图 讨论" => NS_FILE_TALK,
105107 "圖像 討論" => NS_FILE_TALK,
Index: trunk/phase3/languages/messages/MessagesZh_hant.php
@@ -20,8 +20,8 @@
2121 NS_USER_TALK => 'User_talk',
2222 # NS_PROJECT set by $wgMetaNamespace
2323 NS_PROJECT_TALK => '$1_talk',
24 - NS_FILE => 'Image',
25 - NS_FILE_TALK => 'Image_talk',
 24+ NS_FILE => 'File',
 25+ NS_FILE_TALK => 'File_talk',
2626 NS_MEDIAWIKI => 'MediaWiki',
2727 NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
2828 NS_TEMPLATE => 'Template',
@@ -41,6 +41,8 @@
4242 # This has never worked so it's unlikely to annoy anyone if I disable it -- TS
4343 #"{{SITENAME}}_對話" => NS_PROJECT_TALK
4444 "圖像" => NS_FILE,
 45+ 'Image' => NS_FILE,
 46+ 'Image_talk' => NS_FILE_TALK,
4547 "圖像對話" => NS_FILE_TALK,
4648 "樣板" => NS_TEMPLATE,
4749 "樣板討論" => NS_TEMPLATE_TALK,

Follow-up revisions

RevisionCommit summaryAuthorDate
r44508Manual exporting namespaces aliases from Betawiki (bug 44: renaming of Image ...ialex18:21, 12 December 2008

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r43639(bug 44) Rename Image namespace to File. Based on a patch by brion....siebrand21:27, 17 November 2008
r44001(bug 44) make 'Image' and 'Image_talk' compatibility aliases work for all lan...vyznev20:27, 27 November 2008
r44004First step in replacing NS_IMAGE with NS_FILE, to match the canonical name ch...vyznev22:36, 27 November 2008
r44121Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit)....vyznev17:14, 1 December 2008
r44122bug 44 related change: NS_IMAGE -> NS_FILEsiebrand18:03, 1 December 2008

Status & tagging log