mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 08:13:53 +00:00
28 lines
544 B
PHP
28 lines
544 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',
|
||
|
]
|
||
|
);
|
||
|
|
||
|
// WikiPage->ConfirmEdit_ActivateCaptcha
|
||
|
$cfg['suppress_issue_types'][] = 'PhanUndeclaredProperty';
|
||
|
|
||
|
return $cfg;
|