From be378af50b612e85f42b1f38dc4c0cb45823c21b Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Mon, 10 Aug 2009 23:48:41 +0000 Subject: [PATCH] Moved add topic into the view tabs (this will likely be the behavior until liquid threads is turned on, at which point this tab will be obsolete) --- skins/Vector.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skins/Vector.php b/skins/Vector.php index 1184376639..99f6d53c69 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -148,7 +148,8 @@ class SkinVector extends SkinTemplate { // Checks if we should ever show a new section link if ( !$wgOut->forceHideNewSectionLink() ) { // Adds new section link - $links['actions']['addsection'] = array( + //$links['actions']['addsection'] + $links['views']['addsection'] = array( 'class' => $section == 'new' ? 'selected' : false, 'text' => wfMsg( 'vector-action-addsection' ), 'href' => $this->mTitle->getLocalUrl( -- 2.20.1