[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 294 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WikiEditorHooks:: (7 methods):
isEnabled()
editPageShowEditFormInitial()
EditPageBeforeEditToolbar()
getPreferences()
resourceLoaderGetConfigVars()
makeGlobalVariablesScript()
getMagicWords()
Class: WikiEditorHooks - X-Ref
Hooks for WikiEditor extensionisEnabled( $name ) X-Ref |
Checks if a certain option is enabled This method is public to allow other extensions that use WikiEditor to use the same configuration as WikiEditor itself param: $name string Name of the feature, should be a key of $features return: bool |
editPageShowEditFormInitial( $editPage, $outputPage ) X-Ref |
EditPage::showEditForm:initial hook Adds the modules to the edit form param: $editPage EditPage the current EditPage object. param: $output OutputPage object. return: bool |
EditPageBeforeEditToolbar( &$toolbar ) X-Ref |
EditPageBeforeEditToolbar hook Disable the old toolbar if the new one is enabled param: $toolbar html return: bool |
getPreferences( $user, &$defaultPreferences ) X-Ref |
GetPreferences hook Adds WikiEditor-releated items to the preferences param: $user User current user param: $defaultPreferences array list of default user preference controls return: bool |
resourceLoaderGetConfigVars( &$vars ) X-Ref |
MakeGlobalVariablesScript hook Adds enabled/disabled switches for WikiEditor modules param: $vars array return: bool |
makeGlobalVariablesScript( &$vars ) X-Ref |
param: $vars array return: bool |
getMagicWords( &$vars ) X-Ref |
Expose useful magic words which are used by the wikieditor toolbar param: $vars array return: bool |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |