aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@cscott.net>2020-07-24 00:20:27 -0400
committerC. Scott Ananian <cscott@cscott.net>2020-08-04 14:21:32 -0400
commitfb7ae07c8a8a5b4fddee7484c9928337b7e63542 (patch)
tree433913e6b8240b4090647536fe212835c65b28cb /tests/parser
parent545f691f8781c7ee15dbc6a036b426ff0a80bdcb (diff)
downloadmediawikicore-fb7ae07c8a8a5b4fddee7484c9928337b7e63542.tar.gz
mediawikicore-fb7ae07c8a8a5b4fddee7484c9928337b7e63542.zip
Hard-deprecate parser tests targetting Preprocessor_DOM
Support for Preprocessor_DOM was removed in 1.35; it's time to clean up any old parser tests which required it. Change-Id: I36c7906b8ce31ef6885aef54175749e67e51d07c
Diffstat (limited to 'tests/parser')
-rw-r--r--tests/parser/ParserTestRunner.php1
-rw-r--r--tests/parser/extraParserTests.txtbin2016 -> 1468 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/tests/parser/ParserTestRunner.php b/tests/parser/ParserTestRunner.php
index 55c3ec93d9a4..329b082f09eb 100644
--- a/tests/parser/ParserTestRunner.php
+++ b/tests/parser/ParserTestRunner.php
@@ -822,6 +822,7 @@ class ParserTestRunner {
wfDebug( __METHOD__ . ": running {$test['desc']}" );
$opts = $this->parseOptions( $test['options'] );
if ( isset( $opts['preprocessor'] ) && $opts['preprocessor'] !== 'Preprocessor_Hash' ) {
+ wfDeprecated( 'preprocessor=Preprocessor_DOM', '1.36' );
return false; // Skip test.
}
$teardownGuard = $this->perTestSetup( $test );
diff --git a/tests/parser/extraParserTests.txt b/tests/parser/extraParserTests.txt
index 0005ebe61b5b..c9240c1a4c84 100644
--- a/tests/parser/extraParserTests.txt
+++ b/tests/parser/extraParserTests.txt
Binary files differ