Manual:Hooks/SpecialMuteSubmit
This feature was removed completely in version 1.40.0 (after being deprecated in 1.35.0). |
SpecialMuteSubmit | |
---|---|
Available from version 1.34.0 (Gerrit change 528272) Removed in version 1.40.0 (Gerrit change 893996) Used only for instrumentation on SpecialMute | |
Define function: | public static function onSpecialMuteSubmit( $data ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"SpecialMuteSubmit": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialMuteSubmit"
}
}
|
Called from: | File(s): includes/specials/SpecialMute.php Function(s): onSubmit |
Interface: | SpecialMuteSubmitHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:SpecialMuteSubmit extensions.
Details
edit- $data: Array containing information about submitted options on SpecialMute form