Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5991583
UserPromotedHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
722 B
Referenced Files
None
Subscribers
None
UserPromotedHook.php
View Options
<?php
declare
(
strict_types
=
1
);
// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
namespace
MediaWiki\Extension\Translate\TranslatorSandbox
;
use
MediaWiki\User\UserIdentity
;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "Translate:TranslatorSandbox:UserPromoted" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2023.03
*/
interface
UserPromotedHook
{
/** Event generated when an account inside the translator sandbox is approved. */
public
function
onTranslate_TranslatorSandbox_UserPromoted
(
UserIdentity
$user
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 01:57 (4 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e1/1d/7c51fbbd002a98bb5df81161e498
Default Alt Text
UserPromotedHook.php (722 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment