mediawiki-extensions-Confir.../includes/CaptchaTriggers.php
Reedy 274e6079f8 Fix PSR12.Properties.ConstantVisibility.NotFound
Change-Id: Ib76375fed58fddb1f96728dd2baeec08e222dc83
2020-04-15 00:25:50 +01:00

18 lines
549 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 {
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';
}