aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@cscott.net>2020-04-01 11:16:53 -0400
committerC. Scott Ananian <cananian@wikimedia.org>2020-04-01 21:21:44 +0000
commita7242a2eaa6bdd506ac60a6766f381070e0fe439 (patch)
treedeef718456582e45c829be95edc50e580733ffce /tests/parser
parent65dd29ea123c450a6b0ec657fda967377a935ae6 (diff)
downloadmediawikicore-a7242a2eaa6bdd506ac60a6766f381070e0fe439.tar.gz
mediawikicore-a7242a2eaa6bdd506ac60a6766f381070e0fe439.zip
Deprecate parserTests format v1
Parser tests should be tidy by default; we will shortly stop running untidy tests. Bug: T174199 Depends-On: I7c8a08c4e6eff7caf4539a26fae475a4133f9a0c Depends-On: I9c8acb05fdf2c79f618f0f317d511df77f26ec3b Depends-On: Ibb23da480ac25cdee2ab24492e6eaebb51851bf9 Depends-On: Ifb13838c32748b1d52612da0cdb0e0a44c6e0689 Depends-On: I663c3919e08688354d68ced6945f6eb40265d2ac Depends-On: I5f6b82d24754e438a4df9e2b1f6b4c9d6eca1be9 Depends-On: I746ee2b985537dc6bbb8a114e21cd11a683e0f74 Change-Id: Id78d04a56f83d8c554cb0a8e395fcaf75a7a9a06
Diffstat (limited to 'tests/parser')
-rw-r--r--tests/parser/TestFileReader.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/parser/TestFileReader.php b/tests/parser/TestFileReader.php
index 6110c4ff5385..81a1aba3be9f 100644
--- a/tests/parser/TestFileReader.php
+++ b/tests/parser/TestFileReader.php
@@ -84,6 +84,7 @@ class TestFileReader {
$nonTidySection = $this->checkSection(
[ 'html/php+untidy', 'html+untidy' ], false );
if ( $this->format < 2 ) {
+ wfDeprecated( "parserTest v1: $this->file", '1.35' );
if ( $nonTidySection === false ) {
// untidy by default
$nonTidySection = $output;