r16814 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16813‎ | r16814 | r16815 >
Date:20:46, 5 October 2006
Author:brion
Status:old
Tags:
Comment:
* (bug 7499) Corrections to Swedish talk namespace names
Old names kept as aliases
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSv.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -268,6 +268,7 @@
269269 syntax to pages with commas in title
270270 * Use ImageMagick -thumbnail option instead of -resize to avoid including
271271 excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer).
 272+* (bug 7499) Corrections to Swedish talk namespace names
272273
273274
274275 == Languages updated ==
Index: trunk/phase3/languages/messages/MessagesSv.php
@@ -30,15 +30,21 @@
3131 NS_IMAGE => 'Bild',
3232 NS_IMAGE_TALK => 'Bilddiskussion',
3333 NS_MEDIAWIKI => 'MediaWiki',
34 - NS_MEDIAWIKI_TALK => 'MediaWiki_diskussion',
 34+ NS_MEDIAWIKI_TALK => 'MediaWiki-diskussion',
3535 NS_TEMPLATE => 'Mall',
3636 NS_TEMPLATE_TALK => 'Malldiskussion',
3737 NS_HELP => 'Hjälp',
38 - NS_HELP_TALK => 'Hjälp_diskussion',
 38+ NS_HELP_TALK => 'Hjälpdiskussion',
3939 NS_CATEGORY => 'Kategori',
4040 NS_CATEGORY_TALK => 'Kategoridiskussion'
4141 );
4242
 43+$namespaceAliases = array(
 44+ // For compatibility with 1.7 and older
 45+ 'MediaWiki_diskussion' => NS_MEDIAWIKI_TALK,
 46+ 'Hjälp_diskussion' => NS_HELP_TALK
 47+);
 48+
4349 $linkTrail = '/^([a-zåäöéÅÄÖÉ]+)(.*)$/sDu';
4450 $separatorTransformTable = array(
4551 ',' => "\xc2\xa0", // @bug 2749