X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=4c6c9a5b31ceb2ff077a7f8a858f77e70241cd09;hb=a05971dfc7fdd78be02edae4855ca808dc599cda;hp=8f83fc6720f16dd60900ec1b6b6e4ab6f0b637fd;hpb=a007bbecc25d5d1babf2af65ac983ff47e1b2720;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 8f83fc6720..4c6c9a5b31 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -4646,6 +4646,9 @@ http://example.com? http://example.com) http://example.com/url_with_(brackets) (http://example.com/url_without_brackets) +http://example.com/url_with_entity& +http://example.com/url_with_entity& +http://example.com/url_with_entity& http://example.com/url_with_entity http://example.com/url_with_entity http://example.com/url_with_entity @@ -4663,12 +4666,15 @@ http://example.com/url_with_entity< http://example.com) http://example.com/url_with_(brackets) (http://example.com/url_without_brackets) -http://example.com/url_with_entity -http://example.com/url_with_entity -http://example.com/url_with_entity +http://example.com/url_with_entity& +http://example.com/url_with_entity& +http://example.com/url_with_entity& +http://example.com/url_with_entity +http://example.com/url_with_entity +http://example.com/url_with_entity http://example.com/url_with_entity< -http://example.com/url_with_entity%3C -http://example.com/url_with_entity%3C +http://example.com/url_with_entity< +http://example.com/url_with_entity<
!! html/parsoidhttp://example.com, @@ -5711,7 +5717,7 @@ Plain ''italic'''s plain ### ### Tables ### -### some content taken from http://meta.wikimedia.org/wiki/MediaWiki_User's_Guide:_Using_tables +### some content taken from http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide:_Using_tables ### # This should not produce
bar @@ -6250,12 +6256,19 @@ Table cell attributes: Pipes protected by nowikis should be treated as a plain c | title="foo|" bar |
bar | +bar | +title="foo|" bar |
" onmouseover="alert(document.cookie)">test |
foo | |
style="color: red !important;" data-contrived="put this here | foo |
[[[Main Page]]] +Foo [[[Main Page]]]
!! end @@ -7385,7 +7402,7 @@ Link containing double-single-quotes '' (bug 4598) !! wikitext [[Lista d''e paise d''o munno]] !! html/php - !! html/parsoid @@ -7422,10 +7439,10 @@ Link with double quotes in title part (literal) and alternate part (interpreted) [[''Pentecoste''|''Pentecoste'']] !! html/php -File:Denys Savchenko Pentecoste.jpg -
File:Denys Savchenko Pentecoste.jpg +
!! html/parsoid @@ -14074,7 +14091,7 @@ Link to category !! wikitext [[:Category:MediaWiki User's Guide]] !! html -Category:MediaWiki User's Guide +
Category:MediaWiki User's Guide
!! end @@ -14085,7 +14102,7 @@ cat !! wikitext [[Category:MediaWiki User's Guide]] !! html -MediaWiki User's Guide +MediaWiki User's Guide !! end !! test @@ -14104,7 +14121,7 @@ cat !! wikitext [[Category:MediaWiki User's Guide|Foo]] !! html -MediaWiki User's Guide +MediaWiki User's Guide !! end !! test @@ -14114,7 +14131,7 @@ cat !! wikitext [[Category:MediaWiki User's Guide|MediaWiki User's Guide]] !! html -MediaWiki User's Guide +MediaWiki User's Guide !! end !! test @@ -15892,6 +15909,7 @@ MSIE 6 CSS safety test: sup/sub script (bug 55332) !! end +# FIXME: Parsoid fails to sanitize this! See T58846. !! test Opera -o-link CSS !! wikitext @@ -19066,7 +19084,7 @@ language=sr cat !! wikitext [[Category:ÐедиаWики УÑеÑ'Ñ ÐÑиде]] !! html -MediaWiki User's Guide +MediaWiki User's Guide !! end @@ -20714,14 +20732,18 @@ __TOC__[edit]
!! end +# Don't expect Parsoid to roundtrip this until the php parser comes closer to +# html5 tag parsing. !! test Tags with parameters in TOC +!! options +parsoid=wt2html !! wikitext __TOC__ == Hello == == Evilbye == -!! html +!! html/phpcaption
@@ -22418,8 +22445,8 @@ parsoid=html2wt |} !! wikitext -