From: Brion Vibber Date: Thu, 5 Oct 2006 20:46:13 +0000 (+0000) Subject: * (bug 7499) Corrections to Swedish talk namespace names X-Git-Tag: 1.31.0-rc.0~55616 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=f82cca3c7281440e5ef092510d629e3d2838a1e2;p=lhc%2Fweb%2Fwiklou.git * (bug 7499) Corrections to Swedish talk namespace names Old names kept as aliases --- 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