BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
HeaderTabs.php File Reference

Variables

if(!defined( 'MEDIAWIKI')) if(function_exists(
'wfLoadExtension')) 
$wgExtensionCredits ['parserhook'][]
 
 $wgMessagesDirs ['HeaderTabs'] = __DIR__ . '/i18n'
 
 $wgExtensionMessagesFiles ['HeaderTabs'] = __DIR__ . '/HeaderTabs.i18n.php'
 
 $wgExtensionMessagesFiles ['HeaderTabsMagic'] = __DIR__ . '/HeaderTabs.i18n.magic.php'
 
 $wgHeaderTabsUseHistory = true
 
 $wgHeaderTabsRenderSingleTab = false
 
 $wgHeaderTabsAutomaticNamespaces = array()
 
 $wgHeaderTabsDefaultFirstTab = false
 
 $wgHeaderTabsDisableDefaultToc = true
 
 $wgHeaderTabsGenerateTabTocs = false
 
 $wgHeaderTabsStyle = 'large'
 
 $wgHeaderTabsEditTabLink = true
 
 $wgHeaderTabsTabIndexes = array()
 
if(isset($wgConfigureAdditionalExtensions)&&is_array($wgConfigureAdditionalExtensions)) $wgHooks ['ParserFirstCallInit'][] = 'HeaderTabsHooks::registerParserFunctions'
 
 $wgHooks ['BeforePageDisplay'][] = 'HeaderTabsHooks::addHTMLHeader'
 
 $wgHooks ['ParserAfterTidy'][] = 'HeaderTabsHooks::replaceFirstLevelHeaders'
 
 $wgHooks ['ResourceLoaderGetConfigVars'][] = 'HeaderTabsHooks::addConfigVarsToJS'
 
 $wgHooks ['MakeGlobalVariablesScript'][] = 'HeaderTabsHooks::setGlobalJSVariables'
 
 $wgAutoloadClasses ['HeaderTabsHooks'] = __DIR__ . '/HeaderTabs.hooks.php'
 
 $wgAutoloadClasses ['HeaderTabs'] = __DIR__ . '/HeaderTabs_body.php'
 
 $wgResourceModules ['ext.headertabs']
 

Detailed Description

Header Tabs extension

Author
Sergey Chernyshev
Yaron Koren
Olivier Finlay Beaton

Variable Documentation

if (!defined( 'MEDIAWIKI')) if (function_exists( 'wfLoadExtension')) $wgExtensionCredits['parserhook'][]
Initial value:
= array(
'path' => __FILE__,
'name' => 'Header Tabs',
'descriptionmsg' => 'headertabs-desc',
'version' => '1.1',
'author' => array(
'[http://www.sergeychernyshev.com Sergey Chernyshev]',
'Yaron Koren',
'[http://olivierbeaton.com Olivier Finlay Beaton]',
'...'
),
'url' => 'https://www.mediawiki.org/wiki/Extension:Header_Tabs',
'license-name' => 'GPL-2.0+'
)
$wgExtensionMessagesFiles['HeaderTabsMagic'] = __DIR__ . '/HeaderTabs.i18n.magic.php'
Todo:
implement in tab parsing code instead... but problems like nowiki (2011-12-12, ofb)
$wgResourceModules['ext.headertabs']
Initial value:
= array(
'scripts' => 'skins/ext.headertabs.core.js',
'dependencies' => array( 'jquery.ui.tabs' ),
'localBasePath' => __DIR__,
'remoteExtPath' => 'HeaderTabs',
)