Manual:$wgParserTestFiles

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgParserTestFiles and the translation is 31% complete.

Other languages:
English • ‎español • ‎polski • ‎日本語
Parser: $wgParserTestFiles
Parser test suite files to be run by parserTests.php.
Introducido en la versión:1.9.0 (r17534)
Deprecated in version:1.30.0 (r363961)
Eliminado en la versión:aún se usa
Valores permitidos:(array of strings)
Valor predeterminado:(véase más abajo)

Detalles

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.php .

Use full paths.

Valor predeterminado

Versión de MediaWiki: 1.17
$wgParserTestFiles = array(
	"$IP/maintenance/tests/parser/parserTests.txt",
	"$IP/maintenance/tests/parser/ExtraParserTests.txt"
);
Versiones de MediaWiki: 1.9 – 1.17
$wgParserTestFiles = array(
	"$IP/maintenance/tests/parser/parserTests.txt",
);

Deprecation

This variable is deprecated with this change. Instead, all *.txt files in an extension's tests/parser/ directory will be auto-discovered.

See also