Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6003586
UserMergeHooks.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
551 B
Referenced Files
None
Subscribers
None
UserMergeHooks.php
View Options
<?php
namespace
MediaWiki\Extension\GlobalBlocking
;
use
MediaWiki\Extension\UserMerge\Hooks\AccountFieldsHook
;
/**
* MediaWiki hook handlers for the GlobalBlocking extension
* All hooks from the UserMerge extension which is optional to use with this extension.
*
* @license GPL-2.0-or-later
*/
class
UserMergeHooks
implements
AccountFieldsHook
{
/**
* @param array &$updateFields
*/
public
function
onUserMergeAccountFields
(
array
&
$updateFields
):
void
{
$updateFields
[]
=
[
'global_block_whitelist'
,
'gbw_by'
,
'gbw_by_text'
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 07:14 (5 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bf/d7/b697add543256056890d4360f3df
Default Alt Text
UserMergeHooks.php (551 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment