From: Brion Vibber Date: Thu, 3 Feb 2005 20:42:36 +0000 (+0000) Subject: Remove use of undefined constants NS_THREAD and NS_THREAD_TALK which make it impossib... X-Git-Tag: 1.5.0alpha1~784 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=7f9163f81c7f5fea4a7e634c2ee9066096e777a3;p=lhc%2Fweb%2Fwiklou.git Remove use of undefined constants NS_THREAD and NS_THREAD_TALK which make it impossible to use the wiki with notice warnings on. --- diff --git a/includes/Namespace.php b/includes/Namespace.php index 625a2aa953..360f7e6184 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -32,8 +32,6 @@ $wgCanonicalNamespaceNames = array( NS_HELP_TALK => 'Help_talk', NS_CATEGORY => 'Category', NS_CATEGORY_TALK => 'Category_talk', - - NS_THREAD => 'Thread' // Reserved for Forum-like ); if( defined( 'MEDIAWIKI' ) && is_array( $wgExtraNamespaces ) ) { diff --git a/languages/Language.php b/languages/Language.php index dadfe9e9f2..5dbca75139 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -44,8 +44,6 @@ if($wgMetaNamespace === FALSE) NS_HELP_TALK => 'Help_talk', NS_CATEGORY => 'Category', NS_CATEGORY_TALK => 'Category_talk', - NS_THREAD => 'Thread', - NS_THREAD_TALK => 'Thread_talk', ); if(isset($wgExtraNamespaces)) {