From 30a7263ec8478fc6184caad5561a2281aaa727e4 Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Wed, 21 Jul 2004 17:37:34 +0000 Subject: [PATCH] Article validation code (tab fix) --- includes/SkinPHPTal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index d53720ea65..fd7616dde0 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -435,7 +435,7 @@ } } - if ( $wgUser->getID() != 0 && $wgTitle->getArticleId() ) { + if ( $wgUser->getID() != 0 && $wgTitle->getArticleId() && $wgTitle->getNamespace() == 0 ) { $content_actions['validate'] = array('class' => ($action == 'validate') ? 'selected' : false , 'text' => wfMsg('val_tab'), 'href' => $this->makeUrl($this->thispage, 'action=validate')); -- 2.20.1