Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7406713
MWCA.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
478 B
Referenced Files
None
Subscribers
None
MWCA.php
View Options
<?php
// This class is intentionally not in the normal CentralAuth namespace, for easy access.
use
MediaWiki\Extension\CentralAuth\User\CentralAuthUser
;
/**
* Debug helper class for CentralAuth.
* @see MW
* @internal must not be used in code, anywhere
*/
class
MWCA
{
public
static
function
user
(
string
$username
):
CentralAuthUser
{
$cu
=
CentralAuthUser
::
getPrimaryInstanceByName
(
$username
);
// Make sure the data is loaded
$cu
->
getId
();
return
$cu
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 20:33 (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f0/2c/d805dbefeba6878fb81620fff728
Default Alt Text
MWCA.php (478 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment