MediaWiki master
UserRigorOptions.php
Go to the documentation of this file.
1<?php
2
23namespace MediaWiki\User;
24
31
36 public const RIGOR_CREATABLE = 'creatable';
37
41 public const RIGOR_USABLE = 'usable';
42
46 public const RIGOR_VALID = 'valid';
47
51 public const RIGOR_NONE = 'none';
52
53}
Shared interface for rigor levels when dealing with User methods.
const RIGOR_VALID
Check that a user name is valid for batch processes.
const RIGOR_NONE
No validation at all.
const RIGOR_CREATABLE
Check that a user name is valid for batch processes, login and account creation.
const RIGOR_USABLE
Check that a user name is valid for batch processes and login.
Utility class for bot passwords.