From: Trevor Parscal Date: Mon, 10 Aug 2009 23:48:41 +0000 (+0000) Subject: Moved add topic into the view tabs (this will likely be the behavior until liquid... X-Git-Tag: 1.31.0-rc.0~40368 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=be378af50b612e85f42b1f38dc4c0cb45823c21b;p=lhc%2Fweb%2Fwiklou.git 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) --- 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(