Manual:$wgParserTestFiles

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
Parser: $wgParserTestFiles
Parser test suite files to be run by parserTests.php.
Introduced in version: 1.9.0 (r17534)
Deprecated in version: 1.30.0
Removed in version: still in use
Allowed values: (array of strings)
Default value: (see below)
Other settings: Alphabetical | By function

Details[edit]

Parser test suite files to be run by parserTests.php when no specific filename is passed to it.

Extensions may add their own tests to this array, or site-local tests may be added via LocalSettings.phpManual:LocalSettings.php.

Use full paths.

Default value[edit]

MediaWiki version: 1.17
$wgParserTestFiles = array(
	"$IP/maintenance/tests/parser/parserTests.txt",
	"$IP/maintenance/tests/parser/ExtraParserTests.txt"
);


MediaWiki versions: 1.9 – 1.17
$wgParserTestFiles = array(
	"$IP/maintenance/tests/parser/parserTests.txt",
);