Manual:Hooks/UserEditCountUpdate
From Linux Web Expert
UserEditCountUpdate | |
---|---|
<translate> Available from <tvar name=1><translate> version <tvar (Gerrit change 758119)</tvar></translate> This is called from a deferred update on edit or move and provides collected user edit count information. | |
<translate> Define function:</translate> | public static function onUserEditCountUpdate( $infos ) { ... }
|
<translate> Attach hook:</translate> | <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
"Hooks": {
"UserEditCountUpdate": "MediaWiki\\Extension\\MyExtension\\Hooks::onUserEditCountUpdate"
}
}
|
<translate> Called from:</translate> | <translate> File(s):</translate> deferred/UserEditCountUpdate.php <translate> Function(s):</translate> doUpdate |
<translate> Interface:</translate> | UserEditCountUpdateHook.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:UserEditCountUpdate extensions</tvar>.</translate>