Manual:$wgParserTestFiles/ru
Appearance
Эта функция была полностью удалена в версии 1.40.0. |
| Profiling, testing and debugging: $wgParserTestFiles | |
|---|---|
| Parser test suite files to be run by parserTests.php. |
|
| Введено в версии: | 1.9.0 (r17534) |
| Устарела с версии: | 1.30.0 (Gerrit change 363961; git #9081dd12) |
| Удалено в версии: | 1.40.0 (Gerrit change 842007; git #4cb3957c) |
| Допустимые значения: | (array of strings) |
| Значение по умолчанию: | (see below) |
| Другие настройки: По алфавиту | По функциональности | |
Details
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.
Default value
| Версия MediaWiki: | ≥ 1.36 |
$wgParserTestFiles = [];
| Версии MediaWiki: | 1.18 – 1.35 |
$wgParserTestFiles = [
"$IP/tests/parser/parserTests.txt",
"$IP/tests/parser/extraParserTests.txt"
];
| Версия MediaWiki: | 1.17 |
$wgParserTestFiles = array(
"$IP/maintenance/tests/parser/parserTests.txt",
"$IP/maintenance/tests/parser/ExtraParserTests.txt"
);
| Версии MediaWiki: | 1.9 – 1.16 |
$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.
См. также
Categories:
- MediaWiki configuration settings/ru
- MediaWiki configuration settings introduced in version 1.9.0/ru
- MediaWiki configuration settings deprecated in version 1.30.0/ru
- MediaWiki configuration settings removed in version 1.40.0/ru
- MediaWiki deprecated or obsolete features/ru
- Profiling, testing and debugging variables/ru