r44508 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44507‎ | r44508 | r44509 >
Date:18:21, 12 December 2008
Author:ialex
Status:ok
Tags:
Comment:
Manual exporting namespaces aliases from Betawiki (bug 44: renaming of Image namespace to File)
Only added alias for "Discussion Image" (Image talk) since the name of the "Image" namespace is the same in English and French and the alias is already present
Modified paths:
  • /trunk/phase3/languages/messages/MessagesFr.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesFr.php
@@ -50,24 +50,28 @@
5151 );
5252
5353 $namespaceNames = array(
54 - NS_MEDIA => 'Média',
55 - NS_SPECIAL => 'Spécial',
56 - NS_TALK => 'Discuter',
57 - NS_USER => 'Utilisateur',
58 - NS_USER_TALK => 'Discussion_Utilisateur',
59 - NS_PROJECT_TALK => 'Discussion_$1',
60 - NS_FILE => 'Image',
61 - NS_FILE_TALK => 'Discussion_Image',
62 - NS_MEDIAWIKI => 'MediaWiki',
63 - NS_MEDIAWIKI_TALK => 'Discussion_MediaWiki',
64 - NS_TEMPLATE => 'Modèle',
65 - NS_TEMPLATE_TALK => 'Discussion_Modèle',
66 - NS_HELP => 'Aide',
67 - NS_HELP_TALK => 'Discussion_Aide',
68 - NS_CATEGORY => 'Catégorie',
69 - NS_CATEGORY_TALK => 'Discussion_Catégorie',
 54+ NS_MEDIA => 'Média',
 55+ NS_SPECIAL => 'Spécial',
 56+ NS_TALK => 'Discuter',
 57+ NS_USER => 'Utilisateur',
 58+ NS_USER_TALK => 'Discussion_Utilisateur',
 59+ NS_PROJECT_TALK => 'Discussion_$1',
 60+ NS_FILE => 'Fichier',
 61+ NS_FILE_TALK => 'Discussion_Fichier',
 62+ NS_MEDIAWIKI => 'MediaWiki',
 63+ NS_MEDIAWIKI_TALK => 'Discussion_MediaWiki',
 64+ NS_TEMPLATE => 'Modèle',
 65+ NS_TEMPLATE_TALK => 'Discussion_Modèle',
 66+ NS_HELP => 'Aide',
 67+ NS_HELP_TALK => 'Discussion_Aide',
 68+ NS_CATEGORY => 'Catégorie',
 69+ NS_CATEGORY_TALK => 'Discussion_Catégorie',
7070 );
7171
 72+$namespaceAliases = array(
 73+ 'Discussion_Image' => NS_FILE_TALK,
 74+);
 75+
7276 $linkTrail = '/^([a-zàâçéèêîôûäëïöüùÇÉÂÊÎÔÛÄËÏÖÜÀÈÙ]+)(.*)$/sDu';
7377
7478 $dateFormats = array(

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
r44495(bug 44) Fix omission: Image -> File in namespace names for yue, zh-hans, and...siebrand11:11, 12 December 2008

Status & tagging log