mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-27 15:22:49 +00:00
30cd1d8a23
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
20 lines
593 B
PHP
20 lines
593 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\ConfirmEdit;
|
|
|
|
/**
|
|
* 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 {
|
|
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';
|
|
}
|