r41927 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41926‎ | r41927 | r41928 >
Date:11:52, 10 October 2008
Author:mfarag
Status:old (Comments)
Tags:back compat 
Comment:
Update files
Modified paths:
  • /trunk/phase3/languages/messages/MessagesAr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesArz.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesAr.php
@@ -121,7 +121,7 @@
122122 );
123123
124124 $namespaceAliases = array(
125 - 'ملف' => NS_MEDIA,
 125+ 'وسائط' => NS_MEDIA,
126126 );
127127
128128 $magicWords = array(
Index: trunk/phase3/languages/messages/MessagesArz.php
@@ -33,7 +33,7 @@
3434 );
3535
3636 $namespaceAliases = array(
37 - 'ملف' => NS_MEDIA,
 37+ 'وسائط' => NS_MEDIA,
3838 );
3939
4040 $magicWords = array(

Comments

#Comment by Brion VIBBER (talk | contribs)   02:02, 13 October 2008

This seems to change existing aliases without providing a replacement, which could be a backwards-compatibility problem.

What is the purpose of this change?

#Comment by Meno25 (talk | contribs)   05:47, 13 October 2008

To prepare for the renaming of the Image namespace to File. The Arabic word for File ملف was used as the translation for NS_MEDIA instead of the correct translation which would be ميديا or وسائط. Then it was corrected in r28772 and ملف was added as alias for NS_MEDIA. To sum it up: MEDIA = ميديا or وسائط IMAGE = صورة FILE = ملف

Will some links break? Yes, some links will have to be updated manually, luckily not many as ar WP is relatively small. This problem was originally caused because NS_MEDIA was mistranslated in r2463

#Comment by Brion VIBBER (talk | contribs)   21:09, 15 October 2008

tagging as back compat :(

Status & tagging log