summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/ConfirmEdit/includes/CaptchaTriggers.php
blob: d88ca223b9bf92ef5903e340725bde8a9a60b38e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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';
}