X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=e8ccd9da8441a66bb92d298e457bc2ed1a45297c;hb=435e4064b579d64195e7d41b830af5d93031c035;hp=44bcdffeb4287a3fce34c1ddf6bbc11fd3e65ef0;hpb=aae0c8d42562d5d3f70cc18fa687ae331996b66f;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 44bcdffeb4..e8ccd9da84 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -8741,6 +8741,19 @@ Blah blah blah zh : Chinese

!! end +!! test +Multiple colons escaping interlanguage links +!! wikitext +[[:es:Spanish]] +[[::es:Spanish]] +[[:::es:Spanish]] +!! html/php +

es:Spanish +[[::es:Spanish]] +[[:::es:Spanish]] +

+!! end + ## parsoid html2wt will normalize the space to _ !! test Space and question mark encoding in interlanguage links (T95473) @@ -10421,11 +10434,13 @@ parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } Magic Word: {{REVISIONID}} !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } +showflags !! wikitext {{REVISIONID}} !! html/*

1337

+flags=vary-revision-id !! end !! test @@ -13619,17 +13634,34 @@ pre-save transform: Signature expansion pst !! wikitext * ~~~ +* ~~~~ +* ~~~~~ * ~~~ * ~~~ * ~~~ !! html/php * [[Special:Contributions/127.0.0.1|127.0.0.1]] +* [[Special:Contributions/127.0.0.1|127.0.0.1]] 00:02, 1 January 1970 (UTC) +* 00:02, 1 January 1970 (UTC) * [[Special:Contributions/127.0.0.1|127.0.0.1]] * [[Special:Contributions/127.0.0.1|127.0.0.1]] * [[Special:Contributions/127.0.0.1|127.0.0.1]] !! end +!! test +ParserOutput flags from signature expansion (T84843) +!! options +pst +showflags +!! wikitext +~~~~ +!! html/php +[[Special:Contributions/127.0.0.1|127.0.0.1]] 00:02, 1 January 1970 (UTC) +flags=user-signature +!! end + + !! test pre-save transform: Signature expansion in nowiki tags (T2093) !! options