Manual:Hooks/EditPageBeforeEditToolbar
From MediaWiki.org
Warning - v1.16.0 has not been released yet. This feature may be modified or removed before final release.
| EditPageBeforeEditToolbar | |
|---|---|
| Available from version 1.16.0 Allows modifying the edit toolbar above the textarea |
|
*Define function: |
function fnMyHook( &$toolbar ) { ... }
|
*Attach hook: |
$wgHooks['EditPageBeforeEditToolbar'][] = 'fnMyHook'; |
| Called from: | EditPage.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:EditPageBeforeEditToolbar extensions.
[edit] Details
- &$toolbar: String: mix of HTML and JavaScript