Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
UserPromotedHook.php
1<?php
2declare( strict_types = 1 );
3
4// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
5
6namespace MediaWiki\Extension\Translate\TranslatorSandbox;
7
8use MediaWiki\User\UserIdentity;
9
22 public function onTranslate_TranslatorSandbox_UserPromoted( UserIdentity $user ): void;
23}
This is a hook handler interface, see docs/Hooks.md in core.
onTranslate_TranslatorSandbox_UserPromoted(UserIdentity $user)
Event generated when an account inside the translator sandbox is approved.