From: Magnus Manske Date: Tue, 20 Apr 2004 20:42:07 +0000 (+0000) Subject: Category namespaces X-Git-Tag: 1.3.0beta1~362 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=dfe7412cbdf3ba0eb80e340153707ce4ca505d2b;p=lhc%2Fweb%2Fwiklou.git Category namespaces --- diff --git a/includes/Namespace.php b/includes/Namespace.php index a0a9374c46..996f5231a2 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -25,6 +25,8 @@ define("NS_TEMPLATE", 10); define("NS_TEMPLATE_TALK", 11); define("NS_HELP", 12); define("NS_HELP_TALK", 13); +define("NS_CATEGORY", 14); +define("NS_CATEGORY_TALK", 15); # These are synonyms for the names given in the language file # Users and translators should not change them @@ -43,7 +45,9 @@ define("NS_HELP_TALK", 13); NS_TEMPLATE => "Template", NS_TEMPLATE_TALK => "Template_talk", NS_HELP => "Help", - NS_HELP_TALK => "Help_talk" + NS_HELP_TALK => "Help_talk", + NS_CATEGORY => "Category", + NS_CATEGORY_TALK => "Category_talk" ); class Namespace { diff --git a/languages/Language.php b/languages/Language.php index 02bad00b19..26bc4dbaca 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -39,7 +39,9 @@ if($wgMetaNamespace === FALSE) NS_TEMPLATE => "Template", NS_TEMPLATE_TALK => "Template_talk", NS_HELP => "Help", - NS_HELP_TALK => "Help_talk" + NS_HELP_TALK => "Help_talk", + NS_CATEGORY => "Category", + NS_CATEGORY_TALK => "Category_talk" ); /* private */ $wgDefaultUserOptionsEn = array(