MediaWiki master
MediaWiki\User\UserRigorOptions Interface Reference

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.
 

Detailed Description

Shared interface for rigor levels when dealing with User methods.

Since
1.36
Author
DannyS712

Definition at line 16 of file UserRigorOptions.php.

Member Data Documentation

◆ RIGOR_CREATABLE

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 22 of file UserRigorOptions.php.

◆ RIGOR_NONE

const MediaWiki\User\UserRigorOptions::RIGOR_NONE = 'none'

No validation at all.

Definition at line 37 of file UserRigorOptions.php.

◆ RIGOR_USABLE

const MediaWiki\User\UserRigorOptions::RIGOR_USABLE = 'usable'

Check that a user name is valid for batch processes and login.

Definition at line 27 of file UserRigorOptions.php.

Referenced by MediaWiki\User\ExternalUserNames\applyPrefix().

◆ RIGOR_VALID

const MediaWiki\User\UserRigorOptions::RIGOR_VALID = 'valid'

Check that a user name is valid for batch processes.

Definition at line 32 of file UserRigorOptions.php.


The documentation for this interface was generated from the following file: