From 042b262e6593d85e5c06a0aaf29f0ada584ba297 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 11 Nov 2006 14:36:47 +0000 Subject: [PATCH] * 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 --- Cite.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Cite.php b/Cite.php index 83f060de..1c92cbda 100644 --- a/Cite.php +++ b/Cite.php @@ -26,6 +26,7 @@ $wgExtensionCredits['parserhook'][] = array( 'description' => 'adds and 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