Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
CaptchaTriggers | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\ConfirmEdit; |
4 | |
5 | /** |
6 | * A class with constants of the CAPTCHA triggers built-in in ConfirmEdit. Other extensions may |
7 | * add more possible triggers, which are not included in this class. |
8 | */ |
9 | abstract class CaptchaTriggers { |
10 | public const EDIT = 'edit'; |
11 | public const CREATE = 'create'; |
12 | public const SENDEMAIL = 'sendemail'; |
13 | public const ADD_URL = 'addurl'; |
14 | public const CREATE_ACCOUNT = 'createaccount'; |
15 | public const BAD_LOGIN = 'badlogin'; |
16 | public const BAD_LOGIN_PER_USER = 'badloginperuser'; |
17 | |
18 | public const EXT_REG_ATTRIBUTE_NAME = 'CaptchaTriggers'; |
19 | } |