X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=1204dbd7153c73e9a1b654ea0c70bc5277745a73;hb=6f6e7d6dfd5b4c5cdb4f1e4f80be77dd8ad71b57;hp=2064e0303d67edf9b969b76920eb4415fc9bbf13;hpb=655931210678d0090cd60a8463f2bb6d95099b0e;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 2064e0303d..1204dbd715 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -16142,6 +16142,68 @@ 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 +10. No regressions on internal links following category (T174639) +!! options +parsoid=wt2html,html2html +!! wikitext +[[Category:Foo]]
+Foo
+
Foo +
+!! html/parsoid + + + + + +!! end + !! test Category links with multiple namespaces !! wikitext @@ -16189,6 +16251,20 @@ x[[Category:Foo]]yxy
!! 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 @@ -29460,3 +29536,17 @@ wgFragmentMode=[ 'html5' ] !! end + +!! test +T90902: Normalize weird characters in section IDs +!! config +wgFragmentMode=[ 'html5', 'legacy' ] +!! wikitext +== Foo bar == +[[#Foo bar]] + +!! html/php +#Foo bar +
+!! end