X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FpreprocessorFuzzTest.php;h=d102e08c2d9ecb80c3ff487c901f25137ef1c4f6;hb=e2ba8f7591569bf7406392834dcb8c938d481147;hp=4f478ac9724eb1f7ce1040099c582e748e5e9958;hpb=58cb1f824ac75c3b58ba19d1e88c1b38f9dc1fab;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/preprocessorFuzzTest.php b/maintenance/preprocessorFuzzTest.php index 4f478ac972..d102e08c2d 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'; @@ -46,6 +47,9 @@ class PPFuzzTester { public $entryPoints = [ 'testSrvus', 'testPst', 'testPreprocess' ]; public $verbose = false; + /** + * @var bool|PPFuzzTest + */ private static $currentTest = false; function execute() {