From 0783c725f274573d774796a136878b745457fc4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Tue, 25 Oct 2005 12:57:18 +0000 Subject: [PATCH] Remove hard coded project namespaces --- RELEASE-NOTES | 2 ++ languages/LanguageNo.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1a3eb05819..57debda03f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/languages/LanguageNo.php b/languages/LanguageNo.php index 5978f7415c..3a58c9362b 100644 --- a/languages/LanguageNo.php +++ b/languages/LanguageNo.php @@ -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", -- 2.20.1