From: C. Scott Ananian Date: Thu, 21 Jun 2018 15:39:18 +0000 (-0400) Subject: Ensure parserTests pass even if wiki has wgUsePigLatin enabled X-Git-Tag: 1.34.0-rc.0~4036^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=38d704545a639231f3e01a81c8ead9432eca8039;p=lhc%2Fweb%2Fwiklou.git 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 --- 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