MediaWiki
master
PreviouslyRenamedAccountAuthenticationRequest.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Auth
;
4
9
class
PreviouslyRenamedAccountAuthenticationRequest
extends
AuthenticationRequest
{
10
public
bool
$allowPreviouslyRenamedAccount
=
false
;
11
15
public
function
getFieldInfo
() {
16
return
[
17
'allowPreviouslyRenamedAccount'
=> [
18
'type'
=>
'checkbox'
,
19
'label'
=>
wfMessage
(
'allow-previously-renamed-account'
),
20
'help'
=>
wfMessage
(
'allow-previously-renamed-account-help'
),
21
'optional'
=>
true
,
22
],
23
];
24
}
25
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:570
MediaWiki\Auth\AuthenticationRequest
This is a value object for authentication requests.
Definition
AuthenticationRequest.php:29
MediaWiki\Auth\PreviouslyRenamedAccountAuthenticationRequest
An authentication request that allows users with sufficiently high privileges to create a new account...
Definition
PreviouslyRenamedAccountAuthenticationRequest.php:9
MediaWiki\Auth\PreviouslyRenamedAccountAuthenticationRequest\getFieldInfo
getFieldInfo()
Fetch input field info.This will be used in the AuthManager APIs and web UIs to define API input para...
Definition
PreviouslyRenamedAccountAuthenticationRequest.php:15
MediaWiki\Auth\PreviouslyRenamedAccountAuthenticationRequest\$allowPreviouslyRenamedAccount
bool $allowPreviouslyRenamedAccount
Definition
PreviouslyRenamedAccountAuthenticationRequest.php:10
MediaWiki\Auth
Definition
AbstractAuthenticationProvider.php:7
includes
Auth
PreviouslyRenamedAccountAuthenticationRequest.php
Generated on Tue Sep 15 2026 11:24:40 for MediaWiki by
1.10.0