From f82cca3c7281440e5ef092510d629e3d2838a1e2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 5 Oct 2006 20:46:13 +0000 Subject: [PATCH] * (bug 7499) Corrections to Swedish talk namespace names Old names kept as aliases --- RELEASE-NOTES | 1 + languages/messages/MessagesSv.php | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0c5bc19c3a..cb083c1984 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/languages/messages/MessagesSv.php b/languages/messages/MessagesSv.php index c94efa4055..30d8b277f5 100644 --- a/languages/messages/MessagesSv.php +++ b/languages/messages/MessagesSv.php @@ -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 -- 2.20.1