mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-21 04:13:03 +00:00
87c1b07038
Use CacheKeyHelper to collect status of captchas that was activated instead of set random properties on page object. Bug: T275710 Change-Id: I7942ccd6b58584f436f872bf7c9deb63ab84482a
25 lines
443 B
PHP
25 lines
443 B
PHP
<?php
|
|
|
|
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
|
|
|
$cfg['directory_list'] = array_merge(
|
|
$cfg['directory_list'],
|
|
[
|
|
'FancyCaptcha/',
|
|
'MathCaptcha/',
|
|
'QuestyCaptcha/',
|
|
'ReCaptchaNoCaptcha/',
|
|
'SimpleCaptcha/',
|
|
'../../extensions/Math',
|
|
]
|
|
);
|
|
|
|
$cfg['exclude_analysis_directory_list'] = array_merge(
|
|
$cfg['exclude_analysis_directory_list'],
|
|
[
|
|
'../../extensions/Math',
|
|
]
|
|
);
|
|
|
|
return $cfg;
|