Manual:Hooks/SpecialMuteSubmit
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.40.0</tvar> (after being deprecated in <tvar name=4>1.35.0</tvar>).</translate> |
SpecialMuteSubmit | |
---|---|
<translate> Available from <tvar name=1><translate> version <tvar (Gerrit change 528272)</tvar></translate> <translate> Removed in <tvar name=1><translate> version <tvar (Gerrit change 893996)</tvar></translate> Used only for instrumentation on SpecialMute | |
<translate> Define function:</translate> | public static function onSpecialMuteSubmit( $data ) { ... }
|
<translate> Attach hook:</translate> | <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
"Hooks": {
"SpecialMuteSubmit": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialMuteSubmit"
}
}
|
<translate> Called from:</translate> | <translate> File(s):</translate> includes/specials/SpecialMute.php <translate> Function(s):</translate> onSubmit |
<translate> Interface:</translate> | SpecialMuteSubmitHook.php |
<translate> For more information about attaching hooks, see <tvar name=1>Manual:Hooks </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:SpecialMuteSubmit extensions</tvar>.</translate>
Details
- $data: Array containing information about submitted options on SpecialMute form