From 38d704545a639231f3e01a81c8ead9432eca8039 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Thu, 21 Jun 2018 11:39:18 -0400 Subject: [PATCH] Ensure parserTests pass even if wiki has wgUsePigLatin enabled Some tests implicitly assume that English is a language with no defined variants, which makes those tests fail if $wgUsePigLatinVariant is true. Change-Id: Iac5257a2fcf914a58579f06e340e8a4533befefb --- tests/parser/parserTests.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index b1510029a1..88797d7510 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -12670,10 +12670,13 @@ parsoid=wt2html

hi {{}}

!! end +# Ensure we're using a language without variants for this test; even +# if $wgUsePigLatinVariant is true. We've picked `de` arbitrarily. !! test Preprocessor precedence 18: another rightmost wins scenario !! options parsoid=wt2html +language=de !! wikitext {{ -{{{{1|tplarg}}} }} }- !! html/php -- 2.20.1