* (bug 7499) Corrections to Swedish talk namespace names
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 5 Oct 2006 20:46:13 +0000 (20:46 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 5 Oct 2006 20:46:13 +0000 (20:46 +0000)
Old names kept as aliases

RELEASE-NOTES
languages/messages/MessagesSv.php

index 0c5bc19..cb083c1 100644 (file)
@@ -268,6 +268,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   syntax to pages with commas in title
 * Use ImageMagick -thumbnail option instead of -resize to avoid including
   excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer).
+* (bug 7499) Corrections to Swedish talk namespace names
 
 
 == Languages updated ==
index c94efa4..30d8b27 100644 (file)
@@ -30,15 +30,21 @@ $namespaceNames = array(
        NS_IMAGE            => 'Bild',
        NS_IMAGE_TALK       => 'Bilddiskussion',
        NS_MEDIAWIKI        => 'MediaWiki',
-       NS_MEDIAWIKI_TALK   => 'MediaWiki_diskussion',
+       NS_MEDIAWIKI_TALK   => 'MediaWiki-diskussion',
        NS_TEMPLATE         => 'Mall',
        NS_TEMPLATE_TALK    => 'Malldiskussion',
        NS_HELP             => 'Hjälp',
-       NS_HELP_TALK        => 'Hjälp_diskussion',
+       NS_HELP_TALK        => 'Hjälpdiskussion',
        NS_CATEGORY         => 'Kategori',
        NS_CATEGORY_TALK    => 'Kategoridiskussion'
 );
 
+$namespaceAliases = array(
+       // For compatibility with 1.7 and older
+       'MediaWiki_diskussion' => NS_MEDIAWIKI_TALK,
+       'Hjälp_diskussion'     => NS_HELP_TALK
+);
+
 $linkTrail = '/^([a-zåäöéÅÄÖÉ]+)(.*)$/sDu';
 $separatorTransformTable =  array(
        ',' => "\xc2\xa0", // @bug 2749