mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
* 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:
parent
ff99847497
commit
042b262e65
1
Cite.php
1
Cite.php
|
@ -26,6 +26,7 @@ $wgExtensionCredits['parserhook'][] = array(
|
|||
'description' => 'adds <nowiki><ref[ name=id]></nowiki> and <nowiki><references/></nowiki> tags, for citations',
|
||||
'url' => 'http://meta.wikimedia.org/wiki/Cite/Cite.php'
|
||||
);
|
||||
$wgParserTestFiles[] = dirname( __FILE__ ) . "/citeParserTests.txt";
|
||||
|
||||
/**
|
||||
* Error codes, first array = internal errors; second array = user errors
|
||||
|
|
Loading…
Reference in a new issue