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 <cscott@cscott.net>2020-04-02 14:01:09 -0400
commitd4cdfe38fd6e2188ba06198c0f6de16513fc1028 (patch)
tree4c7f64aec202167bbd062cd5a3bd7a3f0ec200cb /tests/parser
parent8c53f65794f2f4eed913069c1c23b07e2fe59c06 (diff)
downloadmediawikicore-d4cdfe38fd6e2188ba06198c0f6de16513fc1028.tar.gz
mediawikicore-d4cdfe38fd6e2188ba06198c0f6de16513fc1028.zip
Deprecate parserTests format v1 (take 2)
Parser tests should be tidy by default; we will shortly stop running untidy tests. Previously merged as Id78d04a56f83d8c554cb0a8e395fcaf75a7a9a06, then reverted because it appears we missed updating a few extensions. Bug: T174199 Bug: T249194 Depends-On: I09fc7fe087f4b770c81c76a3aab1de22098c2d20 Depends-On: I7d80557ae3b43b8da03cef56430e11a0f5dc5793 Depends-On: I23ccb612c940b98ca9da46a2e0848ccfe70e695d Depends-On: I714f01d2d57f7290b147bdb47cbf69678b5f5adb Change-Id: I5627efc4f0aad77bfb9eae1e7465c11ced69325e
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;