BlueSpice MediaWiki REL1_27
 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 ()
 
 getName ()
 
 getExtensionKey ()
 
 setup ($sExtName="", $aConfig=array())
 
 setHook ($hook, $method=false, $bExecuteFirst=false)
 
 getResourcePath ()
 
 getImagePath ($bResources=false)
 
 getCacheKey ($sSubKey= 'default')
 
 makeTagExtensionDefinitions ()
 
- Public Member Functions inherited from ContextSource
 getContext ()
 
 setContext (IContextSource $context)
 
 getConfig ()
 
 getRequest ()
 
 getTitle ()
 
 canUseWikiPage ()
 
 getWikiPage ()
 
 getOutput ()
 
 getUser ()
 
 getLanguage ()
 
 getSkin ()
 
 getTiming ()
 
 getStats ()
 
 msg ()
 
 exportSession ()
 

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
 $mExtensionFile = null
 
 $mExtensionType = null
 
 $mInfo = null
 
 $mExtensionKey = null
 
 $mResourcePath = null
 
 $sName = ''
 
 $sStatus = ''
 
 $sPackage = ''
 
 $mCore = null
 
 $aStandardContext = array( '*', '*', '*' )
 

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: