MediaWiki REL1_40
|
The real TempUserConfig including internal methods used by TempUserCreator. More...
Inherits MediaWiki\User\TempUser\TempUserConfig.
Public Member Functions | |
__construct ( $config) | |
getGeneratorPattern () | |
getPlaceholderName () | |
Get a placeholder name which matches the reserved prefix. | |
getSerialMappingConfig () | |
getSerialProviderConfig () | |
isAutoCreateAction (string $action) | |
Is the action valid for user auto-creation? | |
isEnabled () | |
Is temp user creation enabled? | |
isReservedName (string $name) | |
Does the name match the configured pattern indicating that it is a temporary auto-created user? | |
The real TempUserConfig including internal methods used by TempUserCreator.
Definition at line 12 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::__construct | ( | $config | ) |
array | $config | See the documentation of $wgAutoCreateTempUser.
|
Definition at line 40 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::getGeneratorPattern | ( | ) |
Definition at line 84 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::getPlaceholderName | ( | ) |
Get a placeholder name which matches the reserved prefix.
Implements MediaWiki\User\TempUser\TempUserConfig.
Definition at line 72 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::getSerialMappingConfig | ( | ) |
Definition at line 104 of file RealTempUserConfig.php.
Referenced by MediaWiki\User\TempUser\TempUserCreator\__construct().
MediaWiki\User\TempUser\RealTempUserConfig::getSerialProviderConfig | ( | ) |
Definition at line 96 of file RealTempUserConfig.php.
Referenced by MediaWiki\User\TempUser\TempUserCreator\__construct().
MediaWiki\User\TempUser\RealTempUserConfig::isAutoCreateAction | ( | string | $action | ) |
Is the action valid for user auto-creation?
string | $action |
Implements MediaWiki\User\TempUser\TempUserConfig.
Definition at line 59 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::isEnabled | ( | ) |
Is temp user creation enabled?
Implements MediaWiki\User\TempUser\TempUserConfig.
Definition at line 55 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::isReservedName | ( | string | $name | ) |
Does the name match the configured pattern indicating that it is a temporary auto-created user?
string | $name |
Implements MediaWiki\User\TempUser\TempUserConfig.
Definition at line 67 of file RealTempUserConfig.php.