Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1425704
HTMLGlobalUserTextField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
870 B
Referenced Files
None
Subscribers
None
HTMLGlobalUserTextField.php
View Options
<?php
namespace
MediaWiki\Extension\CentralAuth\Widget
;
use
MediaWiki\HTMLForm\Field\HTMLUserTextField
;
/**
* Implements a text input field for usernames.
* Automatically auto-completes if using the OOUI display format.
*
* @since 1.33
*/
class
HTMLGlobalUserTextField
extends
HTMLUserTextField
{
/** @inheritDoc */
public
function
__construct
(
$params
)
{
parent
::
__construct
(
$params
);
}
/** @inheritDoc */
protected
function
getInputWidget
(
$params
)
{
if
(
isset
(
$this
->
mParams
[
'excludenamed'
]
)
)
{
$params
[
'excludenamed'
]
=
$this
->
mParams
[
'excludenamed'
];
}
if
(
isset
(
$this
->
mParams
[
'excludetemp'
]
)
)
{
$params
[
'excludetemp'
]
=
$this
->
mParams
[
'excludetemp'
];
}
return
new
GlobalUserInputWidget
(
$params
);
}
/** @inheritDoc */
protected
function
getOOUIModules
()
{
return
[
'ext.widgets.GlobalUserInputWidget'
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 11:51 (17 h, 5 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0e/a0/3f4d5e5d2750f1f92f4c8bbdbfac
Default Alt Text
HTMLGlobalUserTextField.php (870 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment