X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=e8ccd9da8441a66bb92d298e457bc2ed1a45297c;hb=435e4064b579d64195e7d41b830af5d93031c035;hp=69fee303ecad82fa44199ddf40a5410beaa9d7b3;hpb=171255101f2a6480f237f54af64bc29d8ce50ac3;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 69fee303ec..e8ccd9da84 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -8301,6 +8301,21 @@ subpage

b

!! end +!! test +Serialization of purely hash wikilink +!! options +title=[[User:Test/123]] +subpage +parsoid=html2wt +!! html/parsoid +

[[

+!! wikitext +[[#a|[[]] +!! html/php +

[[ +

+!! end + !! test 1. Interaction of linktrail and template encapsulation !! wikitext @@ -8726,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) @@ -10406,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 @@ -13604,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 @@ -15937,7 +15984,7 @@ Section headings with TOC Some text ===Another headline=== !! html -

Contents

+

Contents