Jump to content

Manual:Hooks/UserEditCountUpdate

From mediawiki.org
UserEditCountUpdate
Available from version 1.38.0 (Gerrit change 758119)
This is called from a deferred update on edit or move and provides collected user edit count information.
Define function:
public static function onUserEditCountUpdate( $infos ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"UserEditCountUpdate": "MediaWiki\\Extension\\MyExtension\\Hooks::onUserEditCountUpdate"
	}
}
Called from: File(s): deferred/UserEditCountUpdate.php
Function(s): doUpdate
Interface: UserEditCountUpdateHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:UserEditCountUpdate extensions.