mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-13 16:48:37 +00:00
18 lines
493 B
PHP
18 lines
493 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* 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 {
|
||
|
const EDIT = 'edit';
|
||
|
const CREATE = 'create';
|
||
|
const SENDEMAIL = 'sendemail';
|
||
|
const ADD_URL = 'addurl';
|
||
|
const CREATE_ACCOUNT = 'createaccount';
|
||
|
const BAD_LOGIN = 'badlogin';
|
||
|
const BAD_LOGIN_PER_USER = 'badloginperuser';
|
||
|
|
||
|
const EXT_REG_ATTRIBUTE_NAME = 'CaptchaTriggers';
|
||
|
}
|