SkinTemplateTabAction hook -- now non-broken.

This commit is contained in:
David McCabe 2007-10-17 03:53:58 +00:00
parent 8608b1a842
commit ec60ccd597

View file

@ -602,6 +602,13 @@ 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 ),