X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpreprocessorFuzzTest.php;h=2503ed25e21cbf76a0c6d4a9a3fb7895092185fe;hb=e9bc1588fb609da6729c1fc010333023c1e29a85;hp=4f478ac9724eb1f7ce1040099c582e748e5e9958;hpb=40a628a501fc05bb00e834fe359ca4061925f320;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/preprocessorFuzzTest.php b/maintenance/preprocessorFuzzTest.php index 4f478ac972..2503ed25e2 100644 --- a/maintenance/preprocessorFuzzTest.php +++ b/maintenance/preprocessorFuzzTest.php @@ -21,6 +21,7 @@ * @ingroup Maintenance */ +$optionsWithoutArgs = [ 'verbose' ]; require_once __DIR__ . '/commandLine.inc'; $wgHooks['BeforeParserFetchTemplateAndtitle'][] = 'PPFuzzTester::templateHook'; @@ -42,10 +43,13 @@ class PPFuzzTester { public $minLength = 0; public $maxLength = 20; public $maxTemplates = 5; - // public $outputTypes = array( 'OT_HTML', 'OT_WIKI', 'OT_PREPROCESS' ); + // public $outputTypes = [ 'OT_HTML', 'OT_WIKI', 'OT_PREPROCESS' ]; public $entryPoints = [ 'testSrvus', 'testPst', 'testPreprocess' ]; public $verbose = false; + /** + * @var bool|PPFuzzTest + */ private static $currentTest = false; function execute() {