BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
InsertMagic Class Reference
Inheritance diagram for InsertMagic:
Collaboration diagram for InsertMagic:

Public Member Functions

 initExt ()
 
 onBSExtendedEditBarBeforeEditToolbar (&$aRows, &$aButtonCfgs)
 
 onVisualEditorConfig (&$aConfigStandard, &$aConfigOverwrite, &$aLoaderUsingDeps)
 
- Public Member Functions inherited from BsExtensionMW
 setCore ($oCore)
 
 getInfo ()
 
 setup ($sExtName="", $aConfig=array())
 
 setHook ($hook, $method=false, $bExecuteFirst=false)
 
 setContext (\IContextSource $context)
 
 setConfig (\Config $config)
 
 getResourcePath ()
 
 getName ()
 
 getExtensionKey ()
 
 getExtensionPath ()
 
 getImagePath ($bResources=false)
 
 getCacheKey ($sSubKey= 'default')
 
 makeTagExtensionDefinitions ()
 
- Public Member Functions inherited from BlueSpice\Extension
 jsonSerialize ()
 
 __construct (array $definition,\IContextSource $context,\Config $config)
 
 getInfo ()
 
 getResourcePath ()
 
 getExtensionPath ()
 
 getName ()
 
 getAuthors ()
 
 getStatus ()
 
 getPackage ()
 
 getUrl ()
 
 getVersion ()
 
 getExtensionKey ()
 
- Public Member Functions inherited from BlueSpice\Context
 __construct (\IContextSource $context,\Config $config)
 
 canUseWikiPage ()
 
 exportSession ()
 
 getConfig ()
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getStats ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 
 msg ($key)
 

Static Public Member Functions

static getMagicWords ()
 
static getTags ()
 
static getQuickAccess ()
 
static onUnitTestsList (array &$paths)
 

Static Public Attributes

static $aMagicWords
 
static $aTags
 
static $aQuickAccess = array( )
 

Additional Inherited Members

- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 
- Protected Attributes inherited from BsExtensionMW
 $mExtensionKey = null
 
 $mExtensionFile = null
 
 $mExtensionType = null
 
 $mInfo = null
 
 $mResourcePath = null
 
 $sName = ''
 
 $sStatus = ''
 
 $sPackage = ''
 
 $mCore = null
 
 $aStandardContext = array( '*', '*', '*' )
 
- Protected Attributes inherited from BlueSpice\Extension
 $extPath = ''
 
 $name = ''
 
 $authors = []
 
 $version = ''
 
 $url = ''
 
 $status = ''
 
 $package = ''
 
- Protected Attributes inherited from BlueSpice\Context
 $context = null
 
 $config = null
 

Member Function Documentation

InsertMagic::initExt ( )

Initialization of InsertMagic extension

static InsertMagic::onUnitTestsList ( array &  $paths)
static

UnitTestsList allows registration of additional test suites to execute under PHPUnit. Extensions can append paths to files to the $paths array, and since MediaWiki 1.24, can specify paths to directories, which will be scanned recursively for any test case files with the suffix "Test.php".

Parameters
array$paths
InsertMagic::onVisualEditorConfig ( $aConfigStandard,
$aConfigOverwrite,
$aLoaderUsingDeps 
)

Hook Handler for VisualEditorConfig Hook

Parameters
Array$aConfigStandardreference
Array$aConfigOverwritereference
Array&$aLoaderUsingDepsreference
Returns
boolean always true to keep hook alife

Member Data Documentation

InsertMagic::$aTags
static
Initial value:
= array(
'gallery' => array( 'bs-insertmagic-gallery' => '<gallery></gallery>' ),
'nowiki' => array( 'bs-insertmagic-nowiki' => '<nowiki></nowiki>' ),
'noinclude' => array( 'bs-insertmagic-noinclude' => '<noinclude></noinclude>' ),
'includeonly' => array( 'bs-insertmagic-includeonly' => '<includeonly></includeonly>' )
)

The documentation for this class was generated from the following file: