MediaWiki master
|
Shared interface for rigor levels when dealing with User methods. More...
Inherited by MediaWiki\User\UserFactory, and MediaWiki\User\UserNameUtils.
Public Attributes | |
const | RIGOR_CREATABLE = 'creatable' |
Check that a user name is valid for batch processes, login and account creation. | |
const | RIGOR_NONE = 'none' |
No validation at all. | |
const | RIGOR_USABLE = 'usable' |
Check that a user name is valid for batch processes and login. | |
const | RIGOR_VALID = 'valid' |
Check that a user name is valid for batch processes. | |
Shared interface for rigor levels when dealing with User methods.
Definition at line 30 of file UserRigorOptions.php.
const MediaWiki\User\UserRigorOptions::RIGOR_CREATABLE = 'creatable' |
Check that a user name is valid for batch processes, login and account creation.
This does not allow auto-created temporary user patterns.
Definition at line 36 of file UserRigorOptions.php.
Referenced by MediaWiki\User\User\newFromName(), and MediaWiki\User\User\newSystemUser().
const MediaWiki\User\UserRigorOptions::RIGOR_NONE = 'none' |
No validation at all.
Definition at line 51 of file UserRigorOptions.php.
Referenced by MediaWiki\User\User\newFromName(), and MediaWiki\User\User\newSystemUser().
const MediaWiki\User\UserRigorOptions::RIGOR_USABLE = 'usable' |
Check that a user name is valid for batch processes and login.
Definition at line 41 of file UserRigorOptions.php.
Referenced by MediaWiki\User\ExternalUserNames\applyPrefix(), MediaWiki\User\User\newFromName(), and MediaWiki\User\User\newSystemUser().
const MediaWiki\User\UserRigorOptions::RIGOR_VALID = 'valid' |
Check that a user name is valid for batch processes.
Definition at line 46 of file UserRigorOptions.php.
Referenced by MediaWiki\User\User\newFromName(), and MediaWiki\User\User\newSystemUser().