dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "Use display name in category page subheadings if provided""
[lhc/web/wiklou.git]
/
maintenance
/
preprocessorFuzzTest.php
diff --git
a/maintenance/preprocessorFuzzTest.php
b/maintenance/preprocessorFuzzTest.php
index
4f478ac
..
2503ed2
100644
(file)
--- a/
maintenance/preprocessorFuzzTest.php
+++ b/
maintenance/preprocessorFuzzTest.php
@@
-21,6
+21,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
+$optionsWithoutArgs = [ 'verbose' ];
require_once __DIR__ . '/commandLine.inc';
$wgHooks['BeforeParserFetchTemplateAndtitle'][] = 'PPFuzzTester::templateHook';
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 $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;
public $entryPoints = [ 'testSrvus', 'testPst', 'testPreprocess' ];
public $verbose = false;
+ /**
+ * @var bool|PPFuzzTest
+ */
private static $currentTest = false;
function execute() {
private static $currentTest = false;
function execute() {