Manual:Hooks/SpecialRecentChangesPanel
From Linux Web Expert
SpecialRecentChangesPanel | |
---|---|
<translate> Available from <tvar name=1><translate> version <tvar </tvar></translate> Called when building form options in SpecialRecentChanges. | |
<translate> Define function:</translate> | public static function onSpecialRecentChangesPanel( &$extraOpts, $opts ) { ... }
|
<translate> Attach hook:</translate> | <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
"Hooks": {
"SpecialRecentChangesPanel": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialRecentChangesPanel"
}
}
|
<translate> Called from:</translate> | <translate> File(s):</translate> specials/SpecialRecentChanges.php |
<translate> Interface:</translate> | SpecialRecentChangesPanelHook.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:SpecialRecentChangesPanel extensions</tvar>.</translate>
Details
- &$extraOpts: array of added items, to which can be added
- $opts: FormOptions for this request