MediaWiki
master
|
The real TempUserConfig including internal methods used by TempUserCreator. More...
Public Member Functions | |
__construct ( $config) | |
getGeneratorPattern () | |
getPlaceholderName () | |
Get a placeholder name which matches the reserved prefix. More... | |
getSerialMappingConfig () | |
getSerialProviderConfig () | |
isAutoCreateAction (string $action) | |
Is the action valid for user auto-creation? More... | |
isEnabled () | |
Is temp user creation enabled? More... | |
isReservedName (string $name) | |
Does the name match a configured pattern which indicates that it conflicts with temporary user names? Should manual user creation be denied? More... | |
isTempName (string $name) | |
Does the name match the configured pattern indicating that it is a temporary auto-created user? More... | |
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 44 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::getGeneratorPattern | ( | ) |
Definition at line 96 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 84 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::getSerialMappingConfig | ( | ) |
Definition at line 116 of file RealTempUserConfig.php.
Referenced by MediaWiki\User\TempUser\TempUserCreator\__construct().
MediaWiki\User\TempUser\RealTempUserConfig::getSerialProviderConfig | ( | ) |
Definition at line 108 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 66 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::isEnabled | ( | ) |
Is temp user creation enabled?
Implements MediaWiki\User\TempUser\TempUserConfig.
Definition at line 62 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::isReservedName | ( | string | $name | ) |
Does the name match a configured pattern which indicates that it conflicts with temporary user names? Should manual user creation be denied?
string | $name |
Implements MediaWiki\User\TempUser\TempUserConfig.
Definition at line 79 of file RealTempUserConfig.php.
MediaWiki\User\TempUser\RealTempUserConfig::isTempName | ( | 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 74 of file RealTempUserConfig.php.