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