mediawiki-extensions-Confir.../includes
Florian Schmidt 50bc57a200 Allow other extensions to setup triggers using attributes
Instead of misusing the config section of extension.json to declare
captcha triggers in the ConfirmEdits CaptchaTriggers config variable,
other extensions can now use the CaptchaTriggers attribute for the
exact same thing. E.g., to declare a new trigger, the following
addition to the own extension.json will register the trigger in
ConfirmEdit:

  "CaptchaTriggers": {
    "wikiforum": true
  }

This also removes the CaptchaClass config from the main extension.json
config section, and automatically sets the SimpleCaptcha module in the
getInstance() method of ConfirmEditHooks, which is a pre-requirement for
the mediawiki/core change Ieeb26011e42c741041d2c3252238ca0823b99eb4.

Bug: T152929
Change-Id: I4c5eaf87657f5dc07787480a2f1a56a1db8c714f
2017-09-02 17:45:26 +02:00
..
auth Rename 'type' field of authevents channel to 'eventType' 2016-11-26 01:12:58 +00:00
specials Add php code sniffer 2015-10-28 21:46:29 +00:00
CaptchaStore.php Unset CaptchaStore instance before test 2016-07-28 14:59:58 +01:00
CaptchaTriggers.php Allow other extensions to setup triggers using attributes 2017-09-02 17:45:26 +02:00
CaptchaValue.php Add AuthManager support to SimpleCaptcha, QuestyCaptcha, FancyCaptcha, MathCaptcha 2016-05-16 09:50:25 +00:00
ConfirmEditHooks.php Allow other extensions to setup triggers using attributes 2017-09-02 17:45:26 +02:00