X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=e67ad6665856ebeec7838bf4adff6afed44be833;hp=c3616ed87c85773dfe389aae73e3a18f337c5354;hb=743eca95e3065abf3091d343a4ab88ee4508483a;hpb=f27c50b580fbd2395101fd87e2debf4f6733062a diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index c3616ed87c..e67ad66658 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -534,8 +534,8 @@ parsoid=wt2html !! config wgFragmentMode=[ 'html5', 'legacy' ] !! wikitext -== A B -C == +==A B +C== !! html/php

A B @@ -543,8 +543,8 @@ C[ A B -C

+C">A B +C !! end !! test @@ -560,48 +560,48 @@ http://fr.wikipedia.org/wiki/🍺 !! test Simple list !! wikitext -* Item 1 -* Item 2 +*Item 1 +*Item 2 !! html - + !! end !! test Italics and bold !! wikitext -* plain -* plain''italic''plain -* plain''italic''plain''italic''plain -* plain'''bold'''plain -* plain'''bold'''plain'''bold'''plain -* plain''italic''plain'''bold'''plain -* plain'''bold'''plain''italic''plain -* plain''italic'''bold-italic'''italic''plain -* plain'''bold''bold-italic''bold'''plain -* plain'''''bold-italic'''italic''plain -* plain'''''bold-italic''bold'''plain -* plain''italic'''bold-italic'''''plain -* plain'''bold''bold-italic'''''plain -* plain l'''italic''plain -* plain l''''bold''' plain -!! html - +*plain +*plain''italic''plain +*plain''italic''plain''italic''plain +*plain'''bold'''plain +*plain'''bold'''plain'''bold'''plain +*plain''italic''plain'''bold'''plain +*plain'''bold'''plain''italic''plain +*plain''italic'''bold-italic'''italic''plain +*plain'''bold''bold-italic''bold'''plain +*plain'''''bold-italic'''italic''plain +*plain'''''bold-italic''bold'''plain +*plain''italic'''bold-italic'''''plain +*plain'''bold''bold-italic'''''plain +*plain l'''italic''plain +*plain l''''bold''' plain +!! html + !! end @@ -1247,32 +1247,32 @@ Text-level semantic html elements in wikitext !! test Ruby markup (W3C-style) !! wikitext -; Mono-ruby for individual base characters -: 日に本ほん語ご -; Group ruby -: 今日きょう -; Jukugo ruby -: 法華経ほけきょう -; Inline ruby -: 東京(とうきょう) -; Double-sided ruby -: 旧金山jiùjīnshānSan Francisco +;Mono-ruby for individual base characters +:日に本ほん語ご +;Group ruby +:今日きょう +;Jukugo ruby +:法華経ほけきょう +;Inline ruby +:東京(とうきょう) +;Double-sided ruby +:旧金山jiùjīnshānSan Francisco ♥HeartCœur ☘ShamrockTrèfle ✶StarÉtoile !! html -
Mono-ruby for individual base characters
-
日に本ほん語ご
-
Group ruby
-
今日きょう
-
Jukugo ruby
-
法華経ほけきょう
-
Inline ruby
-
東京(とうきょう)
-
Double-sided ruby
-
旧金山jiùjīnshānSan Francisco
+
Mono-ruby for individual base characters
+
日に本ほん語ご
+
Group ruby
+
今日きょう
+
Jukugo ruby
+
法華経ほけきょう
+
Inline ruby
+
東京(とうきょう)
+
Double-sided ruby
+
旧金山jiùjīnshānSan Francisco

♥HeartCœur ☘ShamrockTrèfle @@ -2751,7 +2751,7 @@ Templates: Strip leading and trailing whitespace from named-param values

b

c

- + !! end @@ -2772,7 +2772,7 @@ Templates: Don't strip whitespace from positional-param values e}} {{echo| -* f}} +*f}} {{echo| }}g @@ -2792,7 +2792,7 @@ Templates: Don't strip whitespace from positional-param values


- +


g
@@ -3168,15 +3168,15 @@ c
 2c. Indent-Pre and tables (T44252)
 !! wikitext
 {|
- |+ foo
- !  | bar
+ |+foo
+ !  |bar
 |}
 !! html
 
-
-
foo +foo
bar +bar
!!end @@ -3186,14 +3186,14 @@ c !! wikitext a {| - | b + |b |} !! html/php
a
 
-
b +b
!! html/parsoid @@ -3699,19 +3699,19 @@ HTML-pre: 3: other wikitext !! test Simple definition !! wikitext -; name : Definition +;name :Definition !! html -
name 
-
Definition
+
name 
+
Definition
!! end !! test Definition list for indentation only !! wikitext -: Indented text +:Indented text !! html -
Indented text
+
Indented text
!! end @@ -3728,10 +3728,10 @@ Definition list with no space !! test Definition list with URL link !! wikitext -; http://example.com/ : definition +;http://example.com/ :definition !! html -
http://example.com/ 
-
definition
+
http://example.com/ 
+
definition
!! end @@ -3748,10 +3748,10 @@ Definition list with bracketed URL link !! test Definition list with wikilink containing colon !! wikitext -; [[Help:FAQ]]: The least-read page on Wikipedia +; [[Help:FAQ]]:The least-read page on Wikipedia !! html -
Help:FAQ
-
The least-read page on Wikipedia
+
Help:FAQ
+
The least-read page on Wikipedia
!! end @@ -3759,13 +3759,13 @@ Definition list with wikilink containing colon !! test Definition list with news link containing colon !! wikitext -; news:alt.wikipedia.rox: This isn't even a real newsgroup! +;news:alt.wikipedia.rox: This isn't even a real newsgroup! !! html/php -
news:alt.wikipedia.rox
-
This isn't even a real newsgroup!
+
news:alt.wikipedia.rox
+
This isn't even a real newsgroup!
!! html/parsoid -
news:alt.wikipedia.rox
This isn't even a real newsgroup!
+
news:alt.wikipedia.rox
This isn't even a real newsgroup!
!! end !! test @@ -3773,17 +3773,17 @@ Malformed definition list with colon !! wikitext ; news:alt.wikipedia.rox -- don't crash or enter an infinite loop !! html -
news:alt.wikipedia.rox -- don't crash or enter an infinite loop
+
news:alt.wikipedia.rox -- don't crash or enter an infinite loop
!! end !! test Definition lists: colon in external link text !! wikitext -; [http://www.wikipedia2.org/ Wikipedia : The Next Generation]: OK, I made that up +;[http://www.wikipedia2.org/ Wikipedia :The Next Generation] :OK, I made that up !! html -
Wikipedia : The Next Generation
-
OK, I made that up
+
Wikipedia :The Next Generation 
+
OK, I made that up
!! end @@ -3799,30 +3799,30 @@ Definition lists: colon in HTML attribute !! test Definition lists: self-closed tag !! wikitext -;one
two : two-line fun +;one
two :two-line fun !! html
one
two 
-
two-line fun
+
two-line fun
!! end !! test Definition lists: ignore colons inside tags !! wikitext -;one two : tag fun::: def +;one two : tag fun:::def !! html
one two : tag fun::
-
def
+
def
!! end !! test Definition lists: excess closed tags !! wikitext -;onetwo : bad tag fun +;onetwo :bad tag fun !! html/php+tidy
onetwo 
-
bad tag fun
+
bad tag fun
!! html/parsoid
onetwo
@@ -3853,14 +3853,14 @@ T13748: Literal closing tags Definition and unordered list using wiki syntax nested in unordered list using html tags. !! wikitext !! html !! end @@ -3868,10 +3868,10 @@ Definition and unordered list using wiki syntax nested in unordered list using h !! test Definition list with empty definition and following paragraph !! wikitext -; term: +;term: Paragraph text !! html -
term
+
term

Paragraph text

@@ -4049,22 +4049,22 @@ Table / list interaction: indented table with lists in table contents !! wikitext :{| |- -| a -* b +|a +*b |- -| c -* d +|c +*d |} !! html
- -
a -
  • b
+
a +
  • b
c -
  • d
+
c +
  • d
!! end @@ -4172,30 +4172,30 @@ Definition Lists: Nesting: Test 4 !! test Definition Lists: Mixed Lists: Test 1 !! wikitext -:;* foo -::* bar -:; baz +:;*foo +::*bar +:;baz !! html/php -
  • foo
  • -
  • bar
-
baz
+
  • foo
  • +
  • bar
+
baz
!! html/php+tidy -
  • foo
  • -
  • bar
-
baz
+
  • foo
  • +
  • bar
+
baz
!! html/parsoid
    -
  • foo +
  • foo
    -
  • bar +
  • bar
-
baz
+
baz
!! end @@ -4203,11 +4203,11 @@ Definition Lists: Mixed Lists: Test 1 !! test Definition Lists: Mixed Lists: Test 2 !! wikitext -*: d1 -*: d2 +*:d1 +*:d2 !! html -
  • d1
    -
    d2
+
  • d1
    +
    d2
!! end @@ -4215,11 +4215,11 @@ Definition Lists: Mixed Lists: Test 2 !! test Definition Lists: Mixed Lists: Test 3 !! wikitext -*::: d1 -*::: d2 +*:::d1 +*:::d2 !! html -
  • d1
    -
    d2
+
  • d1
    +
    d2
!! end @@ -4242,10 +4242,10 @@ Definition Lists: Mixed Lists: Test 4 Definition Lists: Mixed Lists: Test 5 !! wikitext *:d1 -*:: d2 +*::d2 !! html
  • d1 -
    d2
+
d2
!! end @@ -4254,10 +4254,10 @@ Definition Lists: Mixed Lists: Test 5 Definition Lists: Mixed Lists: Test 6 !! wikitext #*:d1 -#*::: d3 +#*:::d3 !! html
    • d1 -
      d3
+
d3
!! end @@ -4265,11 +4265,11 @@ Definition Lists: Mixed Lists: Test 6 !! test Definition Lists: Mixed Lists: Test 7 !! wikitext -:* d1 -:* d2 +:*d1 +:*d2 !! html -
  • d1
  • -
  • d2
+
  • d1
  • +
  • d2
!! end @@ -4277,11 +4277,11 @@ Definition Lists: Mixed Lists: Test 7 !! test Definition Lists: Mixed Lists: Test 8 !! wikitext -:* d1 -::* d2 +:*d1 +::*d2 !! html -
  • d1
-
  • d2
+
  • d1
+
  • d2
!! end @@ -4382,10 +4382,10 @@ Definition Lists: Mixed Lists: Test 12 !! test Definition Lists: Weird Ones: Test 1 !! wikitext -*#;*::;; foo : bar (who uses this?) +*#;*::;;foo :bar (who uses this?) !! html/php+tidy - + !! html/parsoid