From 7f9163f81c7f5fea4a7e634c2ee9066096e777a3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 3 Feb 2005 20:42:36 +0000 Subject: [PATCH] Remove use of undefined constants NS_THREAD and NS_THREAD_TALK which make it impossible to use the wiki with notice warnings on. --- includes/Namespace.php | 2 -- languages/Language.php | 2 -- 2 files changed, 4 deletions(-) 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)) { -- 2.20.1