'Tabber', 'author' => 'Eric Fortin', 'url' => 'https://www.mediawiki.org/wiki/Extension:Tabber', 'descriptionmsg' => 'tabber-desc', 'version' => '1.2' ); $dir = dirname(__FILE__) . '/'; # Internationalisation file $wgExtensionMessagesFiles['Tabber'] = $dir . 'Tabber.i18n.php'; $wgExtensionFunctions[] = "wfTabber"; // function adds the wiki extension function wfTabber() { global $wgParser; $wgParser->setHook( "tabber", "renderTabber" ); } function renderTabber( $paramstring, $params = array() ){ global $wgParser, $wgScriptPath; $wgParser->disableCache(); $path = $wgScriptPath . '/extensions/Tabber/'; $htmlHeader = '' . '' . '
'.$tabBody.'
' . '