MediaWiki
REL1_39
TempUserConfig.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\User\TempUser
;
4
14
interface
TempUserConfig
{
20
public
function
isEnabled
();
21
28
public
function
isAutoCreateAction
(
string
$action );
29
37
public
function
isReservedName
(
string
$name );
38
44
public
function
getPlaceholderName
(): string;
45
}
MediaWiki\User\TempUser\TempUserConfig
Interface for temporary user creation config and name matching.
Definition
TempUserConfig.php:14
MediaWiki\User\TempUser\TempUserConfig\getPlaceholderName
getPlaceholderName()
Get a placeholder name which matches the reserved prefix.
MediaWiki\User\TempUser\TempUserConfig\isReservedName
isReservedName(string $name)
Does the name match the configured pattern indicating that it is a temporary auto-created user?
MediaWiki\User\TempUser\TempUserConfig\isAutoCreateAction
isAutoCreateAction(string $action)
Is the action valid for user auto-creation?
MediaWiki\User\TempUser\TempUserConfig\isEnabled
isEnabled()
Is temp user creation enabled?
MediaWiki\User\TempUser
Definition
CreateStatus.php:3
includes
user
TempUser
TempUserConfig.php
Generated on Sun Nov 24 2024 15:43:58 for MediaWiki by
1.10.0