Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -4621,7 +4621,7 @@ |
4622 | 4622 | !!input |
4623 | 4623 | [[Image:foobar.jpg|thumbnail= ]] |
4624 | 4624 | !!result |
4625 | | -<div class="thumb tright"><div style="width:182px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title=""><img src="http://example.com/images/3/3a/Foobar.jpg" alt="" width="180" height="-1" longdesc="/wiki/Image:Foobar.jpg" /></a> <div class="thumbcaption"><div class="magnify" style="float:right"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="Enlarge" /></a></div></div></div></div> |
| 4625 | +<div class="thumb tright"><div style="width:182px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title=""><img src="http://example.com/images/3/3a/Foobar.jpg" alt="" width="180" height="20" longdesc="/wiki/Image:Foobar.jpg" /></a> <div class="thumbcaption"><div class="magnify" style="float:right"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="Enlarge" /></a></div></div></div></div> |
4626 | 4626 | |
4627 | 4627 | !!end |
4628 | 4628 | |
— | — | @@ -5732,11 +5732,11 @@ |
5733 | 5733 | !! end |
5734 | 5734 | |
5735 | 5735 | !! test |
5736 | | -TODO: HTML Hex character encoding. |
| 5736 | +HTML Hex character encoding (spells the word "JavaScript") |
5737 | 5737 | !! input |
5738 | 5738 | JavaScript |
5739 | 5739 | !! result |
5740 | | -<p>JavaScript |
| 5740 | +<p>JavaScript |
5741 | 5741 | </p> |
5742 | 5742 | !! end |
5743 | 5743 | |
— | — | @@ -5860,6 +5860,18 @@ |
5861 | 5861 | |
5862 | 5862 | !!end |
5863 | 5863 | |
| 5864 | + |
| 5865 | +# Images with the "|" character in external URLs in comment tags; Eats half the comment, leaves unmatched "</a>" tag. |
| 5866 | +!! test |
| 5867 | +TODO: Images with the "|" character in the comment |
| 5868 | +!! input |
| 5869 | +[[image:Foobar.jpg|thumb|An [http://test/?param1=|left|¶m2=|x external] URL]] |
| 5870 | +!! result |
| 5871 | +<div class="thumb tright"><div style="width:182px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="An external URL"><img src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" alt="An external URL" width="180" height="20" longdesc="/wiki/Image:Foobar.jpg" /></a> <div class="thumbcaption"><div class="magnify" style="float:right"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="Enlarge" /></a></div>An <a href="http://test/?param1=|left|&param2=|x" class="external text" title="http://test/?param1=|left|&param2=|x" rel="nofollow">external</a> URL</div></div></div> |
| 5872 | + |
| 5873 | +!!end |
| 5874 | + |
| 5875 | + |
5864 | 5876 | # |
5865 | 5877 | # |
5866 | 5878 | # |