From: Brion Vibber Date: Tue, 16 Oct 2007 20:29:11 +0000 (+0000) Subject: Revert r26762 -- destroys article and talk tab text. Reversed condition and/or genera... X-Git-Tag: 1.31.0-rc.0~51127 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=6983ed9cde56929391f6700a047cf5d558f563d2;p=lhc%2Fweb%2Fwiklou.git Revert r26762 -- destroys article and talk tab text. Reversed condition and/or generally broken code. --- 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,