From 6983ed9cde56929391f6700a047cf5d558f563d2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 16 Oct 2007 20:29:11 +0000 Subject: [PATCH] Revert r26762 -- destroys article and talk tab text. Reversed condition and/or generally broken code. --- includes/SkinTemplate.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 023385bea0..2114676fb3 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -602,12 +602,7 @@ class SkinTemplate extends Skin { global $wgContLang; $text = $wgContLang->getFormattedNsText( Namespace::getSubject( $title->getNamespace() ) ); } - - $result = array(); - if( wfRunHooks('SkinTemplateTabAction', array(&$this, $title, $message, $selected, $checkEdit, - &$classes, &$query, &$text, &$result)) ) { - return $result; - } + return array( 'class' => implode( ' ', $classes ), 'text' => $text, -- 2.20.1