Remove hard coded project namespaces
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 25 Oct 2005 12:57:18 +0000 (12:57 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 25 Oct 2005 12:57:18 +0000 (12:57 +0000)
RELEASE-NOTES
languages/LanguageNo.php

index 1a3eb05..57debda 100644 (file)
@@ -165,6 +165,8 @@ fully support the editing toolbar, but was found to be too confusing.
 * Various fixes
 * Fix wfMsg*() replacements; args containing literal $[2-9] were wiped
 * Added @import for [[MediaWiki:Common.css]] to all skins
+* Removed hardcoded Norwegian (no) project namespaces
+
 
 === Caveats ===
 
index 5978f74..3a58c93 100644 (file)
@@ -11,8 +11,8 @@
        NS_TALK           => "Diskusjon",
        NS_USER           => "Bruker",
        NS_USER_TALK      => "Brukerdiskusjon",
-       NS_PROJECT        => "Wikipedia",
-       NS_PROJECT_TALK   => "Wikipedia-diskusjon",
+       NS_PROJECT        => $wgMetaNamespace,
+       NS_PROJECT_TALK   => $wgMetaNamespace . "-diskusjon",
        NS_IMAGE          => "Bilde",
        NS_IMAGE_TALK     => "Bildediskusjon",
        NS_MEDIAWIKI      => "MediaWiki",