* Make the set of default parser test input files extensible via

$wgParserTestFiles. This can now be appended to by extensions or local
  configuration files so that extension or custom tests can be automatically
  run along with the main batch.
* Cite.php now adds its parser tests to the default set when enabled
This commit is contained in:
Brion Vibber 2006-11-11 14:36:47 +00:00
parent ff99847497
commit 042b262e65

View file

@ -26,6 +26,7 @@ $wgExtensionCredits['parserhook'][] = array(
'description' => 'adds <nowiki><ref[ name=id]></nowiki> and <nowiki><references/></nowiki> tags, for citations', 'description' => 'adds <nowiki><ref[ name=id]></nowiki> and <nowiki><references/></nowiki> tags, for citations',
'url' => 'http://meta.wikimedia.org/wiki/Cite/Cite.php' 'url' => 'http://meta.wikimedia.org/wiki/Cite/Cite.php'
); );
$wgParserTestFiles[] = dirname( __FILE__ ) . "/citeParserTests.txt";
/** /**
* Error codes, first array = internal errors; second array = user errors * Error codes, first array = internal errors; second array = user errors