2017-08-14 15:39:20 +00:00
|
|
|
<?php
|
|
|
|
|
2022-04-08 16:40:15 +00:00
|
|
|
namespace MediaWiki\Extension\ConfirmEdit;
|
|
|
|
|
2017-08-14 15:39:20 +00:00
|
|
|
/**
|
|
|
|
* A class with constants of the CAPTCHA triggers built-in in ConfirmEdit. Other extensions may
|
|
|
|
* add more possible triggers, which are not included in this class.
|
|
|
|
*/
|
|
|
|
abstract class CaptchaTriggers {
|
2020-04-14 23:15:08 +00:00
|
|
|
public const EDIT = 'edit';
|
|
|
|
public const CREATE = 'create';
|
|
|
|
public const SENDEMAIL = 'sendemail';
|
|
|
|
public const ADD_URL = 'addurl';
|
|
|
|
public const CREATE_ACCOUNT = 'createaccount';
|
|
|
|
public const BAD_LOGIN = 'badlogin';
|
|
|
|
public const BAD_LOGIN_PER_USER = 'badloginperuser';
|
|
|
|
public const EXT_REG_ATTRIBUTE_NAME = 'CaptchaTriggers';
|
2017-08-14 15:39:20 +00:00
|
|
|
}
|