From 3df6dceb7a0701ee9666dfec3a099a364e5fda87 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 7 Apr 2004 13:56:47 +0000 Subject: [PATCH] fixed minor bug --- includes/SkinPHPTal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index 4fc2cf1f36..c631e42466 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -84,7 +84,7 @@ $tpl->setRef( 'charset', $wgOutputEncoding); $tpl->setRef( 'skinname', $this->skinname ); $tpl->setRef( "loggedin", &$this->loggedin ); - $tpl->set( "editable", ($wgTitle->getNamespace != Namespace::getSpecial() ) ); + $tpl->set( "editable", ($wgTitle->getNamespace() != NS_SPECIAL ) ); $tpl->set( "exists", $wgTitle->getArticleID() != 0 ); $tpl->set( "watch", $wgTitle->userIsWatching() ? "unwatch" : "watch" ); $tpl->set( "protect", count($wgTitle->getRestrictions()) ? "unprotect" : "protect" ); -- 2.20.1