Fix NS_THREAD not showing in Special:Allpages
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 31 Jan 2005 03:01:27 +0000 (03:01 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 31 Jan 2005 03:01:27 +0000 (03:01 +0000)
includes/SpecialAllpages.php
languages/Language.php

index 48e1c2a..55aaa80 100644 (file)
@@ -43,7 +43,7 @@ function namespaceForm ( $namespace = NS_MAIN, $from = '' ) {
 
        $namespaceselect = '<select name="namespace">';
        $arr = $wgContLang->getNamespaces();
-       for ( $i = 0; $i < 14; $i++ ) {
+       for ( $i = 0; $i <= 17; $i++ ) {
                $namespacename = str_replace ( '_', ' ', $arr[$i] );
                $n = ($i == 0) ? wfMsg ( 'articlenamespace' ) : $namespacename;
                $sel = ($i == $namespace) ? ' selected="selected"' : '';
index efe2775..08bd4ab 100644 (file)
@@ -43,7 +43,9 @@ if($wgMetaNamespace === FALSE)
        NS_HELP             => 'Help',
        NS_HELP_TALK        => 'Help_talk',
        NS_CATEGORY         => 'Category',
-       NS_CATEGORY_TALK    => 'Category_talk'
+       NS_CATEGORY_TALK    => 'Category_talk',
+       NS_THREAD                       => 'Thread',
+       NS_THREAD_TALK          => 'Thread_talk',
 );
 
 if(isset($wgExtraNamespaces)) {