X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=02051658ae27f8e4ba9ffdeb66505f108459622c;hp=82d195a653992f31b088aa2e2a96ceede3af079e;hb=802c199d0bd80ff0f4d730c61fd58cbf08a52d8d;hpb=4f2eed6877938c3c7703072567e62b933c07b4b5 diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 82d195a653..02051658ae 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -15807,6 +15807,26 @@ parsoid=wt2html !! end +!! test +9. Categories and newlines: should behave properly with linkprefix (T87753) +!! options +language=ar +!! wikitext +foo bar +foo bar +[[تصنيف:Foo]] +[[تصنيف:Bar]] +!! html/php +

foo bar +foo bar +

+!! html/parsoid +

foo bar +foo bar

+ + +!! end + !! test Category links with multiple namespaces !! wikitext @@ -15854,6 +15874,20 @@ x[[Category:Foo]]y

xy

!! end +!! test +Link prefix/suffixes aren't applied to language links +!! options +parsoid=wt2html +language=is +!! wikitext +x[[es:Foo]]y +!! html/php +

xy +

+!! html/parsoid +

xy

+!! end + !! test Parsoid: Serialize link to file page with colon escape !! options