1 |
pass |
Blank input |
|
|
|
2 |
pass |
Simple paragraph |
This is a simple paragraph. |
<p>This is a simple paragraph.⌞
</p> |
<p>This is a simple paragraph.⌞
</p> |
3 |
tidy |
Paragraphs with extra newline spacing |
foo⌞
⌞
bar⌞
⌞
⌞
baz⌞
⌞
⌞
⌞
booz |
<p>foo⌞
</p><p>bar⌞
</p><p><br />⌞
baz⌞
</p><p><br />⌞
</p><p>booz⌞
</p> |
<p>foo⌞
</p><p>bar⌞
</p><p><br/>⌞
baz⌞
</p><p><br/>⌞
</p><p>booz⌞
</p> |
4 |
tidy |
Paragraphs with newline spacing with comment lines in between |
----⌞
a⌞
<!--foo-->⌞
b⌞
----⌞
a⌞
<!--foo--><!--More than 1 comment disables stripping of this line!-->⌞
b⌞
----⌞
a⌞
<!--foo-->⌞
⌞
b⌞
----⌞
a⌞
⌞
<!--foo-->⌞
b⌞
----⌞
a⌞
<!--foo-->⌞
⌞
⌞
b⌞
----⌞
a⌞
⌞
⌞
<!--foo-->⌞
b⌞
---- |
<hr />⌞
<p>a⌞
b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p>b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p>b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p>b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p><br />⌞
b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p><br />⌞
b⌞
</p>⌞
<hr />⌞
|
<hr/>⌞
<p>a⌞
b⌞
</p><hr/>⌞
<p>a⌞
</p><p>b⌞
</p><hr/>⌞
<p>a⌞
</p><p>b⌞
</p><hr/>⌞
<p>a⌞
</p><p>b⌞
</p><hr/>⌞
<p>a⌞
</p><p><br/>⌞
b⌞
</p><hr/>⌞
<p>a⌞
</p><p><br/>⌞
b⌞
</p><hr/>⌞
|
5 |
tidy |
Paragraphs with newline spacing with non-empty white-space lines in between |
----⌞
a⌞
⌞
b⌞
----⌞
a⌞
⌞
⌞
b⌞
---- |
<hr />⌞
<p>a⌞
</p><p>b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p><br /> ⌞
b⌞
</p>⌞
<hr />⌞
|
<hr/>⌞
<p>a⌞
</p><p>b⌞
</p><hr/>⌞
<p>a⌞
</p><p><br/>⌞
b⌞
</p><hr/>⌞
|
6 |
tidy |
Paragraphs with newline spacing with non-empty mixed comment and white-space lines in between |
----⌞
a⌞
<!--foo-->⌞
b⌞
----⌞
a⌞
<!--foo--><!--More than 1 comment disables stripping of this line!-->⌞
b⌞
----⌞
a⌞
⌞
<!--foo-->⌞
<!--bar-->⌞
b⌞
----⌞
a⌞
⌞
<!--foo-->⌞
<!--bar-->⌞
⌞
b⌞
---- |
<hr />⌞
<p>a⌞
b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p>b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p>b⌞
</p>⌞
<hr />⌞
<p>a⌞
</p><p><br /> ⌞
b⌞
</p>⌞
<hr />⌞
|
<hr/>⌞
<p>a⌞
b⌞
</p><hr/>⌞
<p>a⌞
</p><p>b⌞
</p><hr/>⌞
<p>a⌞
</p><p>b⌞
</p><hr/>⌞
<p>a⌞
</p><p><br/>⌞
b⌞
</p><hr/>⌞
|
7 |
tidy |
Extra newlines: More paragraphs with indented comment |
a⌞
⌞
<!--boo-->⌞
⌞
b |
<p>a⌞
</p><p><br />⌞
b⌞
</p> |
<p>a⌞
</p><p><br/>⌞
b⌞
</p> |
8 |
fail |
Extra newlines followed by heading |
a⌞
⌞
⌞
⌞
=b=⌞
[[a]]⌞
⌞
⌞
=b= |
<p>a⌞
</p><p><br />⌞
</p>⌞
<h1><span class="mw-headline" id="b">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: b">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p><a href="/index.php?title=A&action=edit&redlink=1" class="new" title="A (page does not exist)">a</a>⌞
</p><p><br />⌞
</p>⌞
<h1><span class="mw-headline" id="b_2">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: b">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
|
<p>a⌞
</p><p><br/>⌞
</p><h1><span class="mw-headline" id="b">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: b">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p><a href="/wiki/a" title="a">a</a>⌞
</p><p><br/>⌞
</p><h1><span class="mw-headline" id="b_2">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: b">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
|
9 |
fail |
Extra newlines between heading and content are swallowed |
=b=⌞
⌞
⌞
⌞
[[a]] |
<h1><span class="mw-headline" id="b">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: b">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p><a href="/index.php?title=A&action=edit&redlink=1" class="new" title="A (page does not exist)">a</a>⌞
</p> |
<h1><span class="mw-headline" id="b">b</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: b">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p><a href="/wiki/a" title="a">a</a>⌞
</p> |
10 |
tidy |
Parsing an URL |
http://fr.wikipedia.org/wiki/🍺⌞
<!-- EasterEgg we love beer, better be able be able to link to it --> |
<p><a rel="nofollow" class="external free" href="http://fr.wikipedia.org/wiki/🍺">http://fr.wikipedia.org/wiki/🍺</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://fr.wikipedia.org/wiki/🍺">http://fr.wikipedia.org/wiki/🍺</a>⌞
</p> |
11 |
pass |
Simple list |
* Item 1⌞
* Item 2 |
<ul><li> Item 1⌞
</li><li> Item 2⌞
</li></ul>⌞
|
<ul><li> Item 1⌞
</li><li> Item 2⌞
</li></ul>⌞
|
12 |
fail |
Italics and bold |
* 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 |
<ul><li> plain⌞
</li><li> plain<i>italic</i>plain⌞
</li><li> plain<i>italic</i>plain<i>italic</i>plain⌞
</li><li> plain<b>bold</b>plain⌞
</li><li> plain<b>bold</b>plain<b>bold</b>plain⌞
</li><li> plain<i>italic</i>plain<b>bold</b>plain⌞
</li><li> plain<b>bold</b>plain<i>italic</i>plain⌞
</li><li> plain<i>italic<b>bold-italic</b>italic</i>plain⌞
</li><li> plain<b>bold<i>bold-italic</i>bold</b>plain⌞
</li><li> plain<i><b>bold-italic</b>italic</i>plain⌞
</li><li> plain<b><i>bold-italic</i>bold</b>plain⌞
</li><li> plain<i>italic<b>bold-italic</b></i>plain⌞
</li><li> plain<b>bold<i>bold-italic</i></b>plain⌞
</li><li> plain l'<i>italic</i>plain⌞
</li><li> plain l'<b>bold</b> plain⌞
</li></ul>⌞
|
<ul><li> plain⌞
</li><li> plain<i>italic</i>plain⌞
</li><li> plain<i>italic</i>plain<i>italic</i>plain⌞
</li><li> plain<b>bold</b>plain⌞
</li><li> plain<b>bold</b>plain<b>bold</b>plain⌞
</li><li> plain<i>italic</i>plain<b>bold</b>plain⌞
</li><li> plain<b>bold</b>plain<i>italic</i>plain⌞
</li><li> plain<i>italic<b>bold-italic</b>italic</i>plain⌞
</li><li> plain<b>bold<i>bold-italic</i>bold</b>plain⌞
</li><li> plain<i><b>bold-italic</b>italic</i>plain⌞
</li><li> plain<b><i>bold-italic</i>bold</b>plain⌞
</li><li> plain<i>italic<b>bold-italic</b></i>plain⌞
</li><li> plain<b>bold<i>bold-italic</i></b>plain⌞
</li><li> plain l<b>italic<i>plain</i></b>⌞
</li><li> plain l'<b>bold</b> plain⌞
</li></ul>⌞
|
13 |
fail |
Italics and possessives |
obtained by ''[[Lunar Prospector]]'''s gamma-ray spectrometer |
<p>obtained by <i><a href="/index.php?title=Lunar_Prospector&action=edit&redlink=1" class="new" title="Lunar Prospector (page does not exist)">Lunar Prospector</a>'</i>s gamma-ray spectrometer⌞
</p> |
<p>obtained by <i><a href="/wiki/Lunar_Prospector" title="Lunar Prospector">Lunar Prospector</a><b>s gamma-ray spectrometer</b></i>⌞
</p> |
14 |
pass |
Italics and bold: 2-quote opening sequence: (2,2) |
''foo'' |
<p><i>foo</i>⌞
</p> |
<p><i>foo</i>⌞
</p> |
15 |
fail |
Italics and bold: 2-quote opening sequence: (2,3) |
''foo''' |
<p><i>foo'</i>⌞
</p> |
<p><i>foo<b/></i>⌞
</p> |
16 |
fail |
Italics and bold: 2-quote opening sequence: (2,4) |
''foo'''' |
<p><i>foo''</i>⌞
</p> |
<p><i>foo'<b/></i>⌞
</p> |
17 |
tidy |
Italics and bold: 2-quote opening sequence: (2,5) (php)
|
''foo''''' |
<p><i>foo</i>⌞
</p> |
<p><i>foo</i><b/>⌞
</p> |
18 |
tidy |
Italics and bold: 2-quote opening sequence: (2,5) (parsoid)
|
''foo''''' |
<p><i>foo</i><b></b>⌞
</p> |
<p><i>foo</i><b/>⌞
</p> |
19 |
fail |
Italics and bold: 3-quote opening sequence: (3,2) |
'''foo'' |
<p>'<i>foo</i>⌞
</p> |
<p><b>foo<i/></b>⌞
</p> |
20 |
pass |
Italics and bold: 3-quote opening sequence: (3,3) |
'''foo''' |
<p><b>foo</b>⌞
</p> |
<p><b>foo</b>⌞
</p> |
21 |
pass |
Italics and bold: 3-quote opening sequence: (3,4) |
'''foo'''' |
<p><b>foo'</b>⌞
</p> |
<p><b>foo'</b>⌞
</p> |
22 |
tidy |
Italics and bold: 3-quote opening sequence: (3,5) (php)
|
'''foo''''' |
<p><b>foo</b>⌞
</p> |
<p><b>foo</b><i/>⌞
</p> |
23 |
tidy |
Italics and bold: 3-quote opening sequence: (3,5) (parsoid)
|
'''foo''''' |
<p><b>foo<i></i></b>⌞
</p> |
<p><b>foo</b><i/>⌞
</p> |
24 |
fail |
Italics and bold: 4-quote opening sequence: (4,2) |
''''foo'' |
<p>''<i>foo</i>⌞
</p> |
<p>'<b>foo<i/></b>⌞
</p> |
25 |
pass |
Italics and bold: 4-quote opening sequence: (4,3) |
''''foo''' |
<p>'<b>foo</b>⌞
</p> |
<p>'<b>foo</b>⌞
</p> |
26 |
pass |
Italics and bold: 4-quote opening sequence: (4,4) |
''''foo'''' |
<p>'<b>foo'</b>⌞
</p> |
<p>'<b>foo'</b>⌞
</p> |
27 |
tidy |
Italics and bold: 4-quote opening sequence: (4,5) (php)
|
''''foo''''' |
<p>'<b>foo</b>⌞
</p> |
<p>'<b>foo</b><i/>⌞
</p> |
28 |
tidy |
Italics and bold: 4-quote opening sequence: (4,5) (parsoid)
|
''''foo''''' |
<p>'<b>foo<i></i></b>⌞
</p> |
<p>'<b>foo</b><i/>⌞
</p> |
29 |
pass |
Italics and bold: 5-quote opening sequence: (5,2) (php)
|
'''''foo'' |
<p><b><i>foo</i></b>⌞
</p> |
<p><b><i>foo</i></b>⌞
</p> |
30 |
fail |
Italics and bold: 5-quote opening sequence: (5,2) (parsoid)
|
'''''foo'' |
<p><i><b>foo</b></i>⌞
</p> |
<p><b><i>foo</i></b>⌞
</p> |
31 |
pass |
Italics and bold: 5-quote opening sequence: (5,3) |
'''''foo''' |
<p><i><b>foo</b></i>⌞
</p> |
<p><i><b>foo</b></i>⌞
</p> |
32 |
pass |
Italics and bold: 5-quote opening sequence: (5,4) |
'''''foo'''' |
<p><i><b>foo'</b></i>⌞
</p> |
<p><i><b>foo'</b></i>⌞
</p> |
33 |
pass |
Italics and bold: 5-quote opening sequence: (5,5) |
'''''foo''''' |
<p><i><b>foo</b></i>⌞
</p> |
<p><i><b>foo</b></i>⌞
</p> |
34 |
tidy |
Italics and bold: multiple quote sequences: (2,4,2) |
''foo''''bar'' |
<p><i>foo'<b>bar</b></i>⌞
</p> |
<p><i>foo'<b>bar<i/></b></i>⌞
</p> |
35 |
pass |
Italics and bold: multiple quote sequences: (2,4,3) |
''foo''''bar''' |
<p><i>foo'<b>bar</b></i>⌞
</p> |
<p><i>foo'<b>bar</b></i>⌞
</p> |
36 |
pass |
Italics and bold: multiple quote sequences: (2,4,4) |
''foo''''bar'''' |
<p><i>foo'<b>bar'</b></i>⌞
</p> |
<p><i>foo'<b>bar'</b></i>⌞
</p> |
37 |
tidy |
Italics and bold: multiple quote sequences: (3,4,2) (php)
|
'''foo''''bar'' |
<p><b>foo'</b>bar⌞
</p> |
<p><b>foo'</b>bar<i/>⌞
</p> |
38 |
tidy |
Italics and bold: multiple quote sequences: (3,4,2) (parsoid)
|
'''foo''''bar'' |
<p><b>foo'</b>bar<i></i>⌞
</p> |
<p><b>foo'</b>bar<i/>⌞
</p> |
39 |
tidy |
Italics and bold: multiple quote sequences: (3,4,3) (php)
|
'''foo''''bar''' |
<p><b>foo'</b>bar⌞
</p> |
<p><b>foo'</b>bar<b/>⌞
</p> |
40 |
tidy |
Italics and bold: multiple quote sequences: (3,4,3) (parsoid)
|
'''foo''''bar''' |
<p><b>foo'</b>bar<b></b>⌞
</p> |
<p><b>foo'</b>bar<b/>⌞
</p> |
41 |
pass |
Italics and bold: other quote tests: (2,3,5) |
''this is about '''foo's family''''' |
<p><i>this is about <b>foo's family</b></i>⌞
</p> |
<p><i>this is about <b>foo's family</b></i>⌞
</p> |
42 |
pass |
Italics and bold: other quote tests: (2,(3,3),2) |
''this is about '''foo's''' family'' |
<p><i>this is about <b>foo's</b> family</i>⌞
</p> |
<p><i>this is about <b>foo's</b> family</i>⌞
</p> |
43 |
fail |
Italics and bold: other quote tests: (3,2,3,2) |
'''this is about ''foo'''s family'' |
<p><b>this is about <i>foo</i></b><i>s family</i>⌞
</p> |
<p><b>this is about <i>foo<b>s family<i/></b></i></b>⌞
</p> |
44 |
fail |
Italics and bold: other quote tests: (3,2,3,3) (php)
|
'''this is about ''foo'''s family''' |
<p>'<i>this is about </i>foo<b>s family</b>⌞
</p> |
<p><b>this is about <i>foo<b>s family</b></i></b>⌞
</p> |
45 |
fail |
Italics and bold: other quote tests: (3,2,3,3) (parsoid)
|
'''this is about ''foo'''s family''' |
<p><b>this is about <i>foo'</i>s family</b>⌞
</p> |
<p><b>this is about <i>foo<b>s family</b></i></b>⌞
</p> |
46 |
pass |
Italics and bold: other quote tests: (3,(2,2),3) |
'''this is about ''foo's'' family''' |
<p><b>this is about <i>foo's</i> family</b>⌞
</p> |
<p><b>this is about <i>foo's</i> family</b>⌞
</p> |
47 |
fail |
Italicized possessive |
The ''[[Main Page]]'''s talk page. |
<p>The <i><a href="/wiki/Main_Page" title="Main Page">Main Page</a>'</i>s talk page.⌞
</p> |
<p>The <i><a href="/wiki/Main_Page" title="Main Page">Main Page</a><b>s talk page.</b></i>⌞
</p> |
48 |
fail |
Parsoid only: Quote balancing context should be restricted to td/th cells on the same wikitext line
(Requires tidy for PHP parser output to be fixed up)
|
{|⌞
!''a!!''b⌞
|''a||''b⌞
|} |
<table>⌞
<tbody><tr><th><i>a</i></th><th><i>b</i></th>⌞
<td><i>a</i></td><td><i>b</i></td></tr>⌞
</tbody></table> |
<table><tr><th>''a</th><th><i>b</i>⌞
</th><td>''a</td><td><i>b</i>⌞
</td></tr></table> |
49 |
tidy |
Non-html5 tags should be accepted |
<center>''foo''</center>⌞
<big>''foo''</big>⌞
<font>''foo''</font>⌞
<strike>''foo''</strike>⌞
<tt>''foo''</tt> |
<center><i>foo</i></center>⌞
<p><big><i>foo</i></big>⌞
<font><i>foo</i></font>⌞
<strike><i>foo</i></strike>⌞
<tt><i>foo</i></tt>⌞
</p> |
<center><i>foo</i>⌞
</center><p><big><i>foo</i></big>⌞
<font><i>foo</i></font>⌞
<strike><i>foo</i></strike>⌞
<tt><i>foo</i></tt>⌞
</p> |
50 |
pass |
<nowiki> unordered list |
<nowiki>* This is not an unordered list item.</nowiki> |
<p>* This is not an unordered list item.⌞
</p> |
<p>* This is not an unordered list item.⌞
</p> |
51 |
tidy |
<nowiki> spacing |
<nowiki>Lorem ipsum dolor⌞
⌞
sed abit.⌞
sed nullum.⌞
⌞
:and a colon⌞
</nowiki> |
<p>Lorem ipsum dolor⌞
⌞
sed abit.⌞
sed nullum.⌞
⌞
:and a colon⌞
⌞
</p> |
<p>Lorem ipsum dolor⌞
⌞
sed abit.⌞
sed nullum.⌞
⌞
:and a colon⌞
</p> |
52 |
pass |
nowiki 3 |
:There is not nowiki.⌞
:There is <nowiki>nowiki</nowiki>.⌞
⌞
#There is not nowiki.⌞
#There is <nowiki>nowiki</nowiki>.⌞
⌞
*There is not nowiki.⌞
*There is <nowiki>nowiki</nowiki>. |
<dl><dd>There is not nowiki.⌞
</dd><dd>There is nowiki.⌞
</dd></dl>⌞
<ol><li>There is not nowiki.⌞
</li><li>There is nowiki.⌞
</li></ol>⌞
<ul><li>There is not nowiki.⌞
</li><li>There is nowiki.⌞
</li></ul>⌞
|
<dl><dd>There is not nowiki.⌞
</dd><dd>There is nowiki.⌞
</dd></dl>⌞
<ol><li>There is not nowiki.⌞
</li><li>There is nowiki.⌞
</li></ol>⌞
<ul><li>There is not nowiki.⌞
</li><li>There is nowiki.⌞
</li></ul>⌞
|
53 |
pass |
Entities inside <nowiki> |
<nowiki><</nowiki> |
<p><⌞
</p> |
<p><⌞
</p> |
54 |
fail |
Entities inside template parameters
|
{{echo|–}} |
<p><span typeof="mw:Transclusion mw:Entity" data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"&ndash;"}},"i":0}'>–</span>⌞
</p> |
<p>–⌞
</p> |
55 |
tidy |
Comments and Indent-Pre |
<!-- comment 1 --> asdf⌞
⌞
<!-- comment 1 --> asdf⌞
<!-- comment 2 -->⌞
⌞
<!-- comment 1 --> asdf⌞
<!-- comment 2 -->xyz⌞
⌞
<!-- comment 1 --> asdf⌞
<!-- comment 2 --> xyz |
<pre>asdf⌞
</pre>⌞
<pre>asdf⌞
</pre>⌞
<pre>asdf⌞
</pre>⌞
<p>xyz⌞
</p>⌞
<pre>asdf⌞
xyz⌞
</pre> |
<pre>asdf⌞
</pre><pre>asdf⌞
</pre><pre>asdf⌞
</pre><p>xyz⌞
</p><pre>asdf⌞
xyz⌞
</pre> |
56 |
pass |
Comment test 2a |
asdf⌞
<!-- comment 1 -->⌞
jkl |
<p>asdf⌞
jkl⌞
</p> |
<p>asdf⌞
jkl⌞
</p> |
57 |
pass |
Comment test 2b |
asdf⌞
<!-- comment 1 -->⌞
⌞
jkl |
<p>asdf⌞
</p><p>jkl⌞
</p> |
<p>asdf⌞
</p><p>jkl⌞
</p> |
58 |
pass |
Comment test 3 |
asdf⌞
<!-- comment 1 -->⌞
<!-- comment 2 -->⌞
jkl |
<p>asdf⌞
jkl⌞
</p> |
<p>asdf⌞
jkl⌞
</p> |
59 |
pass |
Comment test 4 |
asdf<!-- comment 1 -->jkl |
<p>asdfjkl⌞
</p> |
<p>asdfjkl⌞
</p> |
60 |
tidy |
Comment spacing |
a⌞
<!-- foo --> b <!-- bar -->⌞
c |
<p>a⌞
</p>⌞
<pre> b ⌞
</pre>⌞
<p>c⌞
</p> |
<p>a⌞
</p><pre> b ⌞
</pre><p>c⌞
</p> |
61 |
pass |
Comment whitespace |
<!-- returns a single newline, not nothing, since the newline after > is not stripped --> |
|
|
62 |
pass |
Comment semantics and delimiters |
<!-- --><!----><!-----><!------> |
|
|
63 |
pass |
Comment semantics and delimiters, redux |
<!-- In SGML every "foo" here would actually show up in the text -- foo -- bar⌞
-- foo -- funky huh? ... --> |
|
|
64 |
pass |
Comment semantics and delimiters: directors cut |
<!-- ... However we like to keep things simple and somewhat XML-ish so we eat⌞
everything starting with < followed by !-- until the first -- and > we see,⌞
that wouldn't be valid XML however, since in XML -- has to terminate a comment⌞
-->--> |
<p>-->⌞
</p> |
<p>-->⌞
</p> |
65 |
pass |
Comment semantics: nesting |
<!--<!-- no, we're not going to do anything fancy here -->--> |
<p>-->⌞
</p> |
<p>-->⌞
</p> |
66 |
pass |
Comment semantics: unclosed comment at end |
<!--This comment will run out to the end of the document |
|
|
67 |
pass |
Comment in template title |
{{f<!---->oo}} |
<p>FOO⌞
</p> |
<p>FOO⌞
</p> |
68 |
pass |
Comment on its own line post-expand |
a⌞
{{blank}}<!---->⌞
b |
<p>a⌞
</p><p>b⌞
</p> |
<p>a⌞
</p><p>b⌞
</p> |
69 |
pass |
Comment on its own line post-expand with non-significant whitespace |
a⌞
{{blank}} <!----> ⌞
b |
<p>a⌞
</p><p>b⌞
</p> |
<p>a⌞
</p><p>b⌞
</p> |
70 |
pass |
No block tags |
a⌞
⌞
b |
<p>a⌞
</p><p>b⌞
</p> |
<p>a⌞
</p><p>b⌞
</p> |
71 |
fail |
Block tag on one line |
a <div>foo</div>⌞
⌞
b |
a <div>foo</div>⌞
<p>b⌞
</p> |
<p>a ⌞
</p><div>foo</div><p>b⌞
</p> |
72 |
fail |
Block tag on both lines |
a <div>foo</div>⌞
⌞
b <div>foo</div> |
a <div>foo</div>⌞
b <div>foo</div>⌞
|
<p>a ⌞
</p><div>foo</div><p>b ⌞
</p><div>foo</div> |
73 |
fail |
Multiple lines without block tags |
<div>foo</div> a⌞
b⌞
c⌞
d<!--foo--> e⌞
x <div>foo</div> z |
<div>foo</div> a⌞
<p>b⌞
c⌞
d e⌞
</p>⌞
x <div>foo</div> z⌞
|
<div>foo</div><p> a⌞
b⌞
c⌞
d e⌞
x ⌞
</p><div>foo</div><p> z⌞
</p> |
74 |
fail |
Empty lines between lines with block tags |
<div></div>⌞
⌞
⌞
<div></div>a⌞
⌞
b⌞
<div>a</div>b⌞
⌞
<div>b</div>d⌞
⌞
⌞
<div>e</div> |
<div></div>⌞
<p><br />⌞
</p>⌞
<div></div>a⌞
<p>b⌞
</p>⌞
<div>a</div>b⌞
<div>b</div>d⌞
<p><br />⌞
</p>⌞
<div>e</div>⌞
|
<div/><p><br/>⌞
</p><div/><p>a⌞
</p><p>b⌞
</p><div>a</div><p>b⌞
</p><div>b</div><p>d⌞
</p><p><br/>⌞
</p><div>e</div> |
75 |
pass |
Preformatted text |
This is some⌞
Preformatted text⌞
With ''italic''⌞
And '''bold'''⌞
And a [[Main Page|link]] |
<pre>This is some⌞
Preformatted text⌞
With <i>italic</i>⌞
And <b>bold</b>⌞
And a <a href="/wiki/Main_Page" title="Main Page">link</a>⌞
</pre> |
<pre>This is some⌞
Preformatted text⌞
With <i>italic</i>⌞
And <b>bold</b>⌞
And a <a href="/wiki/Main_Page" title="Main Page">link</a>⌞
</pre> |
76 |
pass |
Ident preformatting with inline content |
a⌞
''b'' |
<pre>a⌞
<i>b</i>⌞
</pre> |
<pre>a⌞
<i>b</i>⌞
</pre> |
77 |
tidy |
<pre> with <nowiki> inside (compatibility with 1.6 and earlier) |
<pre><nowiki>⌞
<b>⌞
<cite>⌞
<em>⌞
</nowiki></pre> |
<pre>⌞
<b>⌞
<cite>⌞
<em>⌞
</pre>⌞
|
<pre>⌞
<b>⌞
<cite>⌞
<em>⌞
</pre> |
78 |
tidy |
Regression with preformatted in <center> |
<center>⌞
Blah⌞
</center> |
<center>⌞
<pre>Blah⌞
</pre>⌞
</center>⌞
|
<center><pre>Blah⌞
</pre></center> |
79 |
tidy |
Bug 6200: Preformatted in <blockquote> |
<blockquote>⌞
Blah⌞
</blockquote> |
<blockquote>⌞
Blah⌞
</blockquote>⌞
|
<blockquote> Blah</blockquote> |
80 |
tidy |
<pre> with attributes (bug 3202) |
<pre style="background: blue; color:white">Bluescreen of WikiDeath</pre> |
<pre style="background: blue; color:white">Bluescreen of WikiDeath</pre>⌞
|
<pre style="background: blue; color:white">Bluescreen of WikiDeath</pre> |
81 |
tidy |
<pre> with width attribute (bug 3202) |
<pre width="8">Narrow screen goodies</pre> |
<pre width="8">Narrow screen goodies</pre>⌞
|
<pre width="8">Narrow screen goodies</pre> |
82 |
tidy |
<pre> with forbidden attribute (bug 3202) |
<pre width="8" onmouseover="alert(document.cookie)">Narrow screen goodies</pre> |
<pre width="8">Narrow screen goodies</pre>⌞
|
<pre width="8">Narrow screen goodies</pre> |
83 |
tidy |
Entities inside <pre> |
<pre><</pre> |
<pre><</pre>⌞
|
<pre><</pre> |
84 |
tidy |
<pre> with forbidden attribute values (bug 3202) |
<pre width="8" style="border-width: expression(alert(document.cookie))">Narrow screen goodies</pre> |
<pre width="8" style="/* insecure input */">Narrow screen goodies</pre>⌞
|
<pre width="8" style="/* insecure input */">Narrow screen goodies</pre> |
85 |
tidy |
<nowiki> inside <pre> (bug 13238) |
<pre>⌞
<nowiki>⌞
</pre>⌞
<pre>⌞
<nowiki></nowiki>⌞
</pre>⌞
<pre><nowiki><nowiki></nowiki>Foo<nowiki></nowiki></nowiki></pre> |
<pre>⌞
<nowiki>⌞
</pre>⌞
<pre>⌞
⌞
</pre>⌞
<pre><nowiki>Foo</nowiki></pre>⌞
|
<pre>⌞
<nowiki>⌞
</pre><pre>⌞
⌞
</pre><pre><nowiki>Foo</nowiki></pre> |
86 |
tidy |
<nowiki> and <pre> preference (first one wins) |
<pre>⌞
<nowiki>⌞
</pre>⌞
</nowiki>⌞
</pre>⌞
⌞
<nowiki>⌞
<pre>⌞
<nowiki>⌞
</pre>⌞
</nowiki>⌞
</pre>⌞
|
<pre>⌞
<nowiki>⌞
</pre>⌞
<p></nowiki>⌞
</pre>⌞
</p><p>⌞
<pre>⌞
<nowiki>⌞
</pre>⌞
⌞
</pre>⌞
</p> |
<pre>⌞
<nowiki>⌞
</pre><p></nowiki>⌞
</pre>⌞
</p><p>⌞
<pre>⌞
<nowiki>⌞
</pre>⌞
⌞
</pre>⌞
</p> |
87 |
pass |
</pre> inside nowiki |
<nowiki></pre></nowiki> |
<p></pre>⌞
</p> |
<p></pre>⌞
</p> |
88 |
pass |
Templates: Indent-Pre: 1a. Templates that break a line should suppress <pre> |
{{echo|}} |
|
|
89 |
pass |
Templates: Indent-Pre: 1b. Templates that break a line should suppress <pre> |
{{echo|⌞
foo}} |
<p>foo⌞
</p> |
<p>foo⌞
</p> |
90 |
tidy |
Templates: Indent-Pre: 1c: Wrapping should be based on expanded content |
{{echo|a⌞
b}} |
<pre>a⌞
</pre>⌞
<p>b⌞
</p> |
<pre>a⌞
</pre><p>b⌞
</p> |
91 |
tidy |
Templates: Indent-Pre: 1d: Wrapping should be based on expanded content |
{{echo|a⌞
b⌞
c⌞
d⌞
e⌞
}} |
<pre>a⌞
</pre>⌞
<p>b⌞
c⌞
</p>⌞
<pre>d⌞
</pre>⌞
<p>e⌞
</p> |
<pre>a⌞
</pre><p>b⌞
c⌞
</p><pre>d⌞
</pre><p>e⌞
</p> |
92 |
tidy |
Templates: Indent-Pre: 1e. Wrapping should be based on expanded content |
{{echo| foo}}⌞
⌞
{{echo| foo}}{{echo| bar}}⌞
⌞
{{echo| foo}}⌞
{{echo| bar}}⌞
⌞
{{echo|<!--cmt--> foo}}⌞
⌞
<!--cmt-->{{echo| foo}}⌞
⌞
{{echo|{{echo| }}bar}} |
<pre>foo⌞
</pre>⌞
<pre>foo bar⌞
</pre>⌞
<pre>foo⌞
bar⌞
</pre>⌞
<pre>foo⌞
</pre>⌞
<pre>foo⌞
</pre>⌞
<pre>bar⌞
</pre> |
<pre>foo⌞
</pre><pre>foo bar⌞
</pre><pre>foo⌞
bar⌞
</pre><pre>foo⌞
</pre><pre>foo⌞
</pre><pre>bar⌞
</pre> |
93 |
tidy |
Templates: Indent-Pre: 1f: Wrapping should be based on expanded content |
{{echo| }}a⌞
⌞
{{echo|⌞
}}a⌞
⌞
{{echo|⌞
b}}⌞
⌞
{{echo|a⌞
}}b⌞
⌞
{{echo|a⌞
}} b |
<pre>a⌞
</pre>⌞
<p><br />⌞
</p>⌞
<pre>a⌞
</pre>⌞
<p><br />⌞
</p>⌞
<pre>b⌞
</pre>⌞
<p>a⌞
</p>⌞
<pre>b⌞
</pre>⌞
<p>a⌞
</p>⌞
<pre>b⌞
</pre> |
<pre>a⌞
</pre><p><br/>⌞
</p><pre>a⌞
</pre><p><br/>⌞
</p><pre>b⌞
</pre><p>a⌞
</p><pre>b⌞
</pre><p>a⌞
</p><pre>b⌞
</pre> |
94 |
tidy |
Templates: Single-line variant of parameter whitespace stripping test |
{{echo| a}}⌞
⌞
{{echo|1= a}}⌞
⌞
{{echo|{{echo| a}}}}⌞
⌞
{{echo|1={{echo| a}}}} |
<pre>a⌞
</pre>⌞
<p>a⌞
</p>⌞
<pre>a⌞
</pre>⌞
<p>a⌞
</p> |
<pre>a⌞
</pre><p>a⌞
</p><pre>a⌞
</pre><p>a⌞
</p> |
95 |
tidy |
Templates: Strip whitespace from named parameters, but not positional ones |
{{echo|⌞
foo}}⌞
⌞
{{echo|⌞
* foo}}⌞
⌞
{{echo| 1 =⌞
foo}}⌞
⌞
{{echo| 1 =⌞
* foo}} |
<pre>foo⌞
</pre>⌞
<p><br />⌞
</p>⌞
<ul><li> foo⌞
</li></ul>⌞
<p>foo⌞
</p>⌞
<ul><li> foo⌞
</li></ul>⌞
|
<pre>foo⌞
</pre><p><br/>⌞
</p><ul><li> foo⌞
</li></ul>⌞
<p>foo⌞
</p><ul><li> foo⌞
</li></ul>⌞
|
96 |
fail |
Templates: Dont strip whitespace from whitespace/comment-only arguments |
{{echo| }}⌞
{{echo|<!--cmt-->}}⌞
{{echo| <!--cmt--> }} |
<p><br />⌞
</p> |
|
97 |
fail |
Templates: Parsoid parameter escaping test 1
|
{{echo|[foo]|{{echo|[bar]}}}} |
<p about="#mwt1" typeof="mw:Transclusion"⌞
data-mw="{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"[foo]"},"2":{"wt":"{{echo|[bar]}}"}},"i":0}">[foo]</p> |
<p>[foo]⌞
</p> |
98 |
fail |
Parsoid: Pipes in external links in template parameter
|
{{echo|[{{echo|http://example.com}} link]}} |
<p><a rel="mw:ExtLink" href="http://example.com" about="#mwt31" typeof="mw:Transclusion" data-mw="{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"[{{echo|http://example.com}} link]"}},"i":0}">link</a></p> |
<p><a rel="nofollow" class="external text" href="http://example.com">link</a>⌞
</p> |
99 |
fail |
Parsoid: pipe in transclusion parameter
|
{{echo|http://foo.com/a|b}} |
<p><a rel="mw:ExtLink" href="http://foo.com/a|b" about="#mwt1"⌞
typeof="mw:Transclusion"⌞
data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"http://foo.com/a|b"}},"i":0}'>http://foo.com/a|b</a></p> |
<p><a rel="nofollow" class="external free" href="http://foo.com/a|b">http://foo.com/a|b</a>⌞
</p> |
100 |
fail |
Parsoid: Pipe in external link target and content in template parameter
|
{{echo|[http://foo.com/a|b a|b]}} |
<p><a rel="mw:ExtLink" href="http://foo.com/a|b" about="#mwt1"⌞
typeof="mw:Transclusion"⌞
data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},⌞
"params":{"1":{"wt":"[http://foo.com/a|b a|b]"}},"i":0}'>a|b</a></p> |
<p><a rel="nofollow" class="external text" href="http://foo.com/a|b">a|b</a>⌞
</p> |
101 |
fail |
Templates: Dont escape already nowiki-escaped text in template parameters
|
{{echo|foo<nowiki>|</nowiki>bar}}⌞
{{echo|<nowiki><div></nowiki>}}⌞
{{echo|<nowiki></nowiki>}} |
<p><span about="#mwt1" typeof="mw:Transclusion" data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"foo<nowiki>|</nowiki>bar"}},"i":0}'}'>foo</span><span typeof="mw:Nowiki" about="#mwt1">|</span><span about="#mwt1">bar</span>⌞
<span typeof="mw:Transclusion mw:Nowiki" about="#mwt2" data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"<nowiki>&lt;div&gt;</nowiki>"}},"i":0}'><span typeof="mw:Entity"><</span>div<span typeof="mw:Entity">></span></span>⌞
<span typeof="mw:Transclusion mw:Nowiki" about="#mwt3" data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"<nowiki></nowiki>"}},"i":0}'></span>⌞
</p> |
<p>foo⌞
<nowiki><div>⌞
</p> |
102 |
tidy |
1a. Indent-Pre and Comments |
a⌞
<!--a-->⌞
c |
<pre>a⌞
</pre>⌞
<p>c⌞
</p> |
<pre>a⌞
</pre><p>c⌞
</p> |
103 |
tidy |
1b. Indent-Pre and Comments |
a⌞
<!--a-->⌞
c |
<pre>a⌞
</pre>⌞
<p>c⌞
</p> |
<pre>a⌞
</pre><p>c⌞
</p> |
104 |
tidy |
1c. Indent-Pre and Comments |
<!--a--> a⌞
⌞
<!--a--> a |
<pre> a⌞
</pre>⌞
<pre> a⌞
</pre> |
<pre> a⌞
</pre><pre> a⌞
</pre> |
105 |
tidy |
2a. Indent-Pre and tables |
{|⌞
|-⌞
!h1!!h2⌞
|foo||bar⌞
|} |
<table>⌞
⌞
<tr>⌞
<th>h1</th>⌞
<th>h2⌞
</th>⌞
<td>foo</td>⌞
<td>bar⌞
</td></tr></table>⌞
|
<table><tr><th>h1</th><th>h2</th><td>foo</td><td>bar</td></tr></table> |
106 |
tidy |
2b. Indent-Pre and tables |
{|⌞
|-⌞
|foo⌞
|} |
<table>⌞
⌞
<tr>⌞
<td>foo⌞
</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
107 |
tidy |
2c. Indent-Pre and tables (bug 42252) |
{|⌞
|+ foo⌞
! | bar⌞
|} |
<table>⌞
<caption> foo⌞
</caption>⌞
<tr>⌞
<th> bar⌞
</th></tr></table>⌞
|
<table><caption> foo</caption><tr><th>bar</th></tr></table> |
108 |
tidy |
3a. Indent-Pre and block tags (single-line html) |
<p> foo </p>⌞
<div> foo </div>⌞
<span> foo </span> |
<p> foo </p>⌞
<div> foo </div>⌞
<pre><span> foo </span>⌞
</pre> |
<p> foo </p><div> foo</div><pre><span> foo </span>⌞
</pre> |
109 |
tidy |
3b. Indent-Pre and block tags (pre-content on separate line) |
<p>⌞
foo⌞
</p>⌞
⌞
<div>⌞
foo⌞
</div>⌞
⌞
<center>⌞
foo⌞
</center>⌞
⌞
<blockquote>⌞
foo⌞
</blockquote>⌞
⌞
<table><tr><td>⌞
foo⌞
</td></tr></table>⌞
⌞
<ul><li>⌞
foo⌞
</li></ul>⌞
|
<p>⌞
foo⌞
</p>⌞
<div>⌞
<pre>foo⌞
</pre>⌞
</div>⌞
<center>⌞
<pre>foo⌞
</pre>⌞
</center>⌞
<blockquote>⌞
foo⌞
</blockquote>⌞
<table><tr><td>⌞
<pre>foo⌞
</pre>⌞
</td></tr></table>⌞
<ul><li>⌞
foo⌞
</li></ul>⌞
|
<p>⌞
foo⌞
</p><div><pre>foo⌞
</pre></div><center><pre>foo⌞
</pre></center><blockquote> foo</blockquote><table><tr><td><pre>foo⌞
</pre></td></tr></table><ul><li> foo</li></ul> |
110 |
tidy |
4. Multiple spaces at start-of-line |
<p> foo </p>⌞
foo⌞
{|⌞
|foo⌞
|} |
<p> foo </p>⌞
<pre> foo⌞
</pre>⌞
<table>⌞
<tr>⌞
<td>foo⌞
</td></tr></table>⌞
|
<p> foo </p><pre> foo⌞
</pre><table><tr><td>foo</td></tr></table> |
111 |
tidy |
5. White-space in indent-pre
NOTE: the white-space char on 2nd line is significant |
a<br/>⌞
⌞
b |
<pre>a<br />⌞
⌞
b⌞
</pre> |
<pre>a<br/>⌞
⌞
b⌞
</pre> |
112 |
tidy |
HTML-pre: 1. embedded newlines |
<pre>foo</pre>⌞
⌞
<pre>⌞
foo⌞
</pre>⌞
⌞
<pre>⌞
⌞
foo⌞
</pre>⌞
⌞
<pre>⌞
⌞
⌞
foo⌞
</pre> |
<pre>foo</pre>⌞
<pre>⌞
foo⌞
</pre>⌞
<pre>⌞
⌞
foo⌞
</pre>⌞
<pre>⌞
⌞
⌞
foo⌞
</pre>⌞
|
<pre>foo</pre><pre>⌞
foo⌞
</pre><pre>⌞
⌞
foo⌞
</pre><pre>⌞
⌞
⌞
foo⌞
</pre> |
113 |
tidy |
HTML-pre: 2: indented text |
<pre>⌞
foo⌞
</pre> |
<pre>⌞
foo⌞
</pre>⌞
|
<pre>⌞
foo⌞
</pre> |
114 |
tidy |
HTML-pre: 3: other wikitext |
<pre>⌞
* foo⌞
# bar⌞
= no-h =⌞
'' no-italic ''⌞
[[ NoLink ]]⌞
</pre> |
<pre>⌞
* foo⌞
# bar⌞
= no-h =⌞
'' no-italic ''⌞
[[ NoLink ]]⌞
</pre>⌞
|
<pre>⌞
* foo⌞
# bar⌞
= no-h =⌞
'' no-italic ''⌞
[[ NoLink ]]⌞
</pre> |
115 |
tidy |
Simple definition |
; name : Definition |
<dl><dt> name </dt><dd> Definition⌞
</dd></dl>⌞
|
<dl><dt> name </dt><dd> Definition⌞
</dd></dl>⌞
|
116 |
pass |
Definition list for indentation only |
: Indented text |
<dl><dd> Indented text⌞
</dd></dl>⌞
|
<dl><dd> Indented text⌞
</dd></dl>⌞
|
117 |
pass |
Definition list with no space |
;name:Definition |
<dl><dt>name</dt><dd>Definition⌞
</dd></dl>⌞
|
<dl><dt>name</dt><dd>Definition⌞
</dd></dl>⌞
|
118 |
tidy |
Definition list with URL link |
; http://example.com/ : definition |
<dl><dt> <a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a> </dt><dd> definition⌞
</dd></dl>⌞
|
<dl><dt> <a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a> </dt><dd> definition⌞
</dd></dl>⌞
|
119 |
pass |
Definition list with bracketed URL link |
;[http://www.example.com/ Example]:Something about it |
<dl><dt><a rel="nofollow" class="external text" href="http://www.example.com/">Example</a></dt><dd>Something about it⌞
</dd></dl>⌞
|
<dl><dt><a rel="nofollow" class="external text" href="http://www.example.com/">Example</a></dt><dd>Something about it⌞
</dd></dl>⌞
|
120 |
fail |
Definition list with wikilink containing colon |
; [[Help:FAQ]]: The least-read page on Wikipedia |
<dl><dt> <a href="/index.php?title=Help:FAQ&action=edit&redlink=1" class="new" title="Help:FAQ (page does not exist)">Help:FAQ</a></dt><dd> The least-read page on Wikipedia⌞
</dd></dl>⌞
|
<dl><dt> <a href="/wiki/Help:FAQ" title="Help:FAQ">Help:FAQ</a></dt><dd> The least-read page on Wikipedia⌞
</dd></dl>⌞
|
121 |
pass |
Definition list with news link containing colon |
; news:alt.wikipedia.rox: This isn't even a real newsgroup! |
<dl><dt> <a rel="nofollow" class="external free" href="news:alt.wikipedia.rox">news:alt.wikipedia.rox</a></dt><dd> This isn't even a real newsgroup!⌞
</dd></dl>⌞
|
<dl><dt> <a rel="nofollow" class="external free" href="news:alt.wikipedia.rox">news:alt.wikipedia.rox</a></dt><dd> This isn't even a real newsgroup!⌞
</dd></dl>⌞
|
122 |
pass |
Malformed definition list with colon |
; news:alt.wikipedia.rox -- don't crash or enter an infinite loop |
<dl><dt> <a rel="nofollow" class="external free" href="news:alt.wikipedia.rox">news:alt.wikipedia.rox</a> -- don't crash or enter an infinite loop⌞
</dt></dl>⌞
|
<dl><dt> <a rel="nofollow" class="external free" href="news:alt.wikipedia.rox">news:alt.wikipedia.rox</a> -- don't crash or enter an infinite loop⌞
</dt></dl>⌞
|
123 |
tidy |
Definition lists: colon in external link text |
; [http://www.wikipedia2.org/ Wikipedia : The Next Generation]: OK, I made that up |
<dl><dt> <a rel="nofollow" class="external text" href="http://www.wikipedia2.org/">Wikipedia : The Next Generation</a></dt><dd> OK, I made that up⌞
</dd></dl>⌞
|
<dl><dt> <a rel="nofollow" class="external text" href="http://www.wikipedia2.org/">Wikipedia : The Next Generation</a></dt><dd> OK, I made that up⌞
</dd></dl>⌞
|
124 |
pass |
Definition lists: colon in HTML attribute |
;<b style="display: inline">bold</b> |
<dl><dt><b style="display: inline">bold</b>⌞
</dt></dl>⌞
|
<dl><dt><b style="display: inline">bold</b>⌞
</dt></dl>⌞
|
125 |
tidy |
Definition lists: self-closed tag |
;one<br/>two : two-line fun |
<dl><dt>one<br />two </dt><dd> two-line fun⌞
</dd></dl>⌞
|
<dl><dt>one<br/>two </dt><dd> two-line fun⌞
</dd></dl>⌞
|
126 |
tidy |
Bug 11748: Literal closing tags |
<dl>⌞
<dt>test 1</dt>⌞
<dd>test test test test test</dd>⌞
<dt>test 2</dt>⌞
<dd>test test test test test</dd>⌞
</dl> |
<dl>⌞
<dt>test 1</dt>⌞
<dd>test test test test test</dd>⌞
<dt>test 2</dt>⌞
<dd>test test test test test</dd>⌞
</dl>⌞
|
<dl><dt>test 1</dt><dd>test test test test test</dd><dt>test 2</dt><dd>test test test test test</dd></dl> |
127 |
tidy |
Definition and unordered list using wiki syntax nested in unordered list using html tags. |
<ul><li>⌞
; term : description⌞
* unordered⌞
</li>⌞
</ul> |
<ul><li>⌞
<dl><dt> term </dt><dd> description⌞
</dd></dl>⌞
<ul><li> unordered⌞
</li></ul>⌞
</li>⌞
</ul>⌞
|
<ul><li><dl><dt> term </dt><dd> description⌞
</dd></dl>⌞
<ul><li> unordered⌞
</li></ul>⌞
</li></ul> |
128 |
pass |
Definition list with empty definition and following paragraph |
; term:⌞
Paragraph text |
<dl><dt> term</dt><dd>⌞
</dd></dl>⌞
<p>Paragraph text⌞
</p> |
<dl><dt> term</dt><dd>⌞
</dd></dl>⌞
<p>Paragraph text⌞
</p> |
129 |
tidy |
Nested definition lists using html syntax |
<dl><dd>⌞
<dl>⌞
<dd>Foo</dd>⌞
</dl>⌞
</dd></dl> |
<dl><dd>⌞
<dl>⌞
<dd>Foo</dd>⌞
</dl>⌞
</dd></dl>⌞
|
<dl><dd><dl><dd>Foo</dd></dl></dd></dl> |
130 |
pass |
Definition Lists: No nesting: Multiple dd's |
;x⌞
:a⌞
:b |
<dl><dt>x⌞
</dt><dd>a⌞
</dd><dd>b⌞
</dd></dl>⌞
|
<dl><dt>x⌞
</dt><dd>a⌞
</dd><dd>b⌞
</dd></dl>⌞
|
131 |
pass |
Definition Lists: Indentation: Regular |
:i1⌞
::i2⌞
:::i3 |
<dl><dd>i1⌞
<dl><dd>i2⌞
<dl><dd>i3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
<dl><dd>i1⌞
<dl><dd>i2⌞
<dl><dd>i3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
132 |
pass |
Definition Lists: Indentation: Missing 1st level |
::i2⌞
:::i3 |
<dl><dd><dl><dd>i2⌞
<dl><dd>i3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
<dl><dd><dl><dd>i2⌞
<dl><dd>i3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
133 |
pass |
Definition Lists: Indentation: Multi-level indent |
:::i3 |
<dl><dd><dl><dd><dl><dd>i3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
<dl><dd><dl><dd><dl><dd>i3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
134 |
tidy |
Definition Lists: Hacky use to indent tables |
::{|⌞
|foo⌞
|bar⌞
|}⌞
this text⌞
should be left alone |
<dl><dd><dl><dd><table>⌞
<tr>⌞
<td>foo⌞
</td>⌞
<td>bar⌞
</td></tr></table></dd></dl></dd></dl>⌞
<p>this text⌞
should be left alone⌞
</p> |
<dl><dd><dl><dd><table><tr><td>foo</td><td>bar</td></tr></table></dd></dl></dd></dl><p>this text⌞
should be left alone⌞
</p> |
135 |
fail |
Table / list interaction: indented table with lists in table contents |
:{|⌞
|-⌞
| a⌞
* b⌞
|-⌞
| c⌞
* d⌞
|} |
<dl><dd><table>⌞
⌞
<tr>⌞
<td> a⌞
<ul><li> b⌞
</li></ul>⌞
</td></tr>⌞
<tr>⌞
<td> c⌞
<ul><li> d⌞
</li></ul>⌞
</td></tr></table></dd></dl>⌞
|
<dl><dd><table><tr><td><p>a⌞
</p><ul><li> b⌞
</li></ul>⌞
</td></tr><tr><td><p>c⌞
</p><ul><li> d⌞
</li></ul>⌞
</td></tr></table></dd></dl> |
136 |
tidy |
Table / list interaction: lists nested in tables nested in indented lists |
:{|⌞
|⌞
:a⌞
:b⌞
|⌞
*c⌞
*d⌞
|}⌞
⌞
*e⌞
*f |
<dl><dd><table>⌞
<tr>⌞
<td>⌞
<dl><dd>a⌞
</dd><dd>b⌞
</dd></dl>⌞
</td>⌞
<td>⌞
<ul><li>c⌞
</li><li>d⌞
</li></ul>⌞
</td></tr></table></dd></dl>⌞
<ul><li>e⌞
</li><li>f⌞
</li></ul>⌞
|
<dl><dd><table><tr><td><dl><dd>a⌞
</dd><dd>b⌞
</dd></dl>⌞
</td><td><ul><li>c⌞
</li><li>d⌞
</li></ul>⌞
</td></tr></table></dd></dl><ul><li>e⌞
</li><li>f⌞
</li></ul>⌞
|
137 |
tidy |
Definition Lists: Nesting: Multi-level (Parsoid only)
|
;t1 :d1⌞
;;t2 ::d2⌞
;;;t3 :::d3 |
<dl>⌞
<dt>t1 </dt>⌞
<dd>d1</dd>⌞
<dt>⌞
<dl>⌞
<dt>t2 </dt>⌞
<dd>:d2</dd>⌞
<dt>⌞
<dl>⌞
<dt>t3 </dt>⌞
<dd>::d3</dd>⌞
</dl>⌞
</dt>⌞
</dl>⌞
</dt>⌞
</dl>⌞
⌞
|
<dl><dt>t1 </dt><dd>d1⌞
</dd><dt><dl><dt>t2 </dt><dd>:d2⌞
</dd><dt><dl><dt>t3 </dt><dd>::d3⌞
</dd></dl>⌞
</dt></dl>⌞
</dt></dl>⌞
|
138 |
tidy |
Definition Lists: Nesting: Test 2 (Parsoid only)
|
;t1⌞
::d2 |
<dl>⌞
<dt>t1</dt>⌞
<dd>⌞
<dl>⌞
<dd>d2</dd>⌞
</dl>⌞
</dd>⌞
</dl>⌞
|
<dl><dt>t1⌞
<dl><dd>d2⌞
</dd></dl>⌞
</dt></dl>⌞
|
139 |
tidy |
Definition Lists: Nesting: Test 3 (Parsoid only)
|
:;t1⌞
::::d2 |
<dl>⌞
<dd>⌞
<dl>⌞
<dt>t1</dt>⌞
<dd>⌞
<dl>⌞
<dd>⌞
<dl>⌞
<dd>d2</dd>⌞
</dl>⌞
</dd>⌞
</dl>⌞
</dd>⌞
</dl>⌞
</dd>⌞
</dl>⌞
|
<dl><dd><dl><dt>t1⌞
<dl><dd><dl><dd>d2⌞
</dd></dl>⌞
</dd></dl>⌞
</dt></dl>⌞
</dd></dl>⌞
|
140 |
pass |
Definition Lists: Nesting: Test 4 |
::;t3⌞
:::d3 |
<dl><dd><dl><dd><dl><dt>t3⌞
</dt><dd>d3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
<dl><dd><dl><dd><dl><dt>t3⌞
</dt><dd>d3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
|
141 |
fail |
Definition Lists: Mixed Lists: Test 1 (php)
|
:;* foo⌞
::* bar⌞
:; baz |
<dl><dd><dl><dt><ul><li> foo⌞
</li><li> bar⌞
</li></ul>⌞
</dt></dl>⌞
<dl><dt> baz⌞
</dt></dl>⌞
</dd></dl>⌞
|
<dl><dd><dl><dt><ul><li> foo⌞
</li><li> bar⌞
</li></ul>⌞
</dt><dt> baz⌞
</dt></dl>⌞
</dd></dl>⌞
|
142 |
fail |
Definition Lists: Mixed Lists: Test 1 (parsoid)
|
:;* foo⌞
::* bar⌞
:; baz |
<dl><dd><dl><dt><ul><li> foo⌞
</li></ul></dt><dd><ul><li> bar⌞
</li></ul></dd><dt> baz</dt></dl></dd></dl> |
<dl><dd><dl><dt><ul><li> foo⌞
</li><li> bar⌞
</li></ul>⌞
</dt><dt> baz⌞
</dt></dl>⌞
</dd></dl>⌞
|
143 |
pass |
Definition Lists: Mixed Lists: Test 2 |
*: d1⌞
*: d2 |
<ul><li><dl><dd> d1⌞
</dd><dd> d2⌞
</dd></dl>⌞
</li></ul>⌞
|
<ul><li><dl><dd> d1⌞
</dd><dd> d2⌞
</dd></dl>⌞
</li></ul>⌞
|
144 |
pass |
Definition Lists: Mixed Lists: Test 3 |
*::: d1⌞
*::: d2 |
<ul><li><dl><dd><dl><dd><dl><dd> d1⌞
</dd><dd> d2⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
|
<ul><li><dl><dd><dl><dd><dl><dd> d1⌞
</dd><dd> d2⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
|
145 |
tidy |
Definition Lists: Mixed Lists: Test 4 |
*;d1 :d2⌞
*;d3 :d4 |
<ul><li><dl><dt>d1 </dt><dd>d2⌞
</dd><dt>d3 </dt><dd>d4⌞
</dd></dl>⌞
</li></ul>⌞
|
<ul><li><dl><dt>d1 </dt><dd>d2⌞
</dd><dt>d3 </dt><dd>d4⌞
</dd></dl>⌞
</li></ul>⌞
|
146 |
pass |
Definition Lists: Mixed Lists: Test 5 |
*:d1⌞
*:: d2 |
<ul><li><dl><dd>d1⌞
<dl><dd> d2⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
|
<ul><li><dl><dd>d1⌞
<dl><dd> d2⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
|
147 |
pass |
Definition Lists: Mixed Lists: Test 6 |
#*:d1⌞
#*::: d3 |
<ol><li><ul><li><dl><dd>d1⌞
<dl><dd><dl><dd> d3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
</li></ol>⌞
|
<ol><li><ul><li><dl><dd>d1⌞
<dl><dd><dl><dd> d3⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
</li></ol>⌞
|
148 |
pass |
Definition Lists: Mixed Lists: Test 7 |
:* d1⌞
:* d2 |
<dl><dd><ul><li> d1⌞
</li><li> d2⌞
</li></ul>⌞
</dd></dl>⌞
|
<dl><dd><ul><li> d1⌞
</li><li> d2⌞
</li></ul>⌞
</dd></dl>⌞
|
149 |
pass |
Definition Lists: Mixed Lists: Test 8 |
:* d1⌞
::* d2 |
<dl><dd><ul><li> d1⌞
</li></ul>⌞
<dl><dd><ul><li> d2⌞
</li></ul>⌞
</dd></dl>⌞
</dd></dl>⌞
|
<dl><dd><ul><li> d1⌞
</li></ul>⌞
<dl><dd><ul><li> d2⌞
</li></ul>⌞
</dd></dl>⌞
</dd></dl>⌞
|
150 |
tidy |
Definition Lists: Mixed Lists: Test 9 |
*;foo :bar |
<ul><li><dl><dt>foo </dt><dd>bar⌞
</dd></dl>⌞
</li></ul>⌞
|
<ul><li><dl><dt>foo </dt><dd>bar⌞
</dd></dl>⌞
</li></ul>⌞
|
151 |
tidy |
Definition Lists: Mixed Lists: Test 10 |
*#;foo :bar |
<ul><li><ol><li><dl><dt>foo </dt><dd>bar⌞
</dd></dl>⌞
</li></ol>⌞
</li></ul>⌞
|
<ul><li><ol><li><dl><dt>foo </dt><dd>bar⌞
</dd></dl>⌞
</li></ol>⌞
</li></ul>⌞
|
152 |
fail |
Definition Lists: Mixed Lists: Test 11 (php)
|
*#*#;*;;foo :bar⌞
*#*#;boo :baz |
<ul><li><ol><li><ul><li><ol><li><dl><dt>foo </dt><dd><ul><li><dl><dt><dl><dt>bar⌞
</dt></dl>⌞
</dd></dl>⌞
</li></ul>⌞
</dd></dl>⌞
<dl><dt>boo </dt><dd>baz⌞
</dd></dl>⌞
</li></ol>⌞
</li></ul>⌞
</li></ol>⌞
</li></ul>⌞
|
<ul><li><ol><li><ul><li><ol><li><dl><dt><ul><li><dl><dt><dl><dt>foo </dt><dd>bar⌞
</dd></dl>⌞
</dt></dl>⌞
</li></ul>⌞
</dt><dt>boo </dt><dd>baz⌞
</dd></dl>⌞
</li></ol>⌞
</li></ul>⌞
</li></ol>⌞
</li></ul>⌞
|
153 |
fail |
Definition Lists: Mixed Lists: Test 11 (parsoid)
|
*#*#;*;;foo :bar⌞
*#*#;boo :baz |
<ul>⌞
<li>⌞
<ol>⌞
<li>⌞
<ul>⌞
<li>⌞
<ol>⌞
<li>⌞
<dl>⌞
<dt>⌞
<ul>⌞
<li>⌞
<dl>⌞
<dt>⌞
<dl>⌞
<dt>foo<span typeof="mw:Placeholder" data-parsoid='{"src":" "}'> </span></dt>⌞
<dd data-parsoid='{"stx":"row"}'>bar</dd></dl></dt></dl></li></ul></dt>⌞
<dt>boo<span typeof="mw:Placeholder" data-parsoid='{"src":" "}'> </span></dt>⌞
<dd data-parsoid='{"stx":"row"}'>baz</dd></dl></li></ol></li></ul></li></ol></li></ul> |
<ul><li><ol><li><ul><li><ol><li><dl><dt><ul><li><dl><dt><dl><dt>foo </dt><dd>bar⌞
</dd></dl>⌞
</dt></dl>⌞
</li></ul>⌞
</dt><dt>boo </dt><dd>baz⌞
</dd></dl>⌞
</li></ol>⌞
</li></ul>⌞
</li></ol>⌞
</li></ul>⌞
|
154 |
fail |
Definition Lists: Weird Ones: Test 1 (php)
|
*#;*::;; foo : bar (who uses this?) |
<ul><li><ol><li><dl><dt> foo </dt><dd><ul><li><dl><dd><dl><dd><dl><dt><dl><dt> bar (who uses this?)⌞
</dt></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
</dd></dl>⌞
</li></ol>⌞
</li></ul>⌞
|
<ul><li><ol><li><dl><dt><ul><li><dl><dd><dl><dd><dl><dt><dl><dt> foo </dt><dd> bar (who uses this?)⌞
</dd></dl>⌞
</dt></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
</dt></dl>⌞
</li></ol>⌞
</li></ul>⌞
|
155 |
fail |
Definition Lists: Weird Ones: Test 1 (parsoid)
|
*#;*::;; foo : bar (who uses this?) |
<ul>⌞
<li>⌞
<ol>⌞
<li>⌞
<dl>⌞
<dt>⌞
<ul>⌞
<li>⌞
<dl>⌞
<dd>⌞
<dl>⌞
<dd>⌞
<dl>⌞
<dt>⌞
<dl>⌞
<dt> foo<span typeof="mw:Placeholder" data-parsoid='{"src":" "}'> </span></dt>⌞
<dd data-parsoid='{"stx":"row"}'> bar (who uses this?)</dd></dl></dt></dl></dd></dl></dd></dl></li></ul></dt></dl></li></ol></li></ul> |
<ul><li><ol><li><dl><dt><ul><li><dl><dd><dl><dd><dl><dt><dl><dt> foo </dt><dd> bar (who uses this?)⌞
</dd></dl>⌞
</dt></dl>⌞
</dd></dl>⌞
</dd></dl>⌞
</li></ul>⌞
</dt></dl>⌞
</li></ol>⌞
</li></ul>⌞
|
156 |
pass |
External links: non-bracketed |
Non-bracketed: http://example.com |
<p>Non-bracketed: <a rel="nofollow" class="external free" href="http://example.com">http://example.com</a>⌞
</p> |
<p>Non-bracketed: <a rel="nofollow" class="external free" href="http://example.com">http://example.com</a>⌞
</p> |
157 |
fail |
External links: numbered |
Numbered: [http://example.com]⌞
Numbered: [http://example.net]⌞
Numbered: [http://example.com] |
<p>Numbered: <a rel="nofollow" class="external autonumber" href="http://example.com">[1]</a>⌞
Numbered: <a rel="nofollow" class="external autonumber" href="http://example.net">[2]</a>⌞
Numbered: <a rel="nofollow" class="external autonumber" href="http://example.com">[3]</a>⌞
</p> |
<p>Numbered: <a href="http://example.com">http://example.com</a>⌞
Numbered: <a href="http://example.net">http://example.net</a>⌞
Numbered: <a href="http://example.com">http://example.com</a>⌞
</p> |
158 |
pass |
External links: specified text |
Specified text: [http://example.com link] |
<p>Specified text: <a rel="nofollow" class="external text" href="http://example.com">link</a>⌞
</p> |
<p>Specified text: <a rel="nofollow" class="external text" href="http://example.com">link</a>⌞
</p> |
159 |
pass |
External links: trail |
Linktrails should not work for external links: [http://example.com link]s |
<p>Linktrails should not work for external links: <a rel="nofollow" class="external text" href="http://example.com">link</a>s⌞
</p> |
<p>Linktrails should not work for external links: <a rel="nofollow" class="external text" href="http://example.com">link</a>s⌞
</p> |
160 |
pass |
External links: dollar sign in URL |
http://example.com/1$2345 |
<p><a rel="nofollow" class="external free" href="http://example.com/1$2345">http://example.com/1$2345</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com/1$2345">http://example.com/1$2345</a>⌞
</p> |
161 |
fail |
External links: dollar sign in URL (named) |
[http://example.com/1$2345] |
<p><a rel="nofollow" class="external autonumber" href="http://example.com/1$2345">[1]</a>⌞
</p> |
<p><a href="http://example.com/1$2345">http://example.com/1$2345</a>⌞
</p> |
162 |
pass |
External links: open square bracket forbidden in URL (bug 4377) |
http://example.com/1[2345 |
<p><a rel="nofollow" class="external free" href="http://example.com/1">http://example.com/1</a>[2345⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com/1">http://example.com/1</a>[2345⌞
</p> |
163 |
pass |
External links: open square bracket forbidden in URL (named) (bug 4377) |
[http://example.com/1[2345] |
<p><a rel="nofollow" class="external text" href="http://example.com/1">[2345</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://example.com/1">[2345</a>⌞
</p> |
164 |
pass |
External links: nowiki in URL link text (bug 6230) |
[http://example.com/ <nowiki>''example site''</nowiki>] |
<p><a rel="nofollow" class="external text" href="http://example.com/">''example site''</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://example.com/">''example site''</a>⌞
</p> |
165 |
pass |
External links: newline forbidden in text (bug 6230 regression check) |
[http://example.com/ first⌞
second] |
<p>[<a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a> first⌞
second]⌞
</p> |
<p>[<a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a> first⌞
second]⌞
</p> |
166 |
pass |
External links: Pipe char between url and text |
[http://example.com | link] |
<p><a rel="nofollow" class="external text" href="http://example.com">| link</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://example.com">| link</a>⌞
</p> |
167 |
pass |
External links: protocol-relative URL in brackets |
[//example.com/ Test] |
<p><a rel="nofollow" class="external text" href="//example.com/">Test</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="//example.com/">Test</a>⌞
</p> |
168 |
fail |
External links: protocol-relative URL in brackets without text |
[//example.com] |
<p><a rel="nofollow" class="external autonumber" href="//example.com">[1]</a>⌞
</p> |
<p><a href="//example.com">//example.com</a>⌞
</p> |
169 |
pass |
External links: protocol-relative URL in free text is left alone |
//example.com/Foo |
<p>//example.com/Foo⌞
</p> |
<p>//example.com/Foo⌞
</p> |
170 |
pass |
External links: protocol-relative URL in the middle of a word is left alone (bug 30269) |
foo//example.com/Foo |
<p>foo//example.com/Foo⌞
</p> |
<p>foo//example.com/Foo⌞
</p> |
171 |
fail |
External image |
External image: http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png |
<p>External image: <img src="http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png" alt="Ncwikicol.png" />⌞
</p> |
<p>External image: <a rel="nofollow" class="external free" href="http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png">http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png</a>⌞
</p> |
172 |
fail |
External image from https |
External image from https: https://meta.wikimedia.org/upload/f/f1/Ncwikicol.png |
<p>External image from https: <img src="https://meta.wikimedia.org/upload/f/f1/Ncwikicol.png" alt="Ncwikicol.png" />⌞
</p> |
<p>External image from https: <a rel="nofollow" class="external free" href="https://meta.wikimedia.org/upload/f/f1/Ncwikicol.png">https://meta.wikimedia.org/upload/f/f1/Ncwikicol.png</a>⌞
</p> |
173 |
pass |
External image (when not allowed)
|
External image: http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png |
<p>External image: <a rel="nofollow" class="external free" href="http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png">http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png</a>⌞
</p> |
<p>External image: <a rel="nofollow" class="external free" href="http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png">http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png</a>⌞
</p> |
174 |
pass |
Link to non-http image, no img tag |
Link to non-http image, no img tag: ftp://example.com/test.jpg |
<p>Link to non-http image, no img tag: <a rel="nofollow" class="external free" href="ftp://example.com/test.jpg">ftp://example.com/test.jpg</a>⌞
</p> |
<p>Link to non-http image, no img tag: <a rel="nofollow" class="external free" href="ftp://example.com/test.jpg">ftp://example.com/test.jpg</a>⌞
</p> |
175 |
pass |
External links: terminating separator |
Terminating separator: http://example.com/thing, |
<p>Terminating separator: <a rel="nofollow" class="external free" href="http://example.com/thing">http://example.com/thing</a>,⌞
</p> |
<p>Terminating separator: <a rel="nofollow" class="external free" href="http://example.com/thing">http://example.com/thing</a>,⌞
</p> |
176 |
pass |
External links: intervening separator |
Intervening separator: http://example.com/1,2,3 |
<p>Intervening separator: <a rel="nofollow" class="external free" href="http://example.com/1,2,3">http://example.com/1,2,3</a>⌞
</p> |
<p>Intervening separator: <a rel="nofollow" class="external free" href="http://example.com/1,2,3">http://example.com/1,2,3</a>⌞
</p> |
177 |
pass |
External links: old bug with URL in query |
Old bug with URL in query: [http://example.com/thing?url=http://example.com link] |
<p>Old bug with URL in query: <a rel="nofollow" class="external text" href="http://example.com/thing?url=http://example.com">link</a>⌞
</p> |
<p>Old bug with URL in query: <a rel="nofollow" class="external text" href="http://example.com/thing?url=http://example.com">link</a>⌞
</p> |
178 |
pass |
External links: old URL-in-URL bug, mixed protocols |
And again with mixed protocols: [ftp://example.com?url=http://example.com link] |
<p>And again with mixed protocols: <a rel="nofollow" class="external text" href="ftp://example.com?url=http://example.com">link</a>⌞
</p> |
<p>And again with mixed protocols: <a rel="nofollow" class="external text" href="ftp://example.com?url=http://example.com">link</a>⌞
</p> |
179 |
fail |
External links: URL in text |
URL in text: [http://example.com http://example.com] |
<p>URL in text: <a rel="nofollow" class="external free" href="http://example.com">http://example.com</a>⌞
</p> |
<p>URL in text: <a rel="nofollow" class="external text" href="http://example.com"><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a></a>⌞
</p> |
180 |
fail |
External links: Clickable images |
ja-style clickable images: [http://example.com http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png] |
<p>ja-style clickable images: <a rel="nofollow" class="external text" href="http://example.com"><img src="http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png" alt="Ncwikicol.png" /></a>⌞
</p> |
<p>ja-style clickable images: <a rel="nofollow" class="external text" href="http://example.com"><a rel="nofollow" class="external free" href="http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png">http://meta.wikimedia.org/upload/f/f1/Ncwikicol.png</a></a>⌞
</p> |
181 |
pass |
External links: raw ampersand |
Old & use: http://x&y |
<p>Old & use: <a rel="nofollow" class="external free" href="http://x&y">http://x&y</a>⌞
</p> |
<p>Old & use: <a rel="nofollow" class="external free" href="http://x&y">http://x&y</a>⌞
</p> |
182 |
pass |
External links: encoded ampersand |
Old & use: http://x&y |
<p>Old & use: <a rel="nofollow" class="external free" href="http://x&y">http://x&y</a>⌞
</p> |
<p>Old & use: <a rel="nofollow" class="external free" href="http://x&y">http://x&y</a>⌞
</p> |
183 |
pass |
External links: encoded equals (bug 6102) |
http://example.com/?foo=bar |
<p><a rel="nofollow" class="external free" href="http://example.com/?foo=bar">http://example.com/?foo=bar</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com/?foo=bar">http://example.com/?foo=bar</a>⌞
</p> |
184 |
fail |
External links: [raw ampersand] |
Old & use: [http://x&y] |
<p>Old & use: <a rel="nofollow" class="external autonumber" href="http://x&y">[1]</a>⌞
</p> |
<p>Old & use: <a href="http://x&y">http://x&y</a>⌞
</p> |
185 |
fail |
External links: [encoded ampersand] |
Old & use: [http://x&y] |
<p>Old & use: <a rel="nofollow" class="external autonumber" href="http://x&y">[1]</a>⌞
</p> |
<p>Old & use: <a href="http://x&y">http://x&y</a>⌞
</p> |
186 |
fail |
External links: [encoded equals] (bug 6102) |
[http://example.com/?foo=bar] |
<p><a rel="nofollow" class="external autonumber" href="http://example.com/?foo=bar">[1]</a>⌞
</p> |
<p><a href="http://example.com/?foo=bar">http://example.com/?foo=bar</a>⌞
</p> |
187 |
fail |
External links: [IDN ignored character reference in hostname; strip it right off] |
[http://e‌xample.com/] |
<p><a rel="nofollow" class="external autonumber" href="http://example.com/">[1]</a>⌞
</p> |
<p><a href="http://e‌xample.com/">http://e‌xample.com/</a>⌞
</p> |
188 |
fail |
External links: IDN ignored character reference in hostname; strip it right off |
http://e‌xample.com/ |
<p><a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://e‌xample.com/">http://e‌xample.com/</a>⌞
</p> |
189 |
pass |
External links: www.jpeg.org (bug 554) |
http://www.jpeg.org |
<p><a rel="nofollow" class="external free" href="http://www.jpeg.org">http://www.jpeg.org</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.jpeg.org">http://www.jpeg.org</a>⌞
</p> |
190 |
fail |
External links: URL within URL (original bug 2) |
[http://www.unausa.org/newindex.asp?place=http://www.unausa.org/programs/mun.asp] |
<p><a rel="nofollow" class="external autonumber" href="http://www.unausa.org/newindex.asp?place=http://www.unausa.org/programs/mun.asp">[1]</a>⌞
</p> |
<p><a href="http://www.unausa.org/newindex.asp?place=http://www.unausa.org/programs/mun.asp">http://www.unausa.org/newindex.asp?place=http://www.unausa.org/programs/mun.asp</a>⌞
</p> |
191 |
fail |
BUG 361: URL inside bracketed URL |
[http://www.example.com/foo http://www.example.com/bar] |
<p><a rel="nofollow" class="external text" href="http://www.example.com/foo">http://www.example.com/bar</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com/foo"><a rel="nofollow" class="external free" href="http://www.example.com/bar">http://www.example.com/bar</a></a>⌞
</p> |
192 |
pass |
BUG 361: URL within URL, not bracketed |
http://www.example.com/foo?=http://www.example.com/bar |
<p><a rel="nofollow" class="external free" href="http://www.example.com/foo?=http://www.example.com/bar">http://www.example.com/foo?=http://www.example.com/bar</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/foo?=http://www.example.com/bar">http://www.example.com/foo?=http://www.example.com/bar</a>⌞
</p> |
193 |
fail |
BUG 289: ">"-token in URL-tail |
http://www.example.com/<hello> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/">http://www.example.com/</a><hello>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/<hello>">http://www.example.com/<hello></a>⌞
</p> |
194 |
fail |
BUG 289: literal ">"-token in URL-tail |
http://www.example.com/<b>html</b> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/">http://www.example.com/</a><b>html</b>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/<b>html</b>">http://www.example.com/<b>html</b></a>⌞
</p> |
195 |
fail |
BUG 289: ">"-token in bracketed URL |
[http://www.example.com/<hello> stuff] |
<p><a rel="nofollow" class="external text" href="http://www.example.com/"><hello> stuff</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com/<hello>">stuff</a>⌞
</p> |
196 |
fail |
BUG 289: literal ">"-token in bracketed URL |
[http://www.example.com/<b>html</b> stuff] |
<p><a rel="nofollow" class="external text" href="http://www.example.com/"><b>html</b> stuff</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com/<b>html</b>">stuff</a>⌞
</p> |
197 |
fail |
BUG 289: literal double quote at end of URL |
http://www.example.com/"hello" |
<p><a rel="nofollow" class="external free" href="http://www.example.com/">http://www.example.com/</a>"hello"⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/"hello"">http://www.example.com/"hello"</a>⌞
</p> |
198 |
fail |
BUG 289: literal double quote in bracketed URL |
[http://www.example.com/"hello" stuff] |
<p><a rel="nofollow" class="external text" href="http://www.example.com/">"hello" stuff</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com/"hello"">stuff</a>⌞
</p> |
199 |
pass |
External links: multiple legal whitespace is fine, Magnus. Don't break it please. (bug 5081) |
[http://www.example.com test] |
<p><a rel="nofollow" class="external text" href="http://www.example.com">test</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com">test</a>⌞
</p> |
200 |
pass |
External links: link text with spaces |
[http://www.example.com a b c]⌞
[http://www.example.com ''a'' ''b''] |
<p><a rel="nofollow" class="external text" href="http://www.example.com">a b c</a>⌞
<a rel="nofollow" class="external text" href="http://www.example.com"><i>a</i> <i>b</i></a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com">a b c</a>⌞
<a rel="nofollow" class="external text" href="http://www.example.com"><i>a</i> <i>b</i></a>⌞
</p> |
201 |
fail |
External links: wiki links within external link (Bug 3695) |
[http://example.com [[wikilink]] embedded in ext link] |
<p><a rel="nofollow" class="external text" href="http://example.com"></a><a href="/index.php?title=Wikilink&action=edit&redlink=1" class="new" title="Wikilink (page does not exist)">wikilink</a><a rel="nofollow" class="external text" href="http://example.com"> embedded in ext link</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://example.com"><a href="/wiki/wikilink" title="wikilink">wikilink</a> embedded in ext link</a>⌞
</p> |
202 |
pass |
BUG 787: Links with one slash after the url protocol are invalid |
http:/example.com⌞
⌞
[http:/example.com title] |
<p>http:/example.com⌞
</p><p>[http:/example.com title]⌞
</p> |
<p>http:/example.com⌞
</p><p>[http:/example.com title]⌞
</p> |
203 |
pass |
Bracketed external links with template-generated invalid target |
[{{echo|http:/example.com}} title] |
<p>[http:/example.com title]⌞
</p> |
<p>[http:/example.com title]⌞
</p> |
204 |
fail |
Bug 2702: Mismatched <i>, <b> and <a> tags are invalid |
''[http://example.com text'']⌞
[http://example.com '''text]'''⌞
''Something [http://example.com in italic'']⌞
''Something [http://example.com mixed''''', even bold]'''⌞
'''''Now [http://example.com both'''''] |
<p><a rel="nofollow" class="external text" href="http://example.com"><i>text</i></a>⌞
<a rel="nofollow" class="external text" href="http://example.com"><b>text</b></a>⌞
<i>Something </i><a rel="nofollow" class="external text" href="http://example.com"><i>in italic</i></a>⌞
<i>Something </i><a rel="nofollow" class="external text" href="http://example.com"><i>mixed</i><b>, even bold</b></a>⌞
<i><b>Now </b></i><a rel="nofollow" class="external text" href="http://example.com"><i><b>both</b></i></a>⌞
</p> |
<p><i><a rel="nofollow" class="external text" href="http://example.com">text''</a></i>⌞
<a rel="nofollow" class="external text" href="http://example.com">'''text</a><b/>⌞
<i>Something <a rel="nofollow" class="external text" href="http://example.com">in italic''</a></i>⌞
<i>Something <a rel="nofollow" class="external text" href="http://example.com">mixed''''', even bold</a><b/></i>⌞
<i><b>Now <a rel="nofollow" class="external text" href="http://example.com">both'''''</a></b></i>⌞
</p> |
205 |
pass |
Bug 4781: %26 in URL |
http://www.example.com/?title=AT%26T |
<p><a rel="nofollow" class="external free" href="http://www.example.com/?title=AT%26T">http://www.example.com/?title=AT%26T</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/?title=AT%26T">http://www.example.com/?title=AT%26T</a>⌞
</p> |
206 |
pass |
Bug 4781, 5267: %25 in URL |
http://www.example.com/?title=100%25_Bran |
<p><a rel="nofollow" class="external free" href="http://www.example.com/?title=100%25_Bran">http://www.example.com/?title=100%25_Bran</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/?title=100%25_Bran">http://www.example.com/?title=100%25_Bran</a>⌞
</p> |
207 |
pass |
Bug 4781, 5267: %28, %29 in URL |
http://www.example.com/?title=Ben-Hur_%281959_film%29 |
<p><a rel="nofollow" class="external free" href="http://www.example.com/?title=Ben-Hur_%281959_film%29">http://www.example.com/?title=Ben-Hur_%281959_film%29</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.com/?title=Ben-Hur_%281959_film%29">http://www.example.com/?title=Ben-Hur_%281959_film%29</a>⌞
</p> |
208 |
fail |
Bug 4781: %26 in autonumber URL |
[http://www.example.com/?title=AT%26T] |
<p><a rel="nofollow" class="external autonumber" href="http://www.example.com/?title=AT%26T">[1]</a>⌞
</p> |
<p><a href="http://www.example.com/?title=AT%26T">http://www.example.com/?title=AT%26T</a>⌞
</p> |
209 |
fail |
Bug 4781, 5267: %26 in autonumber URL |
[http://www.example.com/?title=100%25_Bran] |
<p><a rel="nofollow" class="external autonumber" href="http://www.example.com/?title=100%25_Bran">[1]</a>⌞
</p> |
<p><a href="http://www.example.com/?title=100%25_Bran">http://www.example.com/?title=100%25_Bran</a>⌞
</p> |
210 |
fail |
Bug 4781, 5267: %28, %29 in autonumber URL |
[http://www.example.com/?title=Ben-Hur_%281959_film%29] |
<p><a rel="nofollow" class="external autonumber" href="http://www.example.com/?title=Ben-Hur_%281959_film%29">[1]</a>⌞
</p> |
<p><a href="http://www.example.com/?title=Ben-Hur_%281959_film%29">http://www.example.com/?title=Ben-Hur_%281959_film%29</a>⌞
</p> |
211 |
pass |
Bug 4781: %26 in bracketed URL |
[http://www.example.com/?title=AT%26T link] |
<p><a rel="nofollow" class="external text" href="http://www.example.com/?title=AT%26T">link</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com/?title=AT%26T">link</a>⌞
</p> |
212 |
pass |
Bug 4781, 5267: %26 in bracketed URL |
[http://www.example.com/?title=100%25_Bran link] |
<p><a rel="nofollow" class="external text" href="http://www.example.com/?title=100%25_Bran">link</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com/?title=100%25_Bran">link</a>⌞
</p> |
213 |
pass |
Bug 4781, 5267: %28, %29 in bracketed URL |
[http://www.example.com/?title=Ben-Hur_%281959_film%29 link] |
<p><a rel="nofollow" class="external text" href="http://www.example.com/?title=Ben-Hur_%281959_film%29">link</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.example.com/?title=Ben-Hur_%281959_film%29">link</a>⌞
</p> |
214 |
pass |
External link containing double-single-quotes in text '' (bug 4598 sanity check) |
Some [http://example.com/ pretty ''italics'' and stuff]! |
<p>Some <a rel="nofollow" class="external text" href="http://example.com/">pretty <i>italics</i> and stuff</a>!⌞
</p> |
<p>Some <a rel="nofollow" class="external text" href="http://example.com/">pretty <i>italics</i> and stuff</a>!⌞
</p> |
215 |
fail |
External link containing double-single-quotes in text embedded in italics (bug 4598 sanity check) |
''Some [http://example.com/ pretty ''italics'' and stuff]!'' |
<p><i>Some </i><a rel="nofollow" class="external text" href="http://example.com/"><i>pretty </i>italics<i> and stuff</i></a><i>!</i>⌞
</p> |
<p><i>Some <a rel="nofollow" class="external text" href="http://example.com/">pretty <i>italics</i> and stuff</a>!</i>⌞
</p> |
216 |
fail |
External link containing double-single-quotes with no space separating the url from text in italics |
[http://www.musee-picasso.fr/pages/page_id18528_u1l2.htm''La muerte de Casagemas'' (1901) en el sitio de [[Museo Picasso (París)|Museo Picasso]].] |
<p><a rel="nofollow" class="external text" href="http://www.musee-picasso.fr/pages/page_id18528_u1l2.htm"><i>La muerte de Casagemas</i> (1901) en el sitio de <a href="/index.php?title=Museo_Picasso_(Par%C3%ADs)&action=edit&redlink=1" class="new" title="Museo Picasso (París) (page does not exist)">Museo Picasso</a>.</a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.musee-picasso.fr/pages/page_id18528_u1l2.htm''La">muerte de Casagemas'' (1901) en el sitio de <a href="/wiki/Museo_Picasso_(París)" title="Museo Picasso (París)">Museo Picasso</a>.</a>⌞
</p> |
217 |
tidy |
External link with comments in link text |
[http://www.google.com Google <!-- comment -->] |
<p><a rel="nofollow" class="external text" href="http://www.google.com">Google </a>⌞
</p> |
<p><a rel="nofollow" class="external text" href="http://www.google.com">Google</a>⌞
</p> |
218 |
fail |
URL-encoding in URL functions (single parameter) |
{{localurl:Some page|amp=&}} |
<p>/index.php?title=Some_page&amp=&⌞
</p> |
<p><a href="/wiki/Template:Localurl:Some_page" title="Template:Localurl:Some page">Template:Localurl:Some page</a>⌞
</p> |
219 |
fail |
URL-encoding in URL functions (multiple parameters) |
{{localurl:Some page|q=?&=&}} |
<p>/index.php?title=Some_page&q=?&amp=&⌞
</p> |
<p><a href="/wiki/Template:Localurl:Some_page" title="Template:Localurl:Some page">Template:Localurl:Some page</a>⌞
</p> |
220 |
fail |
Brackets in urls |
http://example.com/index.php?foozoid%5B%5D=bar⌞
⌞
http://example.com/index.php?foozoid[]=bar |
<p><a rel="nofollow" class="external free" href="http://example.com/index.php?foozoid%5B%5D=bar">http://example.com/index.php?foozoid%5B%5D=bar</a>⌞
</p><p><a rel="nofollow" class="external free" href="http://example.com/index.php?foozoid%5B%5D=bar">http://example.com/index.php?foozoid%5B%5D=bar</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com/index.php?foozoid%5B%5D=bar">http://example.com/index.php?foozoid%5B%5D=bar</a>⌞
</p><p><a rel="nofollow" class="external free" href="http://example.com/index.php?foozoid[]=bar">http://example.com/index.php?foozoid[]=bar</a>⌞
</p> |
221 |
skip |
IPv6 urls (bug 21261)
|
http://[2404:130:0:1000::187:2]/index.php |
<p><a rel="nofollow" class="external free" href="http://[2404:130:0:1000::187:2]/index.php">http://[2404:130:0:1000::187:2]/index.php</a>⌞
</p> |
|
222 |
pass |
Non-extlinks in brackets |
[foo]⌞
[foo bar]⌞
[foo ''bar'']⌞
[fool's] errand⌞
[fool's errand]⌞
[{{echo|foo}}]⌞
[{{echo|foo}} bar]⌞
[{{echo|foo}} ''bar'']⌞
[{{echo|foo}}l's] errand⌞
[{{echo|foo}}l's errand]⌞
[url={{echo|foo}}]⌞
[url=http://example.com] |
<p>[foo]⌞
[foo bar]⌞
[foo <i>bar</i>]⌞
[fool's] errand⌞
[fool's errand]⌞
[foo]⌞
[foo bar]⌞
[foo <i>bar</i>]⌞
[fool's] errand⌞
[fool's errand]⌞
[url=foo]⌞
[url=<a rel="nofollow" class="external free" href="http://example.com">http://example.com</a>]⌞
</p> |
<p>[foo]⌞
[foo bar]⌞
[foo <i>bar</i>]⌞
[fool's] errand⌞
[fool's errand]⌞
[foo]⌞
[foo bar]⌞
[foo <i>bar</i>]⌞
[fool's] errand⌞
[fool's errand]⌞
[url=foo]⌞
[url=<a rel="nofollow" class="external free" href="http://example.com">http://example.com</a>]⌞
</p> |
223 |
fail |
Parsoid: Percent encoding in external links
|
[https://github.com/search?l=&q=ResourceLoader+%40wikimedia Search] |
<p><a rel="mw:ExtLink"⌞
href="https://github.com/search?l=&q=ResourceLoader+%40wikimedia">Search</a></p> |
<p><a rel="nofollow" class="external text" href="https://github.com/search?l=&q=ResourceLoader+%40wikimedia">Search</a>⌞
</p> |
224 |
fail |
Parsoid: use url link syntax for links where the content is equal the link
target
|
http://example.com |
<p><a rel="mw:ExtLink" href="http://example.com">http://example.com</a></p> |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a>⌞
</p> |
225 |
pass |
Quotes |
Normal text. '''Bold text.''' Normal text. ''Italic text.''⌞
⌞
Normal text. '''''Bold italic text.''''' Normal text. |
<p>Normal text. <b>Bold text.</b> Normal text. <i>Italic text.</i>⌞
</p><p>Normal text. <i><b>Bold italic text.</b></i> Normal text.⌞
</p> |
<p>Normal text. <b>Bold text.</b> Normal text. <i>Italic text.</i>⌞
</p><p>Normal text. <i><b>Bold italic text.</b></i> Normal text.⌞
</p> |
226 |
fail |
Unclosed and unmatched quotes (php)
|
'''''Bold italic text '''with bold deactivated''' in between.'''''⌞
⌞
'''''Bold italic text ''with italic deactivated'' in between.'''''⌞
⌞
'''Bold text..⌞
⌞
..spanning two paragraphs (should not work).'''⌞
⌞
'''Bold tag left open⌞
⌞
''Italic tag left open⌞
⌞
Normal text.⌞
⌞
<!-- Unmatching number of opening, closing tags: -->⌞
'''This year''''s election ''should'' beat '''last year''''s.⌞
⌞
''Tom'''s car is bigger than ''Susan'''s.⌞
⌞
Plain ''italic'''s plain |
<p><i><b>Bold italic text </b>with bold deactivated<b> in between.</b></i>⌞
</p><p><b><i>Bold italic text </i>with italic deactivated<i> in between.</i></b>⌞
</p><p><b>Bold text..</b>⌞
</p><p>..spanning two paragraphs (should not work).⌞
</p><p><b>Bold tag left open</b>⌞
</p><p><i>Italic tag left open</i>⌞
</p><p>Normal text.⌞
</p><p><b>This year'</b>s election <i>should</i> beat <b>last year'</b>s.⌞
</p><p><i>Tom<b>s car is bigger than </b></i><b>Susan</b>s.⌞
</p><p>Plain <i>italic'</i>s plain⌞
</p> |
<p><i><b>Bold italic text </b>with bold deactivated<b> in between.</b></i>⌞
</p><p><b><i>Bold italic text </i>with italic deactivated<i> in between.</i></b>⌞
</p><p><b>Bold text..</b>⌞
</p><p>..spanning two paragraphs (should not work).<b/>⌞
</p><p><b>Bold tag left open</b>⌞
</p><p><i>Italic tag left open</i>⌞
</p><p>Normal text.⌞
</p><p><b>This year'</b>s election <i>should</i> beat <b>last year'</b>s.⌞
</p><p><i>Tom<b>s car is bigger than <i>Susan<b>s.</b></i></b></i>⌞
</p><p>Plain <i>italic<b>s plain</b></i>⌞
</p> |
227 |
fail |
Unclosed and unmatched quotes (parsoid)
|
'''''Bold italic text '''with bold deactivated''' in between.'''''⌞
⌞
'''''Bold italic text ''with italic deactivated'' in between.'''''⌞
⌞
'''Bold text..⌞
⌞
..spanning two paragraphs (should not work).'''⌞
⌞
'''Bold tag left open⌞
⌞
''Italic tag left open⌞
⌞
Normal text.⌞
⌞
<!-- Unmatching number of opening, closing tags: -->⌞
'''This year''''s election ''should'' beat '''last year''''s.⌞
⌞
''Tom'''s car is bigger than ''Susan'''s.⌞
⌞
Plain ''italic'''s plain |
<p><i><b>Bold italic text </b>with bold deactivated<b> in between.</b></i>⌞
</p><p><i><b>Bold italic text </b></i><b>with italic deactivated<i> in between.</i></b>⌞
</p><p><b>Bold text..</b>⌞
</p><p>..spanning two paragraphs (should not work).<b></b>⌞
</p><p><b>Bold tag left open</b>⌞
</p><p><i>Italic tag left open</i>⌞
</p><p>Normal text.⌞
</p><p><b>This year'</b>s election <i>should</i> beat <b>last year'</b>s.⌞
</p><p><i>Tom<b>s car is bigger than </b></i><b>Susan</b>s.⌞
</p><p>Plain <i>italic'</i>s plain⌞
</p> |
<p><i><b>Bold italic text </b>with bold deactivated<b> in between.</b></i>⌞
</p><p><b><i>Bold italic text </i>with italic deactivated<i> in between.</i></b>⌞
</p><p><b>Bold text..</b>⌞
</p><p>..spanning two paragraphs (should not work).<b/>⌞
</p><p><b>Bold tag left open</b>⌞
</p><p><i>Italic tag left open</i>⌞
</p><p>Normal text.⌞
</p><p><b>This year'</b>s election <i>should</i> beat <b>last year'</b>s.⌞
</p><p><i>Tom<b>s car is bigger than <i>Susan<b>s.</b></i></b></i>⌞
</p><p>Plain <i>italic<b>s plain</b></i>⌞
</p> |
228 |
tidy |
A table with no data. (php)
|
{||} |
|
<table/> |
229 |
tidy |
A table with no data. (parsoid)
|
{||} |
<table></table> |
<table/> |
230 |
fail |
A table with nothing but a caption (php)
|
{|⌞
|+ caption⌞
|} |
<table>⌞
<caption> caption⌞
</caption><tr><td></td></tr></table>⌞
|
<table><caption> caption</caption></table> |
231 |
pass |
A table with nothing but a caption (parsoid)
|
{|⌞
|+ caption⌞
|} |
<table><caption> caption</caption></table> |
<table><caption> caption</caption></table> |
232 |
tidy |
A table with caption with default-spaced attributes and a table row |
{|⌞
|+ style="color: red;" | caption1⌞
|-⌞
| foo⌞
|} |
<table>⌞
<caption style="color: red;"> caption1⌞
</caption>⌞
<tr>⌞
<td> foo⌞
</td></tr></table>⌞
|
<table><caption style="color: red;"> caption1</caption><tr><td>foo</td></tr></table> |
233 |
fail |
A table with captions with non-default spaced attributes and a table row |
{|⌞
|+style="color: red;"|caption2⌞
|+ style="color: red;"| caption3⌞
|-⌞
| foo⌞
|} |
<table>⌞
<caption style="color: red;">caption2⌞
</caption>⌞
<caption style="color: red;"> caption3⌞
</caption>⌞
<tr>⌞
<td> foo⌞
</td></tr></table>⌞
|
<table><caption style="color: red;">caption2</caption><tr><td style="color: red;">caption3</td></tr><tr><td>foo</td></tr></table> |
234 |
tidy |
Table td-cell syntax variations |
{|⌞
| foo bar foo | baz⌞
| foo bar foo || baz⌞
| style='color:red;' | baz⌞
| style='color:red;' || baz⌞
|} |
<table>⌞
<tr>⌞
<td> baz⌞
</td>⌞
<td> foo bar foo </td>⌞
<td> baz⌞
</td>⌞
<td style="color:red;"> baz⌞
</td>⌞
<td> style='color:red;' </td>⌞
<td> baz⌞
</td></tr></table>⌞
|
<table><tr><td>baz</td><td>foo bar foo</td><td>baz</td><td style="color:red;">baz</td><td>style='color:red;' </td><td>baz</td></tr></table> |
235 |
tidy |
Simple table |
{|⌞
| 1 || 2⌞
|-⌞
| 3 || 4⌞
|} |
<table>⌞
<tr>⌞
<td> 1 </td>⌞
<td> 2⌞
</td></tr>⌞
<tr>⌞
<td> 3 </td>⌞
<td> 4⌞
</td></tr></table>⌞
|
<table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table> |
236 |
tidy |
Simple table but with multiple dashes for row wikitext |
{|⌞
| foo⌞
|-----⌞
| bar⌞
|} |
<table>⌞
<tr>⌞
<td> foo⌞
</td></tr>⌞
<tr>⌞
<td> bar⌞
</td></tr></table>⌞
|
<table><tr><td>foo</td></tr><tr><td>bar</td></tr></table> |
237 |
tidy |
Multiplication table |
{| border="1" cellpadding="2"⌞
|+Multiplication table⌞
|-⌞
! × !! 1 !! 2 !! 3⌞
|-⌞
! 1⌞
| 1 || 2 || 3⌞
|-⌞
! 2⌞
| 2 || 4 || 6⌞
|-⌞
! 3⌞
| 3 || 6 || 9⌞
|-⌞
! 4⌞
| 4 || 8 || 12⌞
|-⌞
! 5⌞
| 5 || 10 || 15⌞
|} |
<table border="1" cellpadding="2">⌞
<caption>Multiplication table⌞
</caption>⌞
<tr>⌞
<th> × </th>⌞
<th> 1 </th>⌞
<th> 2 </th>⌞
<th> 3⌞
</th></tr>⌞
<tr>⌞
<th> 1⌞
</th>⌞
<td> 1 </td>⌞
<td> 2 </td>⌞
<td> 3⌞
</td></tr>⌞
<tr>⌞
<th> 2⌞
</th>⌞
<td> 2 </td>⌞
<td> 4 </td>⌞
<td> 6⌞
</td></tr>⌞
<tr>⌞
<th> 3⌞
</th>⌞
<td> 3 </td>⌞
<td> 6 </td>⌞
<td> 9⌞
</td></tr>⌞
<tr>⌞
<th> 4⌞
</th>⌞
<td> 4 </td>⌞
<td> 8 </td>⌞
<td> 12⌞
</td></tr>⌞
<tr>⌞
<th> 5⌞
</th>⌞
<td> 5 </td>⌞
<td> 10 </td>⌞
<td> 15⌞
</td></tr></table>⌞
|
<table border="1" cellpadding="2"><caption>Multiplication table</caption><tr><th>× </th><th>1</th><th>2</th><th>3</th></tr><tr><th>1</th><td>1</td><td>2</td><td>3</td></tr><tr><th>2</th><td>2</td><td>4</td><td>6</td></tr><tr><th>3</th><td>3</td><td>6</td><td>9</td></tr><tr><th>4</th><td>4</td><td>8</td><td>12</td></tr><tr><th>5</th><td>5</td><td>10</td><td>15</td></tr></table> |
238 |
fail |
Accept "||" in table headings |
{|⌞
!h1 || h2⌞
|} |
<table>⌞
<tr>⌞
<th>h1 </th>⌞
<th> h2⌞
</th></tr></table>⌞
|
<table><tr><th/><td>h2</td></tr></table> |
239 |
fail |
Accept "||" in indented table headings |
:{|⌞
!h1 || h2⌞
|} |
<dl><dd><table>⌞
<tr>⌞
<th>h1 </th>⌞
<th> h2⌞
</th></tr></table></dd></dl>⌞
|
<dl><dd><table><tr><th/><td>h2</td></tr></table></dd></dl> |
240 |
tidy |
Accept empty attributes in td/th cells (td/th cells starting with leading ||) |
{|⌞
!| h1⌞
|| a⌞
|} |
<table>⌞
<tr>⌞
<th> h1⌞
</th>⌞
<td> a⌞
</td></tr></table>⌞
|
<table><tr><th>h1</th><td>a</td></tr></table> |
241 |
tidy |
Accept "| !" at start of line in tables (ignore !-attribute) |
{|⌞
|-⌞
| !style="color:red" | bar⌞
|} |
<table>⌞
⌞
<tr>⌞
<td> bar⌞
</td></tr></table>⌞
|
<table><tr><td>bar</td></tr></table> |
242 |
tidy |
Allow +/- in 2nd and later cells in a row, in 1st cell when td-attrs are present, or in 1st cell when there is a space between "|" and +/- |
{|⌞
|-⌞
|style='color:red;'|+1⌞
|style='color:blue;'|-1⌞
|-⌞
| 1 || 2 || 3⌞
| 1 ||+2 ||-3⌞
|-⌞
| +1⌞
| -1⌞
|} |
<table>⌞
⌞
<tr>⌞
<td style="color:red;">+1⌞
</td>⌞
<td style="color:blue;">-1⌞
</td></tr>⌞
<tr>⌞
<td> 1 </td>⌞
<td> 2 </td>⌞
<td> 3⌞
</td>⌞
<td> 1 </td>⌞
<td>+2 </td>⌞
<td>-3⌞
</td></tr>⌞
<tr>⌞
<td> +1⌞
</td>⌞
<td> -1⌞
</td></tr></table>⌞
|
<table><tr><td style="color:red;">+1</td><td style="color:blue;">-1</td></tr><tr><td>1</td><td>2</td><td>3</td><td>1</td><td>+2</td><td>-3</td></tr><tr><td>+1</td><td>-1</td></tr></table> |
243 |
fail |
Table rowspan |
{| border=1⌞
| Cell 1, row 1⌞
|rowspan=2| Cell 2, row 1 (and 2)⌞
| Cell 3, row 1⌞
|-⌞
| Cell 1, row 2⌞
| Cell 3, row 2⌞
|} |
<table border="1">⌞
<tr>⌞
<td> Cell 1, row 1⌞
</td>⌞
<td rowspan="2"> Cell 2, row 1 (and 2)⌞
</td>⌞
<td> Cell 3, row 1⌞
</td></tr>⌞
<tr>⌞
<td> Cell 1, row 2⌞
</td>⌞
<td> Cell 3, row 2⌞
</td></tr></table>⌞
|
<table border="1"><tr><td>Cell 1, row 1</td><td>rowspan=2| Cell 2, row 1 (and 2)</td><td>Cell 3, row 1</td></tr><tr><td>Cell 1, row 2</td><td>Cell 3, row 2</td></tr></table> |
244 |
tidy |
Nested table |
{| border=1⌞
| α⌞
|⌞
{| bgcolor=#ABCDEF border=2⌞
|nested⌞
|-⌞
|table⌞
|}⌞
|the original table again⌞
|} |
<table border="1">⌞
<tr>⌞
<td> α⌞
</td>⌞
<td>⌞
<table bgcolor="#ABCDEF" border="2">⌞
<tr>⌞
<td>nested⌞
</td></tr>⌞
<tr>⌞
<td>table⌞
</td></tr></table>⌞
</td>⌞
<td>the original table again⌞
</td></tr></table>⌞
|
<table border="1"><tr><td>α</td><td><table bgcolor="#ABCDEF" border="2"><tr><td>nested</td></tr><tr><td>table</td></tr></table></td><td>the original table again</td></tr></table> |
245 |
fail |
Invalid attributes in table cell (bug 1830) |
{|⌞
|Cell:|broken⌞
|} |
<table>⌞
<tr>⌞
<td>broken⌞
</td></tr></table>⌞
|
<table><tr><td>Cell:|broken</td></tr></table> |
246 |
fail |
Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html) |
{|⌞
| |[ftp://|x||]" onmouseover="alert(document.cookie)">test |
<table>⌞
<tr>⌞
<td>[<a rel="nofollow" class="external free" href="ftp://%7Cx">ftp://%7Cx</a></td>⌞
<td>]" onmouseover="alert(document.cookie)">test⌞
</td>⌞
</tr>⌞
</table>⌞
|
<p>{|⌞
| |<a href="ftp://|x||">ftp://|x||</a>" onmouseover="alert(document.cookie)">test⌞
</p> |
247 |
fail |
Indented table markup mixed with indented pre content (proposed in bug 6200) |
<table>⌞
<tr>⌞
<td>⌞
Text that should be rendered preformatted⌞
</td>⌞
</tr>⌞
</table> |
<table>⌞
<tr>⌞
<td>⌞
<pre>Text that should be rendered preformatted⌞
</pre>⌞
</td>⌞
</tr>⌞
</table>⌞
|
<table><tr><td><pre>Text that should be rendered preformatted⌞
</td>⌞
</tr>⌞
</table>⌞
</pre></td></tr></table> |
248 |
tidy |
Template-generated table cell attributes and cell content |
{|⌞
|{{table_attribs}}⌞
|} |
<table>⌞
<tr>⌞
<td style="color: red"> Foo⌞
</td></tr></table>⌞
|
<table><tr><td style="color: red">Foo</td></tr></table> |
249 |
tidy |
Table with row followed by newlines and table heading |
{|⌞
|-⌞
⌞
! foo⌞
|} |
<table>⌞
⌞
⌞
<tr>⌞
<th> foo⌞
</th></tr></table>⌞
|
<table><tr><th>foo</th></tr></table> |
250 |
tidy |
Table with empty line following the start tag |
{|⌞
⌞
|-⌞
| foo⌞
|} |
<table>⌞
⌞
⌞
<tr>⌞
<td> foo⌞
</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
251 |
fail |
Table attributes with empty value
|
{|⌞
| style=| hello⌞
|} |
<table>⌞
<tbody>⌞
<tr>⌞
<td style=""> hello⌞
</td></tr></tbody></table>⌞
|
<table><tr><td>style=| hello</td></tr></table> |
252 |
fail |
Wikitext table with a lot of comments |
{|⌞
<!-- c0 -->⌞
| foo⌞
<!-- c1 -->⌞
|- <!-- c2 -->⌞
<!-- c3 -->⌞
|<!-- c4 -->⌞
<!-- c5 -->⌞
|} |
<table>⌞
<tr>⌞
<td> foo⌞
</td></tr>⌞
<tr>⌞
<td>⌞
</td></tr></table>⌞
|
<table><tr><td>foo</td></tr><tr><td/></tr></table> |
253 |
fail |
Wikitext table with double-line table cell |
{|⌞
|a⌞
b⌞
|} |
<table>⌞
<tr>⌞
<td>a⌞
<p>b⌞
</p>⌞
</td></tr></table>⌞
|
<table><tr><td>a⌞
b</td></tr></table> |
254 |
fail |
Table cell with a single comment |
{|⌞
| <!-- c1 -->⌞
| a⌞
|} |
<table>⌞
<tr>⌞
<td>⌞
</td>⌞
<td> a⌞
</td></tr></table>⌞
|
<table><tr><td/><td>a</td></tr></table> |
255 |
fail |
Wikitext table with html-syntax row (Parsoid)
|
{|⌞
|-⌞
<td>foo</td>⌞
|} |
<table>⌞
<tbody>⌞
<tr>⌞
<td>foo</td></tr></tbody></table> |
<p>{|⌞
|-⌞
<td>foo</td>⌞
|}⌞
</p> |
256 |
fail |
Implicit <td> after a |-
(PHP parser relies on Tidy to add the missing <td> tags)
|
{|⌞
|-⌞
a⌞
|} |
<table>⌞
<tr><td>a</td></tr>⌞
</table> |
<p>{|⌞
|-⌞
a⌞
|}⌞
</p> |
257 |
fail |
Pres should be recognized in an explicit <td> context, but not in an implicit <td> context
(PHP parser relies on Tidy to add the missing <td> tags)
|
{|⌞
|-⌞
|⌞
a⌞
|-⌞
b⌞
|} |
<table>⌞
<tbody>⌞
<tr><td><pre>a</pre></td></tr>⌞
<tr><td> b</td></tr>⌞
</tbody>⌞
</table> |
<p>{|⌞
|-⌞
|⌞
</p><pre>a⌞
</pre><p>|-⌞
</p><pre>b⌞
</pre><p>|}⌞
</p> |
258 |
fail |
Lists should be recognized in an implicit <td> context
(PHP parser relies on Tidy to add the missing <td> tags)
|
{|⌞
|-⌞
*a⌞
|} |
<table>⌞
<tr>⌞
<td><ul><li>a</li></ul></td>⌞
</tr>⌞
</table> |
<p>{|⌞
|-⌞
</p><ul><li>a⌞
</li></ul>⌞
<p>|}⌞
</p> |
259 |
pass |
Plain link, capitalized |
[[Main Page]] |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p> |
260 |
fail |
Plain link, uncapitalized |
[[main Page]] |
<p><a href="/wiki/Main_Page" title="Main Page">main Page</a>⌞
</p> |
<p><a href="/wiki/main_Page" title="main Page">main Page</a>⌞
</p> |
261 |
pass |
Piped link |
[[Main Page|The Main Page]] |
<p><a href="/wiki/Main_Page" title="Main Page">The Main Page</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">The Main Page</a>⌞
</p> |
262 |
pass |
Piped link with comment in link text |
[[Main Page|The Main<!--front--> Page]] |
<p><a href="/wiki/Main_Page" title="Main Page">The Main Page</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">The Main Page</a>⌞
</p> |
263 |
fail |
Broken link |
[[Zigzagzogzagzig]] |
<p><a href="/index.php?title=Zigzagzogzagzig&action=edit&redlink=1" class="new" title="Zigzagzogzagzig (page does not exist)">Zigzagzogzagzig</a>⌞
</p> |
<p><a href="/wiki/Zigzagzogzagzig" title="Zigzagzogzagzig">Zigzagzogzagzig</a>⌞
</p> |
264 |
fail |
Broken link with fragment |
[[Zigzagzogzagzig#zug]] |
<p><a href="/index.php?title=Zigzagzogzagzig&action=edit&redlink=1" class="new" title="Zigzagzogzagzig (page does not exist)">Zigzagzogzagzig#zug</a>⌞
</p> |
<p><a href="/wiki/Zigzagzogzagzig#zug" title="Zigzagzogzagzig#zug">Zigzagzogzagzig#zug</a>⌞
</p> |
265 |
fail |
Special page link with fragment |
[[Special:Version#anchor]] |
<p><a href="/wiki/Special:Version#anchor" title="Special:Version">Special:Version#anchor</a>⌞
</p> |
<p><a href="/wiki/Special:Version#anchor" title="Special:Version#anchor">Special:Version#anchor</a>⌞
</p> |
266 |
fail |
Nonexistent special page link with fragment |
[[Special:ThisNameWillHopefullyNeverBeUsed#anchor]] |
<p><a href="/wiki/Special:ThisNameWillHopefullyNeverBeUsed" class="new" title="Special:ThisNameWillHopefullyNeverBeUsed (page does not exist)">Special:ThisNameWillHopefullyNeverBeUsed#anchor</a>⌞
</p> |
<p><a href="/wiki/Special:ThisNameWillHopefullyNeverBeUsed#anchor" title="Special:ThisNameWillHopefullyNeverBeUsed#anchor">Special:ThisNameWillHopefullyNeverBeUsed#anchor</a>⌞
</p> |
267 |
fail |
Link with prefix |
xxx[[main Page]], xxx[[Main Page]], Xxx[[main Page]] XXX[[main Page]], XXX[[Main Page]] |
<p>xxx<a href="/wiki/Main_Page" title="Main Page">main Page</a>, xxx<a href="/wiki/Main_Page" title="Main Page">Main Page</a>, Xxx<a href="/wiki/Main_Page" title="Main Page">main Page</a> XXX<a href="/wiki/Main_Page" title="Main Page">main Page</a>, XXX<a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p> |
<p>xxx<a href="/wiki/main_Page" title="main Page">main Page</a>, xxx<a href="/wiki/Main_Page" title="Main Page">Main Page</a>, Xxx<a href="/wiki/main_Page" title="main Page">main Page</a> XXX<a href="/wiki/main_Page" title="main Page">main Page</a>, XXX<a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p> |
268 |
fail |
Link with suffix |
[[Main Page]]xxx, [[Main Page]]XXX, [[Main Page]]!!! |
<p><a href="/wiki/Main_Page" title="Main Page">Main Pagexxx</a>, <a href="/wiki/Main_Page" title="Main Page">Main Page</a>XXX, <a href="/wiki/Main_Page" title="Main Page">Main Page</a>!!!⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Pagexxx</a>, <a href="/wiki/Main_Page" title="Main Page">Main PageXXX</a>, <a href="/wiki/Main_Page" title="Main Page">Main Page</a>!!!⌞
</p> |
269 |
fail |
Bug 43661: Piped links with identical prefixes |
[[prefixed article|prefixed articles with spaces]]⌞
⌞
[[prefixed article|prefixed articlesaoeu]]⌞
⌞
[[Main Page|Main Page test]] |
<p><a href="/wiki/Prefixed_article" title="Prefixed article">prefixed articles with spaces</a>⌞
</p><p><a href="/wiki/Prefixed_article" title="Prefixed article">prefixed articlesaoeu</a>⌞
</p><p><a href="/wiki/Main_Page" title="Main Page">Main Page test</a>⌞
</p> |
<p><a href="/wiki/prefixed_article" title="prefixed article">prefixed articles with spaces</a>⌞
</p><p><a href="/wiki/prefixed_article" title="prefixed article">prefixed articlesaoeu</a>⌞
</p><p><a href="/wiki/Main_Page" title="Main Page">Main Page test</a>⌞
</p> |
270 |
tidy |
Link with HTML entity in suffix / tail |
[[Main Page]]", [[Main Page]]a |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>", <a href="/wiki/Main_Page" title="Main Page">Main Page</a>a⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>", <a href="/wiki/Main_Page" title="Main Page">Main Page</a>a⌞
</p> |
271 |
fail |
Link with 3 brackets |
[[[main page]]] |
<p>[[[main page]]]⌞
</p> |
<p><a href="/wiki/[main_page" title="[main page">[main page</a>]⌞
</p> |
272 |
fail |
Piped link with 3 brackets |
[[[main page|the main page]]] |
<p>[[[main page|the main page]]]⌞
</p> |
<p><a href="/wiki/[main_page" title="[main page">the main page</a>]⌞
</p> |
273 |
pass |
Link with multiple pipes |
[[Main Page|The|Main|Page]] |
<p><a href="/wiki/Main_Page" title="Main Page">The|Main|Page</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">The|Main|Page</a>⌞
</p> |
274 |
fail |
Link to namespaces |
[[Talk:Parser testing]], [[Meta:Disclaimers]] |
<p><a href="/index.php?title=Talk:Parser_testing&action=edit&redlink=1" class="new" title="Talk:Parser testing (page does not exist)">Talk:Parser testing</a>, <a href="/index.php?title=Meta:Disclaimers&action=edit&redlink=1" class="new" title="Meta:Disclaimers (page does not exist)">Meta:Disclaimers</a>⌞
</p> |
<p><a href="/wiki/Talk:Parser_testing" title="Talk:Parser testing">Talk:Parser testing</a>, <a href="/wiki/Meta:Disclaimers" title="Meta:Disclaimers">Meta:Disclaimers</a>⌞
</p> |
275 |
fail |
Piped link to namespace |
[[Meta:Disclaimers|The disclaimers]] |
<p><a href="/index.php?title=Meta:Disclaimers&action=edit&redlink=1" class="new" title="Meta:Disclaimers (page does not exist)">The disclaimers</a>⌞
</p> |
<p><a href="/wiki/Meta:Disclaimers" title="Meta:Disclaimers">The disclaimers</a>⌞
</p> |
276 |
fail |
Link containing } |
[[Usually caused by a typo (oops}]] |
<p>[[Usually caused by a typo (oops}]]⌞
</p> |
<p><a href="/wiki/Usually_caused_by_a_typo_(oops}" title="Usually caused by a typo (oops}">Usually caused by a typo (oops}</a>⌞
</p> |
277 |
fail |
Link containing % (not as a hex sequence) |
[[7% Solution]] |
<p><a href="/index.php?title=7%25_Solution&action=edit&redlink=1" class="new" title="7% Solution (page does not exist)">7% Solution</a>⌞
</p> |
<p><a href="/wiki/7%_Solution" title="7% Solution">7% Solution</a>⌞
</p> |
278 |
fail |
Link containing % as a single hex sequence interpreted to char |
[[7%25 Solution]] |
<p><a href="/index.php?title=7%25_Solution&action=edit&redlink=1" class="new" title="7% Solution (page does not exist)">7% Solution</a>⌞
</p> |
<p><a href="/wiki/7%25_Solution" title="7%25 Solution">7%25 Solution</a>⌞
</p> |
279 |
fail |
Link containing % as a double hex sequence interpreted to hex sequence |
[[7%2525 Solution]] |
<p>[[7%2525 Solution]]⌞
</p> |
<p><a href="/wiki/7%2525_Solution" title="7%2525 Solution">7%2525 Solution</a>⌞
</p> |
280 |
fail |
Link containing "#<" and "#>" % as a hex sequences- these are valid section anchors
Example for such a section: == < == |
[[%23%3c]][[%23%3e]] |
<p><a href="#.3C">#<</a><a href="#.3E">#></a>⌞
</p> |
<p><a href="/wiki/%23%3c" title="%23%3c">%23%3c</a><a href="/wiki/%23%3e" title="%23%3e">%23%3e</a>⌞
</p> |
281 |
fail |
Link containing "<#" and ">#" as a hex sequences |
[[%3c%23]][[%3e%23]] |
<p>[[%3c%23]][[%3e%23]]⌞
</p> |
<p><a href="/wiki/%3c%23" title="%3c%23">%3c%23</a><a href="/wiki/%3e%23" title="%3e%23">%3e%23</a>⌞
</p> |
282 |
fail |
Link containing an equals sign |
[[Special:BookSources/isbn=4-00-026157-6]] |
<p><a href="/wiki/Special:BookSources/isbn%3D4-00-026157-6" title="Special:BookSources/isbn=4-00-026157-6">Special:BookSources/isbn=4-00-026157-6</a>⌞
</p> |
<p><a href="/wiki/Special:BookSources/isbn=4-00-026157-6" title="Special:BookSources/isbn=4-00-026157-6">Special:BookSources/isbn=4-00-026157-6</a>⌞
</p> |
283 |
fail |
Link containing a tilde |
[[Foo~bar]] |
<p><a href="/wiki/Foo%7Ebar" title="Foo~bar">Foo~bar</a>⌞
</p> |
<p><a href="/wiki/Foo~bar" title="Foo~bar">Foo~bar</a>⌞
</p> |
284 |
fail |
Link containing double-single-quotes '' (bug 4598) |
[[Lista d''e paise d''o munno]] |
<p><a href="/index.php?title=Lista_d%27%27e_paise_d%27%27o_munno&action=edit&redlink=1" class="new" title="Lista d''e paise d''o munno (page does not exist)">Lista d''e paise d''o munno</a>⌞
</p> |
<p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
285 |
fail |
Link containing double-single-quotes '' in text (bug 4598 sanity check) |
Some [[Link|pretty ''italics'' and stuff]]! |
<p>Some <a href="/index.php?title=Link&action=edit&redlink=1" class="new" title="Link (page does not exist)">pretty <i>italics</i> and stuff</a>!⌞
</p> |
<p>Some <a href="/wiki/Link" title="Link">pretty <i>italics</i> and stuff</a>!⌞
</p> |
286 |
fail |
Link containing double-single-quotes '' in text embedded in italics (bug 4598 sanity check) |
''Some [[Link|pretty ''italics'' and stuff]]! |
<p><i>Some <a href="/index.php?title=Link&action=edit&redlink=1" class="new" title="Link (page does not exist)">pretty <i>italics</i> and stuff</a>!</i>⌞
</p> |
<p><i>Some <a href="/wiki/Link" title="Link">pretty <i>italics</i> and stuff</a>!</i>⌞
</p> |
287 |
fail |
Link with double quotes in title part (literal) and alternate part (interpreted) |
[[File:Denys Savchenko ''Pentecoste''.jpg]]⌞
⌞
[[''Pentecoste'']]⌞
⌞
[[''Pentecoste''|Pentecoste]]⌞
⌞
[[''Pentecoste''|''Pentecoste'']] |
<p><a href="/index.php?title=Special:Upload&wpDestFile=Denys_Savchenko_%27%27Pentecoste%27%27.jpg" class="new" title="File:Denys Savchenko ''Pentecoste''.jpg">File:Denys Savchenko <i>Pentecoste</i>.jpg</a>⌞
</p><p><a href="/index.php?title=%27%27Pentecoste%27%27&action=edit&redlink=1" class="new" title="''Pentecoste'' (page does not exist)">''Pentecoste''</a>⌞
</p><p><a href="/index.php?title=%27%27Pentecoste%27%27&action=edit&redlink=1" class="new" title="''Pentecoste'' (page does not exist)">Pentecoste</a>⌞
</p><p><a href="/index.php?title=%27%27Pentecoste%27%27&action=edit&redlink=1" class="new" title="''Pentecoste'' (page does not exist)"><i>Pentecoste</i></a>⌞
</p> |
<p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p><p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p><p><a href="/wiki/BROKEN" title="BROKEN">Pentecoste</a>⌞
</p><p><a href="/wiki/BROKEN" title="BROKEN"><i>Pentecoste</i></a>⌞
</p> |
288 |
fail |
Broken image links with HTML captions (bug 39700) |
[[File:Nonexistent|<script></script>]]⌞
[[File:Nonexistent|100px|<script></script>]]⌞
[[File:Nonexistent|<]]⌞
[[File:Nonexistent|a<i>b</i>c]] |
<p><a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent"><script></script></a>⌞
<a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent"><script></script></a>⌞
<a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent"><</a>⌞
<a href="/index.php?title=Special:Upload&wpDestFile=Nonexistent" class="new" title="File:Nonexistent">abc</a>⌞
</p> |
<p><a href="/wiki/File:Nonexistent" title="File:Nonexistent"><script></script></a>⌞
<a href="/wiki/File:Nonexistent" title="File:Nonexistent">100px|<script></script></a>⌞
<a href="/wiki/File:Nonexistent" title="File:Nonexistent"><</a>⌞
<a href="/wiki/File:Nonexistent" title="File:Nonexistent">a<i>b</i>c</a>⌞
</p> |
289 |
fail |
Plain link to URL |
[[http://www.example.com]] |
<p>[<a rel="nofollow" class="external autonumber" href="http://www.example.com">[1]</a>]⌞
</p> |
<p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
290 |
fail |
Plain link to URL with link text |
[[http://www.example.com Link text]] |
<p>[<a rel="nofollow" class="external text" href="http://www.example.com">Link text</a>]⌞
</p> |
<p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
291 |
fail |
Plain link to protocol-relative URL |
[[//www.example.com]] |
<p>[<a rel="nofollow" class="external autonumber" href="//www.example.com">[1]</a>]⌞
</p> |
<p><a href="/wiki///www.example.com" title="//www.example.com">//www.example.com</a>⌞
</p> |
292 |
fail |
Plain link to protocol-relative URL with link text |
[[//www.example.com Link text]] |
<p>[<a rel="nofollow" class="external text" href="//www.example.com">Link text</a>]⌞
</p> |
<p><a href="/wiki///www.example.com_Link_text" title="//www.example.com Link text">//www.example.com Link text</a>⌞
</p> |
293 |
fail |
Plain link to page with question mark in title |
[[A?b]]⌞
⌞
[[A?b|Baz]] |
<p><a href="/wiki/A%3Fb" title="A?b">A?b</a>⌞
</p><p><a href="/wiki/A%3Fb" title="A?b">Baz</a>⌞
</p> |
<p><a href="/wiki/A?b" title="A?b">A?b</a>⌞
</p><p><a href="/wiki/A?b" title="A?b">Baz</a>⌞
</p> |
294 |
fail |
Piped link to URL |
Piped link to URL: [[http://www.example.com|an example URL]] |
<p>Piped link to URL: [<a rel="nofollow" class="external text" href="http://www.example.com%7Can">example URL</a>]⌞
</p> |
<p>Piped link to URL: <a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
295 |
fail |
BUG 2: [[page|http://url/]] should link to page, not http://url/ |
[[Main Page|http://url/]] |
<p><a href="/wiki/Main_Page" title="Main Page">http://url/</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page"><a rel="nofollow" class="external free" href="http://url/">http://url/</a></a>⌞
</p> |
296 |
fail |
BUG 337: Escaped self-links should be bold
|
[[Bug462]] [[Bug462]] |
<p><strong class="selflink">Bug462</strong> <strong class="selflink">Bug462</strong>⌞
</p> |
<p><a href="/wiki/Bug462" title="Bug462">Bug462</a> <a href="/wiki/Bug462" title="Bug462">Bug462</a>⌞
</p> |
297 |
fail |
Self-link to section should not be bold
|
[[Main Page#section]] |
<p><a href="/wiki/Main_Page#section" title="Main Page">Main Page#section</a>⌞
</p> |
<p><a href="/wiki/Main_Page#section" title="Main Page#section">Main Page#section</a>⌞
</p> |
298 |
fail |
Self-link to numeric title
|
[[0]] |
<p><strong class="selflink">0</strong>⌞
</p> |
<p><a href="/wiki/0" title="0">0</a>⌞
</p> |
299 |
pass |
Link to numeric-equivalent title
|
[[00]] |
<p><a href="/wiki/00" title="00">00</a>⌞
</p> |
<p><a href="/wiki/00" title="00">00</a>⌞
</p> |
300 |
fail |
<nowiki> inside a link |
[[Main<nowiki> Page</nowiki>]] [[Main Page|the main page <nowiki>[it's not very good]</nowiki>]] |
<p>[[Main Page]] <a href="/wiki/Main_Page" title="Main Page">the main page [it's not very good]</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a> <a href="/wiki/Main_Page" title="Main Page">the main page [it's not very good]</a>⌞
</p> |
301 |
fail |
Non-breaking spaces in title |
[[ Main Page ]] |
<p><a href="/wiki/Main_Page" title="Main Page">  Main   Page  </a>⌞
</p> |
<p><a href="/wiki/Main_ _Page" title="Main   Page">Main   Page</a>⌞
</p> |
302 |
pass |
Internal link with ca linktrail, surrounded by bold apostrophes (bug 27473 primary issue)
|
'''[[Main Page]]''' |
<p><b><a href="/wiki/Main_Page" title="Main Page">Main Page</a></b>⌞
</p> |
<p><b><a href="/wiki/Main_Page" title="Main Page">Main Page</a></b>⌞
</p> |
303 |
pass |
Internal link with ca linktrail, surrounded by italic apostrophes (bug 27473 primary issue)
|
''[[Main Page]]'' |
<p><i><a href="/wiki/Main_Page" title="Main Page">Main Page</a></i>⌞
</p> |
<p><i><a href="/wiki/Main_Page" title="Main Page">Main Page</a></i>⌞
</p> |
304 |
fail |
Internal link with en linktrail: no apostrophes (bug 27473)
|
[[Something]]'nice |
<p><a href="/index.php?title=Something&action=edit&redlink=1" class="new" title="Something (page does not exist)">Something</a>'nice⌞
</p> |
<p><a href="/wiki/Something" title="Something">Something'nice</a>⌞
</p> |
305 |
fail |
Internal link with ca linktrail with apostrophes (bug 27473)
|
[[Something]]'nice |
<p><a href="/index.php?title=Something&action=edit&redlink=1" class="new" title="Something (encara no existeix)">Something'nice</a>⌞
</p> |
<p><a href="/wiki/Something" title="Something">Something'nice</a>⌞
</p> |
306 |
fail |
Internal link with kaa linktrail with apostrophes (bug 27473)
|
[[Something]]'nice |
<p><a href="/index.php?title=Something&action=edit&redlink=1" class="new" title="Something (bet ele jaratılmag'an)">Something'nice</a>⌞
</p> |
<p><a href="/wiki/Something" title="Something">Something'nice</a>⌞
</p> |
307 |
fail |
Internal link with is link prefix
|
Aðrir mótmælenda[[söfnuður|söfnuðir]] og |
<p>Aðrir <a href="/wiki/S%C3%B6fnu%C3%B0ur" title="Söfnuður">mótmælendasöfnuðir</a> og⌞
</p> |
<p>Aðrir mótmælenda<a href="/wiki/söfnuður" title="söfnuður">söfnuðir</a> og⌞
</p> |
308 |
fail |
Internal link with is link trail and link prefix
|
[[mótmælendatrú|xxx]]ar⌞
[[mótmælendatrú]]ar⌞
mótmælenda[[söfnuður]]⌞
mótmælenda[[söfnuður|söfnuðir]]⌞
mótmælenda[[söfnuður|söfnuðir]]xxx |
<p><a href="/wiki/M%C3%B3tm%C3%A6lendatr%C3%BA" title="Mótmælendatrú">xxxar</a>⌞
<a href="/wiki/M%C3%B3tm%C3%A6lendatr%C3%BA" title="Mótmælendatrú">mótmælendatrúar</a>⌞
<a href="/wiki/S%C3%B6fnu%C3%B0ur" title="Söfnuður">mótmælendasöfnuður</a>⌞
<a href="/wiki/S%C3%B6fnu%C3%B0ur" title="Söfnuður">mótmælendasöfnuðir</a>⌞
<a href="/wiki/S%C3%B6fnu%C3%B0ur" title="Söfnuður">mótmælendasöfnuðirxxx</a>⌞
</p> |
<p><a href="/wiki/mótmælendatrú" title="mótmælendatrú">xxxar</a>⌞
<a href="/wiki/mótmælendatrú" title="mótmælendatrú">mótmælendatrúar</a>⌞
mótmælenda<a href="/wiki/söfnuður" title="söfnuður">söfnuður</a>⌞
mótmælenda<a href="/wiki/söfnuður" title="söfnuður">söfnuðir</a>⌞
mótmælenda<a href="/wiki/söfnuður" title="söfnuður">söfnuðirxxx</a>⌞
</p> |
309 |
fail |
Parsoid link trail escaping- parsoid: html2wt, html2html
|
[[apple]]<nowiki/>s |
<p><a rel="mw:WikiLink" href="Apple">apple</a>s</p> |
<p><a href="/wiki/apple" title="apple">apple</a>s⌞
</p> |
310 |
fail |
Parsoid link prefix escaping
- language: is
- parsoid: html2wt, html2html
|
Aðrir mótmælenda<nowiki/>[[söfnuður]] |
<p>Aðrir mótmælenda<a rel="mw:WikiLink" href="Söfnuður">söfnuður</a></p> |
<p>Aðrir mótmælenda<a href="/wiki/söfnuður" title="söfnuður">söfnuður</a>⌞
</p> |
311 |
fail |
Parsoid-centric test: Whitespace in ext- and wiki-links should be preserved |
[[Foo| bar]]⌞
⌞
[[Foo| ''bar'']]⌞
⌞
[http://wp.org foo]⌞
⌞
[http://wp.org ''foo''] |
<p><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)"> bar</a>⌞
</p><p><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)"> <i>bar</i></a>⌞
</p><p><a rel="nofollow" class="external text" href="http://wp.org">foo</a>⌞
</p><p><a rel="nofollow" class="external text" href="http://wp.org"><i>foo</i></a>⌞
</p> |
<p><a href="/wiki/Foo" title="Foo">bar</a>⌞
</p><p><a href="/wiki/Foo" title="Foo"><i>bar</i></a>⌞
</p><p><a rel="nofollow" class="external text" href="http://wp.org">foo</a>⌞
</p><p><a rel="nofollow" class="external text" href="http://wp.org"><i>foo</i></a>⌞
</p> |
312 |
fail |
Inline interwiki link |
[[MeatBall:SoftSecurity]] |
<p><a href="http://www.usemod.com/cgi-bin/mb.pl?SoftSecurity" class="extiw" title="meatball:SoftSecurity">MeatBall:SoftSecurity</a>⌞
</p> |
<p><a href="/wiki/MeatBall:SoftSecurity" title="MeatBall:SoftSecurity">MeatBall:SoftSecurity</a>⌞
</p> |
313 |
fail |
Inline interwiki link with empty title (bug 2372) |
[[MeatBall:]] |
<p><a href="http://www.usemod.com/cgi-bin/mb.pl" class="extiw" title="meatball:">MeatBall:</a>⌞
</p> |
<p><a href="/wiki/MeatBall:" title="MeatBall:">MeatBall:</a>⌞
</p> |
314 |
fail |
Interwiki link encoding conversion (bug 1636) |
*[[Wikipedia:ro:Olteniţa]]⌞
*[[Wikipedia:ro:Olteniţa]] |
<ul><li><a href="http://en.wikipedia.org/wiki/ro:Olteni%C5%A3a" class="extiw" title="wikipedia:ro:Olteniţa">Wikipedia:ro:Olteniţa</a>⌞
</li><li><a href="http://en.wikipedia.org/wiki/ro:Olteni%C5%A3a" class="extiw" title="wikipedia:ro:Olteniţa">Wikipedia:ro:Olteniţa</a>⌞
</li></ul>⌞
|
<ul><li><a href="/wiki/Wikipedia:ro:Olteniţa" title="Wikipedia:ro:Olteniţa">Wikipedia:ro:Olteniţa</a>⌞
</li><li><a href="/wiki/Wikipedia:ro:Olteniţa" title="Wikipedia:ro:Olteniţa">Wikipedia:ro:Olteniţa</a>⌞
</li></ul>⌞
|
315 |
fail |
Interwiki link with fragment (bug 2130) |
[[MeatBall:SoftSecurity#foo]] |
<p><a href="http://www.usemod.com/cgi-bin/mb.pl?SoftSecurity#foo" class="extiw" title="meatball:SoftSecurity">MeatBall:SoftSecurity#foo</a>⌞
</p> |
<p><a href="/wiki/MeatBall:SoftSecurity#foo" title="MeatBall:SoftSecurity#foo">MeatBall:SoftSecurity#foo</a>⌞
</p> |
316 |
fail |
Interlanguage link |
Blah blah blah⌞
[[zh:Chinese]] |
<p>Blah blah blah⌞
</p> |
<p>Blah blah blah⌞
<a href="/wiki/zh:Chinese" title="zh:Chinese">zh:Chinese</a>⌞
</p> |
317 |
fail |
Double interlanguage link |
Blah blah blah⌞
[[es:Spanish]]⌞
[[zh:Chinese]] |
<p>Blah blah blah⌞
</p> |
<p>Blah blah blah⌞
<a href="/wiki/es:Spanish" title="es:Spanish">es:Spanish</a>⌞
<a href="/wiki/zh:Chinese" title="zh:Chinese">zh:Chinese</a>⌞
</p> |
318 |
fail |
Interlanguage link, with prefix links
|
Blah blah blah⌞
[[zh:Chinese]] |
<p>Blah blah blah⌞
</p> |
<p>Blah blah blah⌞
<a href="/wiki/zh:Chinese" title="zh:Chinese">zh:Chinese</a>⌞
</p> |
319 |
fail |
Double interlanguage link, with prefix links (bug 8897)
|
Blah blah blah⌞
[[es:Spanish]]⌞
[[zh:Chinese]] |
<p>Blah blah blah⌞
</p> |
<p>Blah blah blah⌞
<a href="/wiki/es:Spanish" title="es:Spanish">es:Spanish</a>⌞
<a href="/wiki/zh:Chinese" title="zh:Chinese">zh:Chinese</a>⌞
</p> |
320 |
fail |
Parsoid-specific test: Wikilinks with should RT properly
|
[[WW II]] |
<p><a href="/index.php?title=WW_II&action=edit&redlink=1" class="new" title="WW II (lonkásá ezalí tɛ̂)">WW II</a>⌞
</p> |
<p><a href="/wiki/WW II" title="WW II">WW II</a>⌞
</p> |
321 |
fail |
Parsoid: handle constructor well
|
[[constructor]]⌞
⌞
[[constructor:foo]] |
<p data-parsoid="{"dsr":[0,15,0,0]}"><a rel="mw:WikiLink" href="./Constructor" data-parsoid="{"stx":"simple","a":{"href":"./Constructor"},"sa":{"href":"constructor"},"dsr":[0,15,2,2]}">constructor</a></p>⌞
⌞
⌞
<p data-parsoid="{"dsr":[17,36,0,0]}"><a rel="mw:WikiLink" href="./Foo" data-parsoid="{"stx":"simple","a":{"href":"./Foo"},"sa":{"href":"constructor:foo"},"dsr":[17,36,2,2]}">constructor:foo</a></p> |
<p><a href="/wiki/constructor" title="constructor">constructor</a>⌞
</p><p><a href="/wiki/constructor:foo" title="constructor:foo">constructor:foo</a>⌞
</p> |
322 |
fail |
Simple redirect to page
|
#REDIRECT [[Main Page]] |
<link rel="mw:PageProp/redirect" href="./Main_Page"> |
<ol><li>REDIRECT <a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</li></ol>⌞
|
323 |
fail |
Redirect to category
|
#REDIRECT [[Category:Foo]] |
<link rel="mw:PageProp/redirect" href="./Category:Foo"><link rel="mw:WikiLink/Category" href="./Category:Foo"> |
<ol><li>REDIRECT <a href="/wiki/Category:Foo" title="Category:Foo">Category:Foo</a>⌞
</li></ol>⌞
|
324 |
fail |
Redirect to category page- parsoid: wt2html, html2html
|
#REDIRECT [[:Category:Foo]] |
<p><a rel="mw:WikiLink" href="Category:Foo">Category:Foo</a></p> |
<ol><li>REDIRECT <a href="/wiki/:Category:Foo" title=":Category:Foo">:Category:Foo</a>⌞
</li></ol>⌞
|
325 |
fail |
Redirect to image page
|
#REDIRECT [[File:Wiki.png]] |
<link rel="mw:PageProp/redirect" href="./File:Wiki.png"> |
<ol><li>REDIRECT <a href="/wiki/File:Wiki.png" title="File:Wiki.png">File:Wiki.png</a>⌞
</li></ol>⌞
|
326 |
fail |
Redirect to language
|
#REDIRECT [[en:File:Wiki.png]] |
<link rel="mw:PageProp/redirect" href="File:Wiki.png"> |
<ol><li>REDIRECT <a href="/wiki/en:File:Wiki.png" title="en:File:Wiki.png">en:File:Wiki.png</a>⌞
</li></ol>⌞
|
327 |
fail |
Redirect to interwiki
|
#REDIRECT [[meatball:File:Wiki.png]] |
<link rel="mw:PageProp/redirect" href="File:Wiki.png"> |
<ol><li>REDIRECT <a href="/wiki/meatball:File:Wiki.png" title="meatball:File:Wiki.png">meatball:File:Wiki.png</a>⌞
</li></ol>⌞
|
328 |
fail |
<br> to <br /> |
1<br>2<br />3 |
<p>1<br />2<br />3⌞
</p> |
<p>1<br>2<br/>3</br>⌞
</p> |
329 |
pass |
Broken br tag sanitization
|
</br> |
<p></br>⌞
</p> |
<p></br>⌞
</p> |
330 |
fail |
Parsoid: Broken br tag recognition
|
</br> |
<p><br></p> |
<p></br>⌞
</p> |
331 |
tidy |
Incorrecly removing closing slashes from correctly formed XHTML |
<br style="clear:both;" /> |
<p><br style="clear:both;" />⌞
</p> |
<p><br style="clear:both;"/>⌞
</p> |
332 |
fail |
Failing to transform badly formed HTML into correct XHTML |
<br style="clear: left;">⌞
<br style="clear: right;">⌞
<br style="clear: both;"> |
<p><br style="clear: left;" />⌞
<br style="clear: right;" />⌞
<br style="clear: both;" />⌞
</p> |
<p><br style="clear: left;">⌞
<br style="clear: right;">⌞
<br style="clear: both;"/></br></br>⌞
</p> |
333 |
fail |
Handling html with a div self-closing tag |
<div title />⌞
<div title/>⌞
<div title/ >⌞
<div title=bar />⌞
<div title=bar/>⌞
<div title=bar/ > |
<p><div title />⌞
<div title/>⌞
</p>⌞
<div>⌞
<p><div title=bar />⌞
<div title=bar/>⌞
</p>⌞
<div title="bar/"></div>⌞
</div>⌞
|
<div/><p><div title/>⌞
</p><div><div title="bar"/><p><div title=bar/>⌞
</p><div title="bar/"/></div> |
334 |
fail |
Handling html with a br self-closing tag |
<br title />⌞
<br title/>⌞
<br title/ >⌞
<br title=bar />⌞
<br title=bar/>⌞
<br title=bar/ > |
<p><br title="title" />⌞
<br title="title" />⌞
<br />⌞
<br title="bar" />⌞
<br title="bar" />⌞
<br title="bar/" />⌞
</p> |
<p><br/>⌞
<br title/>⌞
<br>⌞
<br title="bar"/>⌞
<br title=bar/>⌞
<br title="bar/"/></br>⌞
</p> |
335 |
fail |
Horizontal ruler (should it add that extra space?) |
<hr>⌞
<hr >⌞
foo <hr⌞
> bar |
<hr />⌞
<hr />⌞
foo <hr /> bar⌞
|
<p><hr>⌞
<hr >⌞
foo <hr⌞
> bar⌞
</p> |
336 |
tidy |
Horizontal ruler -- 4+ dashes render hr |
---- |
<hr />⌞
|
<hr/>⌞
|
337 |
tidy |
Horizontal ruler -- eats additional dashes on the same line |
--------- |
<hr />⌞
|
<hr/>⌞
|
338 |
tidy |
Horizontal ruler -- does not collapse dashes on consecutive lines |
----⌞
---- |
<hr />⌞
<hr />⌞
|
<hr/>⌞
<hr/>⌞
|
339 |
pass |
Horizontal ruler -- <4 dashes render as plain text |
--- |
<p>---⌞
</p> |
<p>---⌞
</p> |
340 |
fail |
Horizontal ruler -- Supports content following dashes on same line |
---- Foo |
<hr /> Foo⌞
|
<hr/>⌞
<p>Foo⌞
</p> |
341 |
pass |
Common list |
*Common list⌞
* item 2⌞
*item 3 |
<ul><li>Common list⌞
</li><li> item 2⌞
</li><li>item 3⌞
</li></ul>⌞
|
<ul><li>Common list⌞
</li><li> item 2⌞
</li><li>item 3⌞
</li></ul>⌞
|
342 |
pass |
Numbered list |
#Numbered list⌞
#item 2⌞
# item 3 |
<ol><li>Numbered list⌞
</li><li>item 2⌞
</li><li> item 3⌞
</li></ol>⌞
|
<ol><li>Numbered list⌞
</li><li>item 2⌞
</li><li> item 3⌞
</li></ol>⌞
|
343 |
pass |
Mixed list |
*Mixed list⌞
*# with numbers⌞
** and bullets⌞
*# and numbers⌞
*bullets again⌞
**bullet level 2⌞
***bullet level 3⌞
***#Number on level 4⌞
**bullet level 2⌞
**#Number on level 3⌞
**#Number on level 3⌞
*#number level 2⌞
*Level 1⌞
*** Level 3⌞
#** Level 3, but ordered |
<ul><li>Mixed list⌞
<ol><li> with numbers⌞
</li></ol>⌞
<ul><li> and bullets⌞
</li></ul>⌞
<ol><li> and numbers⌞
</li></ol>⌞
</li><li>bullets again⌞
<ul><li>bullet level 2⌞
<ul><li>bullet level 3⌞
<ol><li>Number on level 4⌞
</li></ol>⌞
</li></ul>⌞
</li><li>bullet level 2⌞
<ol><li>Number on level 3⌞
</li><li>Number on level 3⌞
</li></ol>⌞
</li></ul>⌞
<ol><li>number level 2⌞
</li></ol>⌞
</li><li>Level 1⌞
<ul><li><ul><li> Level 3⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
<ol><li><ul><li><ul><li> Level 3, but ordered⌞
</li></ul>⌞
</li></ul>⌞
</li></ol>⌞
|
<ul><li>Mixed list⌞
<ol><li> with numbers⌞
</li></ol>⌞
<ul><li> and bullets⌞
</li></ul>⌞
<ol><li> and numbers⌞
</li></ol>⌞
</li><li>bullets again⌞
<ul><li>bullet level 2⌞
<ul><li>bullet level 3⌞
<ol><li>Number on level 4⌞
</li></ol>⌞
</li></ul>⌞
</li><li>bullet level 2⌞
<ol><li>Number on level 3⌞
</li><li>Number on level 3⌞
</li></ol>⌞
</li></ul>⌞
<ol><li>number level 2⌞
</li></ol>⌞
</li><li>Level 1⌞
<ul><li><ul><li> Level 3⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
<ol><li><ul><li><ul><li> Level 3, but ordered⌞
</li></ul>⌞
</li></ul>⌞
</li></ol>⌞
|
344 |
pass |
Nested lists 1 |
*foo⌞
**bar |
<ul><li>foo⌞
<ul><li>bar⌞
</li></ul>⌞
</li></ul>⌞
|
<ul><li>foo⌞
<ul><li>bar⌞
</li></ul>⌞
</li></ul>⌞
|
345 |
pass |
Nested lists 2 |
**foo⌞
*bar |
<ul><li><ul><li>foo⌞
</li></ul>⌞
</li><li>bar⌞
</li></ul>⌞
|
<ul><li><ul><li>foo⌞
</li></ul>⌞
</li><li>bar⌞
</li></ul>⌞
|
346 |
pass |
Nested lists 3 (first element empty) |
*⌞
**bar |
<ul><li>⌞
<ul><li>bar⌞
</li></ul>⌞
</li></ul>⌞
|
<ul><li>⌞
<ul><li>bar⌞
</li></ul>⌞
</li></ul>⌞
|
347 |
pass |
Nested lists 4 (first element empty) |
**⌞
*bar |
<ul><li><ul><li>⌞
</li></ul>⌞
</li><li>bar⌞
</li></ul>⌞
|
<ul><li><ul><li>⌞
</li></ul>⌞
</li><li>bar⌞
</li></ul>⌞
|
348 |
pass |
Nested lists 5 (both elements empty) |
**⌞
* |
<ul><li><ul><li>⌞
</li></ul>⌞
</li><li>⌞
</li></ul>⌞
|
<ul><li><ul><li>⌞
</li></ul>⌞
</li><li>⌞
</li></ul>⌞
|
349 |
pass |
Nested lists 6 (both elements empty) |
*⌞
** |
<ul><li>⌞
<ul><li>⌞
</li></ul>⌞
</li></ul>⌞
|
<ul><li>⌞
<ul><li>⌞
</li></ul>⌞
</li></ul>⌞
|
350 |
pass |
Nested lists 7 (skip initial nesting levels) |
*** foo |
<ul><li><ul><li><ul><li> foo⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
|
<ul><li><ul><li><ul><li> foo⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
|
351 |
pass |
Nested lists 8 (multiple nesting transitions) |
* foo⌞
*** bar⌞
** baz⌞
* boo |
<ul><li> foo⌞
<ul><li><ul><li> bar⌞
</li></ul>⌞
</li><li> baz⌞
</li></ul>⌞
</li><li> boo⌞
</li></ul>⌞
|
<ul><li> foo⌞
<ul><li><ul><li> bar⌞
</li></ul>⌞
</li><li> baz⌞
</li></ul>⌞
</li><li> boo⌞
</li></ul>⌞
|
352 |
pass |
1. Lists with start-of-line-transparent tokens before bullets: Comments |
*foo⌞
*<!--cmt-->bar⌞
<!--cmt-->*baz |
<ul><li>foo⌞
</li><li>bar⌞
</li><li>baz⌞
</li></ul>⌞
|
<ul><li>foo⌞
</li><li>bar⌞
</li><li>baz⌞
</li></ul>⌞
|
353 |
pass |
2. Lists with start-of-line-transparent tokens before bullets: Template close |
*foo {{echo|bar⌞
}}*baz |
<ul><li>foo bar⌞
</li><li>baz⌞
</li></ul>⌞
|
<ul><li>foo bar⌞
</li><li>baz⌞
</li></ul>⌞
|
354 |
fail |
List items are not parsed correctly following a <pre> block (bug 785) |
* <pre>foo</pre>⌞
* <pre>bar</pre>⌞
* zar |
<ul><li> <pre>foo</pre>⌞
</li><li> <pre>bar</pre>⌞
</li><li> zar⌞
</li></ul>⌞
|
<p>* ⌞
</p><pre>foo</pre><p>* ⌞
</p><pre>bar</pre><ul><li> zar⌞
</li></ul>⌞
|
355 |
pass |
List items from template |
⌞
{{inner list}}⌞
* item 2⌞
⌞
* item 0⌞
{{inner list}}⌞
* item 2⌞
⌞
* item 0⌞
* notSOL{{inner list}}⌞
* item 2 |
<ul><li> item 1⌞
</li><li> item 2⌞
</li></ul>⌞
<ul><li> item 0⌞
</li><li> item 1⌞
</li><li> item 2⌞
</li></ul>⌞
<ul><li> item 0⌞
</li><li> notSOL⌞
</li><li> item 1⌞
</li><li> item 2⌞
</li></ul>⌞
|
<ul><li> item 1⌞
</li><li> item 2⌞
</li></ul>⌞
<ul><li> item 0⌞
</li><li> item 1⌞
</li><li> item 2⌞
</li></ul>⌞
<ul><li> item 0⌞
</li><li> notSOL⌞
</li><li> item 1⌞
</li><li> item 2⌞
</li></ul>⌞
|
356 |
fail |
List interrupted by empty line or heading |
* foo⌞
⌞
** bar⌞
== A heading ==⌞
* Another list item |
<ul><li> foo⌞
</li></ul>⌞
<ul><li><ul><li> bar⌞
</li></ul>⌞
</li></ul>⌞
<h2><span class="mw-headline" id="A_heading">A heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: A heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<ul><li> Another list item⌞
</li></ul>⌞
|
<ul><li> foo⌞
</li></ul>⌞
<ul><li><ul><li> bar⌞
</li></ul>⌞
</li></ul>⌞
<h2><span class="mw-headline" id="A heading">A heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: A heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<ul><li> Another list item⌞
</li></ul>⌞
|
357 |
fail |
Multiple list tags generated by templates |
{{echo|<li>}}a⌞
{{echo|<li>}}b⌞
{{echo|<li>}}c |
<li>a⌞
<li>b⌞
<li>c</li>⌞
</li>⌞
</li>⌞
|
<p><li>a⌞
<li>b⌞
<li>c⌞
</p> |
358 |
pass |
Single-comment whitespace lines dont break lists, but multi-comment whitespace lines do |
*a⌞
<!--This line will NOT split the list-->⌞
*b⌞
<!--This line will NOT split the list either-->⌞
*c⌞
<!--foo--> <!--This line with more than 1 comment will split the list-->⌞
*d |
<ul><li>a⌞
</li><li>b⌞
</li><li>c⌞
</li></ul>⌞
<ul><li>d⌞
</li></ul>⌞
|
<ul><li>a⌞
</li><li>b⌞
</li><li>c⌞
</li></ul>⌞
<ul><li>d⌞
</li></ul>⌞
|
359 |
fail |
Test the li-hack
(Cannot test this with PHP parser since it relies on Tidy for the hack)
|
* foo⌞
* <li>li-hack⌞
* {{echo|<li>templated li-hack}}⌞
* <!--foo--> <li> unsupported li-hack with preceding comments⌞
⌞
<ul>⌞
<li><li>not a li-hack⌞
</li>⌞
</ul> |
<ul><li> foo</li>⌞
<li>li-hack</li>⌞
<li about="#mwt1" typeof="mw:Transclusion" data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"<li>templated li-hack"}}}'>templated li-hack</li>⌞
<li> <!--foo--> </li><li> li-hack with preceding comments</li></ul>⌞
⌞
<ul>⌞
<li></li><li>not a li-hack⌞
</li>⌞
</ul> |
<ul><li> foo⌞
</li><li> <li>li-hack⌞
</li><li> <li>templated li-hack⌞
</li><li> <li> unsupported li-hack with preceding comments⌞
</li></ul>⌞
<ul><li><li>not a li-hack</li></ul> |
360 |
tidy |
Parsoid: Make sure nested lists are serialized on their own line even if HTML contains no newlines
|
# foo⌞
## bar⌞
* foo⌞
** bar⌞
: foo⌞
:: bar |
<ol><li> foo<ol><li> bar</li></ol></li></ol><ul><li> foo<ul><li> bar</li></ul></li></ul><dl><dd> foo<dl><dd> bar</dd></dl></dd></dl> |
<ol><li> foo⌞
<ol><li> bar⌞
</li></ol>⌞
</li></ol>⌞
<ul><li> foo⌞
<ul><li> bar⌞
</li></ul>⌞
</li></ul>⌞
<dl><dd> foo⌞
<dl><dd> bar⌞
</dd></dl>⌞
</dd></dl>⌞
|
361 |
fail |
Unbalanced closing block tags break a list
(Parsoid-only since php parser generates broken html -- relies on Tidy to fix up)
|
<div>⌞
*a</div><div>⌞
*b</div> |
<div>⌞
<ul><li>a⌞
</li></ul></div><div>⌞
<ul><li>b⌞
</li></ul></div> |
<div>*a</div><div>*b</div> |
362 |
fail |
Unbalanced closing non-block tags don't break a list
(Parsoid-only since php parser generates broken html -- relies on Tidy to fix up)
|
<span>⌞
*a</span><span>⌞
*b</span> |
<p><span></span>⌞
</p>⌞
<ul><li>a<span></span>⌞
</li><li>b⌞
</li></ul> |
<p><span>⌞
*a</span><span>⌞
*b</span>⌞
</p> |
363 |
fail |
Unclosed formatting tags that straddle lists are closed and reopened
(Parsoid-only since php parser generates broken html -- relies on Tidy to fix up)
|
# <s> a⌞
# b </s> |
<ol><li> <s> a </s>⌞
</li><li> <s> b </s>⌞
</li></ol> |
<ol><li> <s> a</s>⌞
</li><li> b </s>⌞
</li></ol>⌞
|
364 |
fail |
List embedded in a non-block tag
(Ugly Parsoid output -- worth fixing; Disabled for PHP parser since it relies on Tidy)
|
<small>⌞
* foo⌞
</small> |
<p><small></small></p>⌞
<small>⌞
<ul>⌞
<li> foo</li>⌞
</ul>⌞
</small>⌞
<p><small></small></p> |
<p><small/>⌞
</p><ul><li> foo⌞
</li></ul>⌞
<p></small>⌞
</p> |
365 |
pass |
Magic Word: {{CURRENTDAY}} |
{{CURRENTDAY}} |
<p>1⌞
</p> |
<p>1⌞
</p> |
366 |
pass |
Magic Word: {{CURRENTDAY2}} |
{{CURRENTDAY2}} |
<p>01⌞
</p> |
<p>01⌞
</p> |
367 |
pass |
Magic Word: {{CURRENTDAYNAME}} |
{{CURRENTDAYNAME}} |
<p>Thursday⌞
</p> |
<p>Thursday⌞
</p> |
368 |
pass |
Magic Word: {{CURRENTDOW}} |
{{CURRENTDOW}} |
<p>4⌞
</p> |
<p>4⌞
</p> |
369 |
pass |
Magic Word: {{CURRENTMONTH}} |
{{CURRENTMONTH}} |
<p>01⌞
</p> |
<p>01⌞
</p> |
370 |
pass |
Magic Word: {{CURRENTMONTHABBREV}} |
{{CURRENTMONTHABBREV}} |
<p>Jan⌞
</p> |
<p>Jan⌞
</p> |
371 |
pass |
Magic Word: {{CURRENTMONTHNAME}} |
{{CURRENTMONTHNAME}} |
<p>January⌞
</p> |
<p>January⌞
</p> |
372 |
pass |
Magic Word: {{CURRENTMONTHNAMEGEN}} |
{{CURRENTMONTHNAMEGEN}} |
<p>January⌞
</p> |
<p>January⌞
</p> |
373 |
pass |
Magic Word: {{CURRENTTIME}} |
{{CURRENTTIME}} |
<p>00:02⌞
</p> |
<p>00:02⌞
</p> |
374 |
pass |
Magic Word: {{CURRENTWEEK}} (@bug 4594) |
{{CURRENTWEEK}} |
<p>1⌞
</p> |
<p>1⌞
</p> |
375 |
pass |
Magic Word: {{CURRENTYEAR}} |
{{CURRENTYEAR}} |
<p>1970⌞
</p> |
<p>1970⌞
</p> |
376 |
fail |
Magic Word: {{FULLPAGENAME}}- title: User:Ævar Arnfjörð Bjarmason
|
{{FULLPAGENAME}} |
<p>User:Ævar Arnfjörð Bjarmason⌞
</p> |
<p><a href="/wiki/Template:FULLPAGENAME" title="Template:FULLPAGENAME">Template:FULLPAGENAME</a>⌞
</p> |
377 |
fail |
Magic Word: {{FULLPAGENAMEE}}- title: User:Ævar Arnfjörð Bjarmason
|
{{FULLPAGENAMEE}} |
<p>User:%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason⌞
</p> |
<p><a href="/wiki/Template:FULLPAGENAMEE" title="Template:FULLPAGENAMEE">Template:FULLPAGENAMEE</a>⌞
</p> |
378 |
fail |
Magic Word: {{NAMESPACE}}- title: User:Ævar Arnfjörð Bjarmason
|
{{NAMESPACE}} |
<p>User⌞
</p> |
<p><a href="/wiki/Template:NAMESPACE" title="Template:NAMESPACE">Template:NAMESPACE</a>⌞
</p> |
379 |
fail |
Magic Word: {{NAMESPACEE}}- title: User:Ævar Arnfjörð Bjarmason
|
{{NAMESPACEE}} |
<p>User⌞
</p> |
<p><a href="/wiki/Template:NAMESPACEE" title="Template:NAMESPACEE">Template:NAMESPACEE</a>⌞
</p> |
380 |
fail |
Magic Word: {{NAMESPACENUMBER}}- title: User:Ævar Arnfjörð Bjarmason
|
{{NAMESPACENUMBER}} |
<p>2⌞
</p> |
<p><a href="/wiki/Template:NAMESPACENUMBER" title="Template:NAMESPACENUMBER">Template:NAMESPACENUMBER</a>⌞
</p> |
381 |
fail |
Magic Word: {{NUMBEROFFILES}} |
{{NUMBEROFFILES}} |
<p>4⌞
</p> |
<p><a href="/wiki/Template:NUMBEROFFILES" title="Template:NUMBEROFFILES">Template:NUMBEROFFILES</a>⌞
</p> |
382 |
fail |
Magic Word: {{PAGENAME}}- title: User:Ævar Arnfjörð Bjarmason
|
{{PAGENAME}} |
<p>Ævar Arnfjörð Bjarmason⌞
</p> |
<p><a href="/wiki/Template:PAGENAME" title="Template:PAGENAME">Template:PAGENAME</a>⌞
</p> |
383 |
fail |
Magic Word: {{PAGENAME}} with metacharacters
|
''{{PAGENAME}}'' |
<p><i>'foo & bar = baz'</i>⌞
</p> |
<p><i><a href="/wiki/Template:PAGENAME" title="Template:PAGENAME">Template:PAGENAME</a></i>⌞
</p> |
384 |
fail |
Magic Word: {{PAGENAME}} with metacharacters (bug 26781)- title: *RFC 1234 http://example.com/
|
{{PAGENAME}} |
<p>*RFC 1234 http://example.com/⌞
</p> |
<p><a href="/wiki/Template:PAGENAME" title="Template:PAGENAME">Template:PAGENAME</a>⌞
</p> |
385 |
fail |
Magic Word: {{PAGENAMEE}}- title: User:Ævar Arnfjörð Bjarmason
|
{{PAGENAMEE}} |
<p>%C3%86var_Arnfj%C3%B6r%C3%B0_Bjarmason⌞
</p> |
<p><a href="/wiki/Template:PAGENAMEE" title="Template:PAGENAMEE">Template:PAGENAMEE</a>⌞
</p> |
386 |
fail |
Magic Word: {{PAGENAMEE}} with metacharacters (bug 26781)- title: *RFC 1234 http://example.com/
|
{{PAGENAMEE}} |
<p>*RFC_1234_http://example.com/⌞
</p> |
<p><a href="/wiki/Template:PAGENAMEE" title="Template:PAGENAMEE">Template:PAGENAMEE</a>⌞
</p> |
387 |
fail |
Magic Word: {{REVISIONID}} |
{{REVISIONID}} |
<p>1337⌞
</p> |
<p><a href="/wiki/Template:REVISIONID" title="Template:REVISIONID">Template:REVISIONID</a>⌞
</p> |
388 |
fail |
Magic Word: {{SCRIPTPATH}} |
{{SCRIPTPATH}} |
<p>/⌞
</p> |
<p><a href="/wiki/Template:SCRIPTPATH" title="Template:SCRIPTPATH">Template:SCRIPTPATH</a>⌞
</p> |
389 |
fail |
Magic Word: {{SERVER}} |
{{SERVER}} |
<p><a rel="nofollow" class="external free" href="http://example.org">http://example.org</a>⌞
</p> |
<p><a href="/wiki/Template:SERVER" title="Template:SERVER">Template:SERVER</a>⌞
</p> |
390 |
fail |
Magic Word: {{SERVERNAME}} |
{{SERVERNAME}} |
<p>example.org⌞
</p> |
<p><a href="/wiki/Template:SERVERNAME" title="Template:SERVERNAME">Template:SERVERNAME</a>⌞
</p> |
391 |
fail |
Magic Word: {{SITENAME}} |
{{SITENAME}} |
<p>MediaWiki⌞
</p> |
<p><a href="/wiki/Template:SITENAME" title="Template:SITENAME">Template:SITENAME</a>⌞
</p> |
392 |
fail |
Case-sensitive magic words, when cased differently, should just be template transclusions |
{{CurrentMonth}}⌞
{{currentday}}⌞
{{cURreNTweEK}}⌞
{{currentHour}} |
<p><a href="/index.php?title=Template:CurrentMonth&action=edit&redlink=1" class="new" title="Template:CurrentMonth (page does not exist)">Template:CurrentMonth</a>⌞
<a href="/index.php?title=Template:Currentday&action=edit&redlink=1" class="new" title="Template:Currentday (page does not exist)">Template:Currentday</a>⌞
<a href="/index.php?title=Template:CURreNTweEK&action=edit&redlink=1" class="new" title="Template:CURreNTweEK (page does not exist)">Template:CURreNTweEK</a>⌞
<a href="/index.php?title=Template:CurrentHour&action=edit&redlink=1" class="new" title="Template:CurrentHour (page does not exist)">Template:CurrentHour</a>⌞
</p> |
<p><a href="/wiki/Template:CurrentMonth" title="Template:CurrentMonth">Template:CurrentMonth</a>⌞
<a href="/wiki/Template:Currentday" title="Template:Currentday">Template:Currentday</a>⌞
<a href="/wiki/Template:CURreNTweEK" title="Template:CURreNTweEK">Template:CURreNTweEK</a>⌞
<a href="/wiki/Template:CurrentHour" title="Template:CurrentHour">Template:CurrentHour</a>⌞
</p> |
393 |
fail |
Case-insensitive magic words should still work with weird casing. |
{{sErVeRNaMe}}⌞
{{LCFirst:AOEU}}⌞
{{ucFIRST:aoeu}}⌞
{{SERver}} |
<p>example.org⌞
aOEU⌞
Aoeu⌞
<a rel="nofollow" class="external free" href="http://example.org">http://example.org</a>⌞
</p> |
<p><a href="/wiki/Template:SErVeRNaMe" title="Template:SErVeRNaMe">Template:SErVeRNaMe</a>⌞
<a href="/wiki/Template:LCFirst:AOEU" title="Template:LCFirst:AOEU">Template:LCFirst:AOEU</a>⌞
<a href="/wiki/Template:UcFIRST:aoeu" title="Template:UcFIRST:aoeu">Template:UcFIRST:aoeu</a>⌞
<a href="/wiki/Template:SERver" title="Template:SERver">Template:SERver</a>⌞
</p> |
394 |
fail |
Namespace 1 {{ns:1}} |
{{ns:1}} |
<p>Talk⌞
</p> |
<p><a href="/wiki/Template:Ns:1" title="Template:Ns:1">Template:Ns:1</a>⌞
</p> |
395 |
fail |
Namespace 1 {{ns:01}} |
{{ns:01}} |
<p>Talk⌞
</p> |
<p><a href="/wiki/Template:Ns:01" title="Template:Ns:01">Template:Ns:01</a>⌞
</p> |
396 |
fail |
Namespace 0 {{ns:0}} (bug 4783) |
{{ns:0}} |
|
<p><a href="/wiki/Template:Ns:0" title="Template:Ns:0">Template:Ns:0</a>⌞
</p> |
397 |
fail |
Namespace 0 {{ns:00}} (bug 4783) |
{{ns:00}} |
|
<p><a href="/wiki/Template:Ns:00" title="Template:Ns:00">Template:Ns:00</a>⌞
</p> |
398 |
fail |
Namespace -1 {{ns:-1}} |
{{ns:-1}} |
<p>Special⌞
</p> |
<p><a href="/wiki/Template:Ns:-1" title="Template:Ns:-1">Template:Ns:-1</a>⌞
</p> |
399 |
fail |
Namespace User {{ns:User}} |
{{ns:User}} |
<p>User⌞
</p> |
<p><a href="/wiki/Template:Ns:User" title="Template:Ns:User">Template:Ns:User</a>⌞
</p> |
400 |
fail |
Namespace User talk {{ns:User_talk}} |
{{ns:User_talk}} |
<p>User talk⌞
</p> |
<p><a href="/wiki/Template:Ns:User_talk" title="Template:Ns:User talk">Template:Ns:User talk</a>⌞
</p> |
401 |
fail |
Namespace User talk {{ns:uSeR tAlK}} |
{{ns:uSeR tAlK}} |
<p>User talk⌞
</p> |
<p><a href="/wiki/Template:Ns:uSeR_tAlK" title="Template:Ns:uSeR tAlK">Template:Ns:uSeR tAlK</a>⌞
</p> |
402 |
fail |
Namespace File {{ns:File}} |
{{ns:File}} |
<p>File⌞
</p> |
<p><a href="/wiki/Template:Ns:File" title="Template:Ns:File">Template:Ns:File</a>⌞
</p> |
403 |
fail |
Namespace File {{ns:Image}} |
{{ns:Image}} |
<p>File⌞
</p> |
<p><a href="/wiki/Template:Ns:Image" title="Template:Ns:Image">Template:Ns:Image</a>⌞
</p> |
404 |
fail |
Namespace (lang=de) Benutzer {{ns:User}}
|
{{ns:User}} |
<p>Benutzer⌞
</p> |
<p><a href="/wiki/Template:Ns:User" title="Template:Ns:User">Template:Ns:User</a>⌞
</p> |
405 |
fail |
Namespace (lang=de) Benutzer Diskussion {{ns:3}}
|
{{ns:3}} |
<p>Benutzer Diskussion⌞
</p> |
<p><a href="/wiki/Template:Ns:3" title="Template:Ns:3">Template:Ns:3</a>⌞
</p> |
406 |
fail |
Urlencode |
{{urlencode:hi world?!}}⌞
{{urlencode:hi world?!|WIKI}}⌞
{{urlencode:hi world?!|PATH}}⌞
{{urlencode:hi world?!|QUERY}} |
<p>hi+world%3F%21⌞
hi_world%3F!⌞
hi%20world%3F%21⌞
hi+world%3F%21⌞
</p> |
<p><a href="/wiki/Template:Urlencode:hi_world?!" title="Template:Urlencode:hi world?!">Template:Urlencode:hi world?!</a>⌞
<a href="/wiki/Template:Urlencode:hi_world?!" title="Template:Urlencode:hi world?!">Template:Urlencode:hi world?!</a>⌞
<a href="/wiki/Template:Urlencode:hi_world?!" title="Template:Urlencode:hi world?!">Template:Urlencode:hi world?!</a>⌞
<a href="/wiki/Template:Urlencode:hi_world?!" title="Template:Urlencode:hi world?!">Template:Urlencode:hi world?!</a>⌞
</p> |
407 |
fail |
Magic links: internal link to RFC (bug 479) |
[[RFC 123]] |
<p><a href="/index.php?title=RFC_123&action=edit&redlink=1" class="new" title="RFC 123 (page does not exist)">RFC 123</a>⌞
</p> |
<p><a href="/wiki/RFC_123" title="RFC 123">RFC 123</a>⌞
</p> |
408 |
fail |
Magic links: RFC (bug 479) |
RFC 822 |
<p><a class="external mw-magiclink-rfc" rel="nofollow" href="//tools.ietf.org/html/rfc822">RFC 822</a>⌞
</p> |
<p>RFC 822⌞
</p> |
409 |
fail |
Magic links: ISBN (bug 1937) |
ISBN 0-306-40615-2 |
<p><a href="/wiki/Special:BookSources/0306406152" class="internal mw-magiclink-isbn">ISBN 0-306-40615-2</a>⌞
</p> |
<p>ISBN 0-306-40615-2⌞
</p> |
410 |
fail |
Magic links: PMID incorrectly converts space to underscore |
PMID 1234 |
<p><a class="external mw-magiclink-pmid" rel="nofollow" href="//www.ncbi.nlm.nih.gov/pubmed/1234?dopt=Abstract">PMID 1234</a>⌞
</p> |
<p>PMID 1234⌞
</p> |
411 |
fail |
Nonexistent template |
{{thistemplatedoesnotexist}} |
<p><a href="/index.php?title=Template:Thistemplatedoesnotexist&action=edit&redlink=1" class="new" title="Template:Thistemplatedoesnotexist (page does not exist)">Template:Thistemplatedoesnotexist</a>⌞
</p> |
<p><a href="/wiki/Template:Thistemplatedoesnotexist" title="Template:Thistemplatedoesnotexist">Template:Thistemplatedoesnotexist</a>⌞
</p> |
412 |
fail |
Template with invalid target containing tags |
{{a<b>b</b>|{{echo|foo}}|{{echo|a}}={{echo|b}}|a = b}} |
<p>{{a<b>b</b>|foo|a=b|a = b}}⌞
</p> |
<p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
413 |
fail |
Template with invalid target containing unclosed tag |
{{a<b>|{{echo|foo}}|{{echo|a}}={{echo|b}}|a = b}} |
<p>{{a<b>|foo|a=b|a = b}}</b>⌞
</p> |
<p>[[Template:A<b>]]</b>⌞
</p> |
414 |
pass |
Simple template |
{{test}} |
<p>This is a test template⌞
</p> |
<p>This is a test template⌞
</p> |
415 |
pass |
Template with explicit namespace |
{{Template:test}} |
<p>This is a test template⌞
</p> |
<p>This is a test template⌞
</p> |
416 |
pass |
Template parameter |
{{paramtest|param=foo}} |
<p>This is a test template with parameter foo⌞
</p> |
<p>This is a test template with parameter foo⌞
</p> |
417 |
pass |
Template unnamed parameter |
{{paramtestnum|Main Page|the main page}} |
<p><a href="/wiki/Main_Page" title="Main Page">the main page</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">the main page</a>⌞
</p> |
418 |
fail |
Template with template name as unnamed argument |
{{templateasargtestnum|templatesimple}} |
<p>(test)⌞
</p> |
<p>{{{<a href="/wiki/Template:1" title="Template:1">Template:1</a>}}}⌞
</p> |
419 |
pass |
Template with template name as argument |
{{templateasargtest|templ=simple}} |
<p>(test)⌞
</p> |
<p>(test)⌞
</p> |
420 |
fail |
Template with template name as argument (2) |
{{templateasargtest2|templ=templatesimple}} |
<p>(test)⌞
</p> |
<p>{{{<a href="/wiki/Template:Templ" title="Template:Templ">Template:Templ</a>}}}⌞
</p> |
421 |
fail |
Template with default value |
{{templateasargtestdefault}} |
<p>(test)⌞
</p> |
<p>{{{<a href="/wiki/Template:Templ" title="Template:Templ">Template:Templ</a>}}}⌞
</p> |
422 |
fail |
Template with default value (value set) |
{{templateasargtestdefault|templ=templa}} |
<p><b>templ</b>⌞
</p> |
<p>{{{<a href="/wiki/Template:Templ" title="Template:Templ">Template:Templ</a>}}}⌞
</p> |
423 |
fail |
Template redirect |
{{templateredirect}} |
<p>(test)⌞
</p> |
<ol><li>redirect <a href="/wiki/Template:templatesimple" title="Template:templatesimple">Template:templatesimple</a>⌞
</li></ol>⌞
|
424 |
pass |
Template with argument in separate line |
{{ templateasargtest |⌞
templ = simple }} |
<p>(test)⌞
</p> |
<p>(test)⌞
</p> |
425 |
pass |
Template with complex template as argument |
{{paramtest|⌞
param ={{ templateasargtest |⌞
templ = simple }}}} |
<p>This is a test template with parameter (test)⌞
</p> |
<p>This is a test template with parameter (test)⌞
</p> |
426 |
fail |
Template with thumb image (with link in description) |
{{paramtest|⌞
param =[[Image:noimage.png|thumb|[[no link|link]] [[no link|caption]]]]}} |
This is a test template with parameter <div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/index.php?title=Special:Upload&wpDestFile=Noimage.png" class="new" title="File:Noimage.png">File:Noimage.png</a> <div class="thumbcaption"><a href="/index.php?title=No_link&action=edit&redlink=1" class="new" title="No link (page does not exist)">link</a> <a href="/index.php?title=No_link&action=edit&redlink=1" class="new" title="No link (page does not exist)">caption</a></div></div></div>⌞
|
<p>This is a test template with parameter <a href="/wiki/Image:noimage.png" title="Image:noimage.png">thumb|<a href="/wiki/no_link" title="no link">link</a> <a href="/wiki/no_link" title="no link">caption</a></a>⌞
</p> |
427 |
fail |
Template with complex arguments |
{{complextemplate|⌞
param ={{ templateasargtest |⌞
templ = simple }}|[[Template:complextemplate|link]]}} |
<p><a href="/wiki/Template:Complextemplate" title="Template:Complextemplate">link</a> This is a test template with parameter (test)⌞
</p> |
<p><a href="/wiki/Template:complextemplate" title="Template:complextemplate">link</a> This is a test template with parameter (test)⌞
</p> |
428 |
fail |
BUG 553: link with two variables in a piped link |
{|⌞
|[[{{{1}}}|{{{2}}}]]⌞
|} |
<table>⌞
<tr>⌞
<td>[[{{{1}}}|{{{2}}}]]⌞
</td></tr></table>⌞
|
<table><tr><td><a href="/wiki/{{{1}}}" title="{{{1}}}">{{{2}}}</a>⌞
</td></tr></table> |
429 |
fail |
Magic variable as template parameter |
{{paramtest|param={{SITENAME}}}} |
<p>This is a test template with parameter MediaWiki⌞
</p> |
<p>This is a test template with parameter <a href="/wiki/Template:SITENAME" title="Template:SITENAME">Template:SITENAME</a>⌞
</p> |
430 |
pass |
Template parameter as link source |
{{linktest|param=Main Page}} |
<p><a href="/wiki/Main_Page" title="Main Page">link</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">link</a>⌞
</p> |
431 |
pass |
Template-generated attribute string (k='v') |
<span {{attr_str|id|v1}}>bar</span> |
<p><span id="v1">bar</span>⌞
</p> |
<p><span id="v1">bar</span>⌞
</p> |
432 |
pass |
Template passing argument to another template |
{{paramtest2|arg='hmm'}} |
<p>including another template, This is a test template with parameter 'hmm'⌞
</p> |
<p>including another template, This is a test template with parameter 'hmm'⌞
</p> |
433 |
fail |
Template as link source |
[[{{linktest2}}]]⌞
⌞
[[{{linktest2}}|Main Page]]⌞
⌞
[[{{linktest2}}]]Page |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p><p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p><p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>Page⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p><p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p><p><a href="/wiki/Main_Page" title="Main Page">Main PagePage</a>⌞
</p> |
434 |
fail |
Template infinite loop |
{{loop1}} |
<p><span class="error">Template loop detected: <a href="/wiki/Template:Loop1" title="Template:Loop1">Template:Loop1</a></span>⌞
</p> |
<p><span class="error">Template loop detected: <a href="/wiki/Template:loop1" title="Template:loop1">Template:loop1</a></span>⌞
</p> |
435 |
fail |
Template from main namespace |
{{:Main Page}} |
<p>blah blah⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p> |
436 |
tidy |
BUG 529: Template with table, not included at beginning of line |
foo {{table}} |
<p>foo ⌞
</p>⌞
<table>⌞
<tr>⌞
<td> 1 </td>⌞
<td> 2⌞
</td></tr>⌞
<tr>⌞
<td> 3 </td>⌞
<td> 4⌞
</td></tr></table>⌞
|
<p>foo ⌞
</p><table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table> |
437 |
tidy |
BUG 523: Template shouldn't eat newline (or add an extra one before table) |
foo⌞
{{table}} |
<p>foo⌞
</p>⌞
<table>⌞
<tr>⌞
<td> 1 </td>⌞
<td> 2⌞
</td></tr>⌞
<tr>⌞
<td> 3 </td>⌞
<td> 4⌞
</td></tr></table>⌞
|
<p>foo⌞
</p><table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table> |
438 |
pass |
BUG 41: Template parameters shown as broken links |
{{{parameter}}} |
<p>{{{parameter}}}⌞
</p> |
<p>{{{parameter}}}⌞
</p> |
439 |
fail |
Template with targets containing wikilinks |
{{[[foo]]}}⌞
⌞
{{[[{{echo|foo}}]]}}⌞
⌞
{{{{echo|[[foo}}]]}} |
<p>{{<a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">foo</a>}}⌞
</p><p>{{<a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">foo</a>}}⌞
</p><p>{{[[foo}}]]⌞
</p> |
<p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p><p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p><p>{<a href="/wiki/Template:{echo" title="Template:{echo">Template:{echo</a>⌞
</p> |
440 |
skip |
msgnw keyword
|
{{msgnw:MSGNW test}} |
<p>''None'' of '''this''' should be ⌞
* interpreted⌞
but rather passed unmodified⌞
{{test}}⌞
</p> |
|
441 |
fail |
int keyword |
{{int:youhavenewmessages|lots of money|not!}} |
<p>You have lots of money (not!).⌞
</p> |
<p><a href="/wiki/Template:Int:youhavenewmessages" title="Template:Int:youhavenewmessages">Template:Int:youhavenewmessages</a>⌞
</p> |
442 |
pass |
<includeonly> and <noinclude> being included |
{{Includes}} |
<p>Foobar⌞
</p> |
<p>Foobar⌞
</p> |
443 |
pass |
<onlyinclude> being included |
{{Includes2}} |
<p>Foo⌞
</p> |
<p>Foo⌞
</p> |
444 |
pass |
<onlyinclude> and <includeonly> being included |
{{Includes3}} |
<p>Foo⌞
</p> |
<p>Foo⌞
</p> |
445 |
pass |
<includeonly> and <noinclude> on a page |
Foo<noinclude>zar</noinclude><includeonly>bar</includeonly> |
<p>Foozar⌞
</p> |
<p>Foozar⌞
</p> |
446 |
pass |
Un-closed <noinclude> |
<noinclude> |
|
|
447 |
pass |
<onlyinclude> on a page |
<onlyinclude>Foo</onlyinclude>bar |
<p>Foobar⌞
</p> |
<p>Foobar⌞
</p> |
448 |
pass |
Un-closed <onlyinclude> |
<onlyinclude> |
|
|
449 |
fail |
Self-closed noinclude, includeonly, onlyinclude tags |
<noinclude />⌞
<includeonly />⌞
<onlyinclude /> |
<p><br />⌞
</p> |
|
450 |
fail |
Unbalanced includeonly and noinclude tags |
{|⌞
|a</noinclude>⌞
|b</noinclude></noinclude>⌞
|c</noinclude></includeonly>⌞
|d</includeonly></includeonly>⌞
|} |
<table>⌞
<tr>⌞
<td>a⌞
</td>⌞
<td>b⌞
</td>⌞
<td>c</includeonly>⌞
</td>⌞
<td>d</includeonly></includeonly>⌞
</td></tr></table>⌞
|
<table><tr><td>a</td><td>b</td><td>c</td><td>d</td></tr></table> |
451 |
fail |
Bug 6563: Edit link generation for section shown by <includeonly> |
{{includeonly section}} |
<h2><span class="mw-headline" id="Includeonly_section">Includeonly section</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Template:Includeonly_section&action=edit&section=T-1" title="Template:Includeonly section">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Section_T-1">Section T-1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Template:Includeonly_section&action=edit&section=T-2" title="Template:Includeonly section">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Includeonly section">Includeonly section</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Includeonly section">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Section T-1">Section T-1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section T-1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
452 |
skip |
Bug 6563: Section extraction for section shown by <includeonly>
|
<includeonly>⌞
==Includeonly section==⌞
</includeonly>⌞
==Section T-2== |
==Section T-2== |
|
453 |
fail |
Bug 6563: Edit link generation for section suppressed by <includeonly> |
<includeonly>⌞
==Includeonly section==⌞
</includeonly>⌞
==Section 1== |
<h2><span class="mw-headline" id="Section_1">Section 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Section 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Section 1">Section 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
454 |
skip |
Bug 6563: Section extraction for section suppressed by <includeonly>
|
<includeonly>⌞
==Includeonly section==⌞
</includeonly>⌞
==Section 1== |
==Section 1== |
|
455 |
pass |
Un-closed <includeonly> |
<includeonly> |
|
|
456 |
pass |
0. includeonly around the entire attribute |
<span <includeonly>id="v1"</includeonly><noinclude>id="v2"</noinclude>>bar</span> |
<p><span id="v2">bar</span>⌞
</p> |
<p><span id="v2">bar</span>⌞
</p> |
457 |
pass |
1. includeonly in html attr key |
<span <noinclude>id</noinclude><includeonly>about</includeonly>="foo">bar</span> |
<p><span id="foo">bar</span>⌞
</p> |
<p><span id="foo">bar</span>⌞
</p> |
458 |
pass |
2. includeonly in html attr value |
<span id="<noinclude>v1</noinclude><includeonly>v2</includeonly>">bar</span>⌞
<span id=<noinclude>"v1"</noinclude><includeonly>"v2"</includeonly>>bar</span> |
<p><span id="v1">bar</span>⌞
<span id="v1">bar</span>⌞
</p> |
<p><span id="v1">bar</span>⌞
<span id="v1">bar</span>⌞
</p> |
459 |
pass |
3. includeonly in part of an attr value |
<span style="color:<noinclude>red</noinclude><includeonly>blue</includeonly>;">bar</span> |
<p><span style="color:red;">bar</span>⌞
</p> |
<p><span style="color:red;">bar</span>⌞
</p> |
460 |
pass |
Templates: Template Name/Arg clash: 1. Use of positional param |
{{quote|foo}} |
<p>foo⌞
</p> |
<p>foo⌞
</p> |
461 |
pass |
Templates: Template Name/Arg clash: 2. Use of named param |
{{quote|quote=foo}} |
<p>foo⌞
</p> |
<p>foo⌞
</p> |
462 |
pass |
Templates: Template Name/Arg clash: 3. Use of named param with empty input |
{{quote|quote}} |
<p>quote⌞
</p> |
<p>quote⌞
</p> |
463 |
pass |
Templates: 1. Simple use |
{{echo|Foo}} |
<p>Foo⌞
</p> |
<p>Foo⌞
</p> |
464 |
tidy |
Templates: 2. Inside a block tag |
<div>{{echo|Foo}}</div> |
<div>Foo</div>⌞
|
<div>Foo</div> |
465 |
pass |
Templates: P-wrapping: 1a. Templates on consecutive lines |
{{echo|Foo}}⌞
{{echo|bar}} |
<p>Foo⌞
bar⌞
</p> |
<p>Foo⌞
bar⌞
</p> |
466 |
pass |
Templates: P-wrapping: 1b. Templates on consecutive lines |
Foo⌞
⌞
{{echo|bar}}⌞
{{echo|baz}} |
<p>Foo⌞
</p><p>bar⌞
baz⌞
</p> |
<p>Foo⌞
</p><p>bar⌞
baz⌞
</p> |
467 |
fail |
Templates: P-wrapping: 1c. Templates on consecutive lines |
{{echo|Foo}}⌞
{{echo|bar}} <div>baz</div> |
<p>Foo⌞
</p>⌞
bar <div>baz</div>⌞
|
<p>Foo⌞
bar ⌞
</p><div>baz</div> |
468 |
fail |
Templates: P-wrapping: 1d. Template preceded by comment-only line
|
<!-- foo -->⌞
{{echo|Bar}} |
<!-- foo -->⌞
<p typeof="mw:Transclusion">Bar⌞
</p> |
<p>Bar⌞
</p> |
469 |
pass |
Templates: Inline Text: 1. Multiple tmeplate uses |
{{echo|Foo}}bar{{echo|baz}} |
<p>Foobarbaz⌞
</p> |
<p>Foobarbaz⌞
</p> |
470 |
pass |
Templates: Inline Text: 2. Back-to-back template uses |
{{echo|Foo}}{{echo|bar}} |
<p>Foobar⌞
</p> |
<p>Foobar⌞
</p> |
471 |
tidy |
Templates: Block Tags: 1. Multiple template uses |
{{echo|<div>Foo</div>}}<div>bar</div>{{echo|<div>baz</div>}} |
<div>Foo</div><div>bar</div><div>baz</div>⌞
|
<div>Foo</div><div>bar</div><div>baz</div> |
472 |
tidy |
Templates: Block Tags: 2. Back-to-back template uses |
{{echo|<div>Foo</div>}}{{echo|<div>bar</div>}} |
<div>Foo</div><div>bar</div>⌞
|
<div>Foo</div><div>bar</div> |
473 |
fail |
Templates: Links: 1. Simple example |
{{echo|[[Foo|bar]]}} |
<p><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">bar</a>⌞
</p> |
<p><a href="/wiki/Foo" title="Foo">bar</a>⌞
</p> |
474 |
fail |
Templates: Links: 2. Generation of link href |
[[{{echo|Foo}}|bar]] |
<p><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">bar</a>⌞
</p> |
<p><a href="/wiki/Foo" title="Foo">bar</a>⌞
</p> |
475 |
fail |
Templates: Links: 3. Generation of part of a link href |
[[Fo{{echo|o}}|bar]]⌞
⌞
[[Foo{{echo|bar}}]]⌞
⌞
[[Foo{{echo|bar}}baz]]⌞
⌞
[[Foo{{echo|bar}}|bar]]⌞
⌞
[[:Foo{{echo|bar}}]]⌞
⌞
[[:Foo{{echo|bar}}|bar]] |
<p><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">bar</a>⌞
</p><p><a href="/index.php?title=Foobar&action=edit&redlink=1" class="new" title="Foobar (page does not exist)">Foobar</a>⌞
</p><p><a href="/index.php?title=Foobarbaz&action=edit&redlink=1" class="new" title="Foobarbaz (page does not exist)">Foobarbaz</a>⌞
</p><p><a href="/index.php?title=Foobar&action=edit&redlink=1" class="new" title="Foobar (page does not exist)">bar</a>⌞
</p><p><a href="/index.php?title=Foobar&action=edit&redlink=1" class="new" title="Foobar (page does not exist)">Foobar</a>⌞
</p><p><a href="/index.php?title=Foobar&action=edit&redlink=1" class="new" title="Foobar (page does not exist)">bar</a>⌞
</p> |
<p><a href="/wiki/Foo" title="Foo">bar</a>⌞
</p><p><a href="/wiki/Foobar" title="Foobar">Foobar</a>⌞
</p><p><a href="/wiki/Foobarbaz" title="Foobarbaz">Foobarbaz</a>⌞
</p><p><a href="/wiki/Foobar" title="Foobar">bar</a>⌞
</p><p><a href="/wiki/:Foobar" title=":Foobar">:Foobar</a>⌞
</p><p><a href="/wiki/:Foobar" title=":Foobar">bar</a>⌞
</p> |
476 |
fail |
Templates: Links: 4. Multiple templates generating link href |
[[{{echo|F}}{{echo|o}}ob{{echo|ar}}]] |
<p><a href="/index.php?title=Foobar&action=edit&redlink=1" class="new" title="Foobar (page does not exist)">Foobar</a>⌞
</p> |
<p><a href="/wiki/Foobar" title="Foobar">Foobar</a>⌞
</p> |
477 |
fail |
Templates: Links: 5. Generation of link text |
[[Foo|{{echo|bar}}]] |
<p><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">bar</a>⌞
</p> |
<p><a href="/wiki/Foo" title="Foo">bar</a>⌞
</p> |
478 |
fail |
Templates: Links: 5. Nested templates (only outermost template should be marked) |
{{echo|[[{{echo|Foo}}|bar]]}} |
<p><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">bar</a>⌞
</p> |
<p><a href="/wiki/Foo" title="Foo">bar</a>⌞
</p> |
479 |
tidy |
Templates: HTML Tag: 1. Generation of HTML attr. key |
<div {{echo|style}}="color:red;">foo</div> |
<div style="color:red;">foo</div>⌞
|
<div style="color:red;">foo</div> |
480 |
tidy |
Templates: HTML Tag: 2. Generation of HTML attr. value |
<div style={{echo|'color:red;'}}>foo</div> |
<div style="color:red;">foo</div>⌞
|
<div style="color:red;">foo</div> |
481 |
tidy |
Templates: HTML Tag: 3. Generation of HTML attr key and value |
<div {{echo|style}}={{echo|'color:red;'}}>foo</div> |
<div style="color:red;">foo</div>⌞
|
<div style="color:red;">foo</div> |
482 |
tidy |
Templates: HTML Tag: 4. Generation of starting piece of HTML attr value |
<div title="{{echo|This is a long title}} with just one piece templated">foo</div> |
<div title="This is a long title with just one piece templated">foo</div>⌞
|
<div title="This is a long title with just one piece templated">foo</div> |
483 |
tidy |
Templates: HTML Tag: 5. Generation of middle piece of HTML attr value |
<div title="This is a long title with just {{echo|one piece}} templated">foo</div> |
<div title="This is a long title with just one piece templated">foo</div>⌞
|
<div title="This is a long title with just one piece templated">foo</div> |
484 |
tidy |
Templates: HTML Tag: 6. Generation of end piece of HTML attr value |
<div title="This is a long title with just one piece {{echo|templated}}">foo</div> |
<div title="This is a long title with just one piece templated">foo</div>⌞
|
<div title="This is a long title with just one piece templated">foo</div> |
485 |
tidy |
Templates: HTML Tag: 7. Generation of partial attribute key string |
<div st{{echo|yle}}="color:red;">foo</div> |
<div style="color:red;">foo</div>⌞
|
<div style="color:red;">foo</div> |
486 |
tidy |
Templates: HTML Tables: 1. Generating start of a HTML table |
{{echo|<table><tr><td>foo</td>}}</tr></table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
487 |
tidy |
Templates: HTML Tables: 2a. Generating middle of a HTML table |
<table><tr>{{echo|<td>foo</td>}}</tr></table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
488 |
tidy |
Templates: HTML Tables: 2b. Generating middle of a HTML table |
<table>{{echo|<tr><td>foo</td></tr>}}</table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
489 |
tidy |
Templates: HTML Tables: 3. Generating end of a HTML table |
<table><tr>{{echo|<td>foo</td></tr></table>}} |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
490 |
tidy |
Templates: HTML Tables: 4a. Generating a single tag of a HTML table |
{{echo|<table>}}<tr><td>foo</td></tr></table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
491 |
tidy |
Templates: HTML Tables: 4b. Generating a single tag of a HTML table |
<table>{{echo|<tr>}}<td>foo</td></tr></table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
492 |
tidy |
Templates: HTML Tables: 4c. Generating a single tag of a HTML table |
<table><tr>{{echo|<td>}}foo</td></tr></table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
493 |
tidy |
Templates: HTML Tables: 4d. Generating a single tag of a HTML table |
<table><tr><td>foo{{echo|</td>}}</tr></table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
494 |
tidy |
Templates: HTML Tables: 4e. Generating a single tag of a HTML table |
<table><tr><td>foo</td>{{echo|</tr>}}</table> |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
495 |
tidy |
Templates: HTML Tables: 4f. Generating a single tag of a HTML table |
<table><tr><td>foo</td></tr>{{echo|</table>}} |
<table><tr><td>foo</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
496 |
fail |
Templates: HTML Tables: 5. Proper fostering of categories from inside
|
<table>[[Category:foo1]]<tr><td>foo</td></tr></table>⌞
<!--Two categories (Bug 50330)-->⌞
<table>[[Category:bar1]][[Category:bar2]]<tr><td>foo</td></tr></table> |
<link rel="mw:WikiLink/Category" href="./Category:Foo1"><table><tbody><tr><td>foo</td></tr></tbody></table>⌞
<!--Two categories (Bug 50330)-->⌞
<link rel="mw:WikiLink/Category" href="./Category:Bar1"><link rel="mw:WikiLink/Category" href="./Category:Bar2"><table><tbody><tr><td>foo</td></tr></tbody></table> |
<table/><p><a href="/wiki/Category:foo1" title="Category:foo1">Category:foo1</a><tr><td>foo</td></tr></table>⌞
</p><table/><p><a href="/wiki/Category:bar1" title="Category:bar1">Category:bar1</a><a href="/wiki/Category:bar2" title="Category:bar2">Category:bar2</a><tr><td>foo</td></tr></table>⌞
</p> |
497 |
fail |
Templates: Wiki Tables: 1a. Fostering of entire template content |
{|⌞
{{echo|a}}⌞
|} |
<table>⌞
a⌞
<tr><td></td></tr></table>⌞
|
<p>{|⌞
a⌞
|}⌞
</p> |
498 |
fail |
Templates: Wiki Tables: 1b. Fostering of entire template content |
{|⌞
{{echo|<div>}}⌞
foo⌞
{{echo|</div>}}⌞
|} |
<table>⌞
<div>⌞
<p>foo⌞
</p>⌞
</div>⌞
<tr><td></td></tr></table>⌞
|
<p>{|⌞
</p><div>foo</div><p>|}⌞
</p> |
499 |
fail |
Templates: Wiki Tables: 2. Fostering of partial template content |
{|⌞
{{echo|a⌞
<div>b</div>}}⌞
|} |
<table>⌞
a⌞
<div>b</div>⌞
<tr><td></td></tr></table>⌞
|
<p>{|⌞
a⌞
</p><div>b</div><p>|}⌞
</p> |
500 |
tidy |
Templates: Wiki Tables: 3. td-content via multiple templates |
{|⌞
{{echo|{{pipe}}a}}{{echo|b}}⌞
|} |
<table>⌞
<tr>⌞
<td>ab⌞
</td></tr></table>⌞
|
<table><tr><td>ab</td></tr></table> |
501 |
fail |
Templates: Wiki Tables: 4. Templated tags, no content |
{{tbl-start}}⌞
{{tbl-end}} |
<table>⌞
<tr><td></td></tr></table>⌞
|
<table/> |
502 |
tidy |
Templates: Wiki Tables: 5. Templated tags, regular td-tags |
{{tbl-start}}⌞
|foo⌞
{{tbl-end}} |
<table>⌞
<tr>⌞
<td>foo⌞
</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
503 |
tidy |
Templates: Wiki Tables: 6. Templated tags, templated td-tags |
{{tbl-start}}⌞
{{!}}foo⌞
{{tbl-end}} |
<table>⌞
<tr>⌞
<td>foo⌞
</td></tr></table>⌞
|
<table><tr><td>foo</td></tr></table> |
504 |
fail |
Templates: Lists: Multi-line list-items via templates |
*{{echo|a {{nonexistent|⌞
unused}}}}⌞
*{{echo|b {{nonexistent|⌞
unused}}}} |
<ul><li>a <a href="/index.php?title=Template:Nonexistent&action=edit&redlink=1" class="new" title="Template:Nonexistent (page does not exist)">Template:Nonexistent</a>⌞
</li><li>b <a href="/index.php?title=Template:Nonexistent&action=edit&redlink=1" class="new" title="Template:Nonexistent (page does not exist)">Template:Nonexistent</a>⌞
</li></ul>⌞
|
<ul><li>a <a href="/wiki/Template:Nonexistent" title="Template:Nonexistent">Template:Nonexistent</a>⌞
</li><li>b <a href="/wiki/Template:Nonexistent" title="Template:Nonexistent">Template:Nonexistent</a>⌞
</li></ul>⌞
|
505 |
pass |
Templates: Ugly nesting: 1. Quotes opened/closed across templates (echo) |
{{echo|''a}}{{echo|b''c''d}}{{echo|''e}} |
<p><i>ab</i>c<i>d</i>e⌞
</p> |
<p><i>ab</i>c<i>d</i>e⌞
</p> |
506 |
fail |
Templates: Ugly nesting: 2. Quotes opened/closed across templates (echo_with_span)
(PHP parser generates misnested html)
|
{{echo_with_span|''a}}{{echo_with_span|b''c''d}}{{echo_with_span|''e}} |
<p><span typeof="mw:Transclusion"><i>a</i></span><i typeof="mw:Transclusion"><span>b</span></i><span>c</span><i>d</i><span>e</span></p> |
<p><span>''a</span><span>b<i>c</i>d</span><span>''e</span>⌞
</p> |
507 |
fail |
Templates: Ugly nesting: 3. Quotes opened/closed across templates (echo_with_div)
(PHP parser generates misnested html)
|
{{echo_with_div|''a}}{{echo_with_div|b''c''d}}{{echo_with_div|''e}} |
<div typeof="mw:Transclusion"><i>a</i></div>⌞
<div typeof="mw:Transclusion"><i>b</i>c<i>d</i></div>⌞
<div typeof="mw:Transclusion">e</div> |
<div>''a</div><div>b<i>c</i>d⌞
</div><div>''e</div> |
508 |
fail |
Templates: Ugly nesting: 4. Divs opened/closed across templates |
a<div>b{{echo|c</div>d}}e |
a<div>bc</div>de⌞
|
<p>a⌞
</p><div>bc</div><p>de⌞
</p> |
509 |
fail |
Templates: Ugly templates: 1. Navbox template parses badly leading to table misnesting
(Parsoid-centric)
|
{|⌞
|{{echo|foo</table>}}⌞
|bar⌞
|} |
<table typeof="mw:Transclusion">⌞
<tbody>⌞
<tr>⌞
<td>foo</td></tr></tbody></table><span>bar</span> |
<table><tr><td>foo</table></td><td>bar</td></tr></table> |
510 |
fail |
Templates: Ugly templates: 2. Navbox template parses badly leading to table misnesting
(Parsoid-centric)
|
<table>⌞
<tr>⌞
<td>⌞
<table>⌞
<tr>⌞
<td>1. {{echo|foo </table>}}</td>⌞
<td> bar </td>⌞
<td>2. {{echo|baz </table>}}</td>⌞
</tr>⌞
<tr>⌞
<td>abc</td>⌞
</tr>⌞
</table>⌞
</td>⌞
</tr>⌞
<tr>⌞
<td>xyz</td>⌞
</tr>⌞
</table> |
<table about="#mwt1" typeof="mw:Transclusion">⌞
<tbody><tr >⌞
<td >⌞
<table >⌞
<tbody><tr >⌞
<td >1. foo </td></tr></tbody></table></td>⌞
<td > bar </td>⌞
<td >2. baz </td></tr></tbody></table><span about="#mwt1">⌞
</span><span about="#mwt1">⌞
⌞
abc</span><span about="#mwt1">⌞
</span><span about="#mwt1">⌞
</span><span about="#mwt1">⌞
</span><span about="#mwt1">⌞
</span><span about="#mwt1">⌞
⌞
xyz</span><span about="#mwt1">⌞
</span><span about="#mwt1">⌞
</span> |
<table><tr><td><table><tr><td>1. foo </table></td><td> bar</td><td>2. baz </table></td></tr><tr><td>abc</td></tr></table><pre> </td>⌞
</tr>⌞
<tr>⌞
<td>xyz</td>⌞
</tr>⌞
</pre><p></table>⌞
</p></td></tr></table> |
511 |
pass |
Templates: Ugly templates: 3. newline-only template parameter |
foo {{echo|⌞
}} |
<p>foo ⌞
</p> |
<p>foo ⌞
</p> |
512 |
fail |
Templates: Ugly templates: 4. newline-only template parameter inconsistency |
{{echo|⌞
}} |
<p><br />⌞
</p> |
|
513 |
pass |
Parser Functions: 1. Simple example |
{{uc:foo}} |
<p>FOO⌞
</p> |
<p>FOO⌞
</p> |
514 |
pass |
Parser Functions: 2. Nested use (only outermost should be marked up) |
{{uc:{{lc:FOO}}}} |
<p>FOO⌞
</p> |
<p>FOO⌞
</p> |
515 |
skip |
pre-save transform: subst:
|
{{subst:test}} |
This is a test template |
|
516 |
skip |
pre-save transform: normal template
|
{{test}} |
{{test}} |
|
517 |
skip |
pre-save transform: nonexistent template
|
{{thistemplatedoesnotexist}} |
{{thistemplatedoesnotexist}} |
|
518 |
skip |
pre-save transform: subst magic variables
|
{{subst:SITENAME}} |
MediaWiki |
|
519 |
skip |
pre-save transform: subst: templates with parameters
|
{{subst:paramtest|param="something else"}} |
This is a test template with parameter "something else" |
|
520 |
skip |
pre-save transform: nowiki in subst (bug 1188)
|
{{subst:nowikitest}} |
<nowiki>'''not wiki'''</nowiki> |
|
521 |
skip |
pre-save transform: comment in subst (bug 1936)
|
{{subst:commenttest}} |
This template has <!-- a comment --> in it. |
|
522 |
skip |
pre-save transform: unclosed tag
|
<nowiki>'''not wiki''' |
<nowiki>'''not wiki''' |
|
523 |
skip |
pre-save transform: mixed tag case
|
<NOwiki>'''not wiki'''</noWIKI> |
<NOwiki>'''not wiki'''</noWIKI> |
|
524 |
skip |
pre-save transform: unclosed comment in <nowiki>
|
wiki<nowiki>nowiki<!--nowiki</nowiki>wiki |
wiki<nowiki>nowiki<!--nowiki</nowiki>wiki |
|
525 |
pass |
(confirming safety of fix for subst bug 1936) |
{{Template:dangerous}} |
<p>@<span>Oh no</span>⌞
</p> |
<p>@<span>Oh no</span>⌞
</p> |
526 |
skip |
pre-save transform: comment containing gallery (bug 5024)
|
<!-- <gallery>data</gallery> --> |
<!-- <gallery>data</gallery> --> |
|
527 |
skip |
pre-save transform: comment containing extension
|
<!-- <tag>data</tag> --> |
<!-- <tag>data</tag> --> |
|
528 |
skip |
pre-save transform: comment containing nowiki
|
<!-- <nowiki>data</nowiki> --> |
<!-- <nowiki>data</nowiki> --> |
|
529 |
skip |
pre-save transform: <noinclude> in subst (bug 3298)
|
{{subst:Includes}} |
Foobar |
|
530 |
skip |
pre-save transform: <onlyinclude> in subst (bug 3298)
|
{{subst:Includes2}} |
Foo |
|
531 |
skip |
bug 22297: safesubst: works during PST
|
{{subst:SafeSubstTest}}{{safesubst:SubstTest}} |
FoobarFoobar |
|
532 |
fail |
bug 22297: safesubst: works during normal parse |
{{SafeSubstTest}} |
<p>Foobar⌞
</p> |
<p><a href="/wiki/Template:Safesubst:Includes" title="Template:Safesubst:Includes">Template:Safesubst:Includes</a>⌞
</p> |
533 |
fail |
subst: does not work during normal parse |
{{SubstTest}} |
<p>{{subst:Includes}}⌞
</p> |
<p><a href="/wiki/Template:Subst:Includes" title="Template:Subst:Includes">Template:Subst:Includes</a>⌞
</p> |
534 |
skip |
pre-save transform: context links ("pipe trick")
|
[[Article (context)|]]⌞
[[Bar:Article|]]⌞
[[:Bar:Article|]]⌞
[[Bar:Article (context)|]]⌞
[[:Bar:Article (context)|]]⌞
[[|Article]]⌞
[[|Article (context)]]⌞
[[Bar:X (Y) Z|]]⌞
[[:Bar:X (Y) Z|]] |
[[Article (context)|Article]]⌞
[[Bar:Article|Article]]⌞
[[:Bar:Article|Article]]⌞
[[Bar:Article (context)|Article]]⌞
[[:Bar:Article (context)|Article]]⌞
[[Article]]⌞
[[Article (context)]]⌞
[[Bar:X (Y) Z|X (Y) Z]]⌞
[[:Bar:X (Y) Z|X (Y) Z]] |
|
535 |
skip |
pre-save transform: context links ("pipe trick") with interwiki prefix
|
[[interwiki:Article|]]⌞
[[:interwiki:Article|]]⌞
[[interwiki:Bar:Article|]]⌞
[[:interwiki:Bar:Article|]] |
[[interwiki:Article|Article]]⌞
[[:interwiki:Article|Article]]⌞
[[interwiki:Bar:Article|Bar:Article]]⌞
[[:interwiki:Bar:Article|Bar:Article]] |
|
536 |
skip |
pre-save transform: context links ("pipe trick") with parens in title
- pst
- title: Somearticle (context)
|
[[|Article]] |
[[Article (context)|Article]] |
|
537 |
skip |
pre-save transform: context links ("pipe trick") with comma in title
- pst
- title: Someplace, Somewhere
|
[[|Otherplace]]⌞
[[Otherplace, Elsewhere|]]⌞
[[Otherplace, Elsewhere, Anywhere|]] |
[[Otherplace, Somewhere|Otherplace]]⌞
[[Otherplace, Elsewhere|Otherplace]]⌞
[[Otherplace, Elsewhere, Anywhere|Otherplace]] |
|
538 |
skip |
pre-save transform: context links ("pipe trick") with parens and comma
- pst
- title: Someplace (IGNORED), Somewhere
|
[[|Otherplace]]⌞
[[Otherplace (place), Elsewhere|]] |
[[Otherplace, Somewhere|Otherplace]]⌞
[[Otherplace (place), Elsewhere|Otherplace]] |
|
539 |
skip |
pre-save transform: context links ("pipe trick") with comma and parens
- pst
- title: Who, me? (context)
|
[[|Yes, you.]]⌞
[[Me, Myself, and I (1937 song)|]] |
[[Yes, you. (context)|Yes, you.]]⌞
[[Me, Myself, and I (1937 song)|Me, Myself, and I]] |
|
540 |
skip |
pre-save transform: context links ("pipe trick") with namespace
- pst
- title: Ns:Somearticle
|
[[|Article]] |
[[Ns:Article|Article]] |
|
541 |
skip |
pre-save transform: context links ("pipe trick") with namespace and parens
- pst
- title: Ns:Somearticle (context)
|
[[|Article]] |
[[Ns:Article (context)|Article]] |
|
542 |
skip |
pre-save transform: context links ("pipe trick") with namespace and comma
- pst
- title: Ns:Somearticle, Context, Whatever
|
[[|Article]] |
[[Ns:Article, Context, Whatever|Article]] |
|
543 |
skip |
pre-save transform: context links ("pipe trick") with namespace, comma and parens
- pst
- title: Ns:Somearticle, Context (context)
|
[[|Article]] |
[[Ns:Article (context)|Article]] |
|
544 |
skip |
pre-save transform: context links ("pipe trick") with namespace, parens and comma
- pst
- title: Ns:Somearticle (IGNORED), Context
|
[[|Article]] |
[[Ns:Article, Context|Article]] |
|
545 |
skip |
pre-save transform: context links ("pipe trick") with full-width parens and no space (Japanese and Chinese style, bug 30149)
|
[[Article(context)|]]⌞
[[Bar:Article(context)|]]⌞
[[:Bar:Article(context)|]]⌞
[[|Article(context)]]⌞
[[Bar:X(Y)Z|]]⌞
[[:Bar:X(Y)Z|]] |
[[Article(context)|Article]]⌞
[[Bar:Article(context)|Article]]⌞
[[:Bar:Article(context)|Article]]⌞
[[Article(context)]]⌞
[[Bar:X(Y)Z|X(Y)Z]]⌞
[[:Bar:X(Y)Z|X(Y)Z]] |
|
546 |
skip |
pre-save transform: context links ("pipe trick") with full-width parens and space (Japanese and Chinese style, bug 30149)
|
[[Article (context)|]]⌞
[[Bar:Article (context)|]]⌞
[[:Bar:Article (context)|]]⌞
[[|Article (context)]]⌞
[[Bar:X (Y) Z|]]⌞
[[:Bar:X (Y) Z|]] |
[[Article (context)|Article]]⌞
[[Bar:Article (context)|Article]]⌞
[[:Bar:Article (context)|Article]]⌞
[[Article (context)]]⌞
[[Bar:X (Y) Z|X (Y) Z]]⌞
[[:Bar:X (Y) Z|X (Y) Z]] |
|
547 |
skip |
pre-save transform: context links ("pipe trick") with parens and no space (Korean style, bug 30149)
|
[[Article(context)|]]⌞
[[Bar:Article(context)|]]⌞
[[:Bar:Article(context)|]]⌞
[[|Article(context)]]⌞
[[Bar:X(Y)Z|]]⌞
[[:Bar:X(Y)Z|]] |
[[Article(context)|Article]]⌞
[[Bar:Article(context)|Article]]⌞
[[:Bar:Article(context)|Article]]⌞
[[Article(context)]]⌞
[[Bar:X(Y)Z|X(Y)Z]]⌞
[[:Bar:X(Y)Z|X(Y)Z]] |
|
548 |
skip |
pre-save transform: context links ("pipe trick") with commas (bug 21660)
|
[[Article (context), context|]]⌞
[[Article (context),context|]]⌞
[[Bar:Article (context), context|]]⌞
[[Bar:Article (context),context|]]⌞
[[:Bar:Article (context), context|]]⌞
[[:Bar:Article (context),context|]] |
[[Article (context), context|Article]]⌞
[[Article (context),context|Article]]⌞
[[Bar:Article (context), context|Article]]⌞
[[Bar:Article (context),context|Article]]⌞
[[:Bar:Article (context), context|Article]]⌞
[[:Bar:Article (context),context|Article]] |
|
549 |
skip |
pre-save transform: trim trailing empty lines
|
Empty lines are trimmed⌞
⌞
⌞
⌞
|
Empty lines are trimmed |
|
550 |
skip |
pre-save transform: Signature expansion
|
* ~~~⌞
* <noinclude>~~~</noinclude>⌞
* <includeonly>~~~</includeonly>⌞
* <onlyinclude>~~~</onlyinclude> |
* [[Special:Contributions/127.0.0.1|127.0.0.1]]⌞
* <noinclude>[[Special:Contributions/127.0.0.1|127.0.0.1]]</noinclude>⌞
* <includeonly>[[Special:Contributions/127.0.0.1|127.0.0.1]]</includeonly>⌞
* <onlyinclude>[[Special:Contributions/127.0.0.1|127.0.0.1]]</onlyinclude> |
|
551 |
skip |
pre-save transform: Signature expansion in nowiki tags (bug 93)
|
Shall not expand:⌞
⌞
<nowiki>~~~~</nowiki>⌞
⌞
<includeonly><nowiki>~~~~</nowiki></includeonly>⌞
⌞
<noinclude><nowiki>~~~~</nowiki></noinclude>⌞
⌞
<onlyinclude><nowiki>~~~~</nowiki></onlyinclude>⌞
⌞
{{subst:Foo}} shall be converted to FOO⌞
⌞
As well as inside noinclude/onlyinclude⌞
<noinclude>{{subst:Foo}}</noinclude>⌞
<onlyinclude>{{subst:Foo}}</onlyinclude>⌞
⌞
But not inside includeonly⌞
<includeonly>{{subst:Foo}}</includeonly> |
Shall not expand:⌞
⌞
<nowiki>~~~~</nowiki>⌞
⌞
<includeonly><nowiki>~~~~</nowiki></includeonly>⌞
⌞
<noinclude><nowiki>~~~~</nowiki></noinclude>⌞
⌞
<onlyinclude><nowiki>~~~~</nowiki></onlyinclude>⌞
⌞
FOO shall be converted to FOO⌞
⌞
As well as inside noinclude/onlyinclude⌞
<noinclude>FOO</noinclude>⌞
<onlyinclude>FOO</onlyinclude>⌞
⌞
But not inside includeonly⌞
<includeonly>{{subst:Foo}}</includeonly> |
|
552 |
skip |
message transform: magic variables
|
{{SITENAME}} |
MediaWiki |
|
553 |
skip |
message transform: should not transform wiki markup
|
''test'' |
''test'' |
|
554 |
skip |
message transform: <noinclude> in transcluded template (bug 4926)
|
{{Includes}} |
Foobar |
|
555 |
skip |
message transform: <onlyinclude> in transcluded template (bug 4926)
|
{{Includes2}} |
Foo |
|
556 |
skip |
{{#special:}} page name, known
|
{{#special:Recentchanges}} |
Special:RecentChanges |
|
557 |
skip |
{{#special:}} page name with subpage, known
|
{{#special:Recentchanges/param}} |
Special:RecentChanges/param |
|
558 |
skip |
{{#special:}} page name, unknown
|
{{#special:foobar nonexistent}} |
Special:Foobar nonexistent |
|
559 |
skip |
{{#speciale:}} page name, known
|
{{#speciale:Recentchanges}} |
Special:RecentChanges |
|
560 |
skip |
{{#speciale:}} page name with subpage, known
|
{{#speciale:Recentchanges/param}} |
Special:RecentChanges/param |
|
561 |
skip |
{{#speciale:}} page name, unknown
|
{{#speciale:foobar nonexistent}} |
Special:Foobar_nonexistent |
|
562 |
fail |
Simple image |
[[Image:foobar.jpg]] |
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">Image:foobar.jpg</a>⌞
</p> |
563 |
fail |
Right-aligned image |
[[Image:foobar.jpg|right]] |
<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">right</a>⌞
</p> |
564 |
fail |
Simple image (using File: namespace, now canonical) |
[[File:foobar.jpg]] |
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/File:foobar.jpg" title="File:foobar.jpg">File:foobar.jpg</a>⌞
</p> |
565 |
fail |
Image with caption |
[[Image:foobar.jpg|right|Caption text]] |
<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image" title="Caption text"><img alt="Caption text" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">right|Caption text</a>⌞
</p> |
566 |
fail |
Image with empty attribute |
[[Image:foobar.jpg|right||Caption text]] |
<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image" title="Caption text"><img alt="Caption text" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">right||Caption text</a>⌞
</p> |
567 |
fail |
Image with link tails |
123[[Image:foobar.jpg]]456⌞
123[[Image:foobar.jpg|right]]456⌞
123[[Image:foobar.jpg|thumb]]456 |
<p>123<a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>456⌞
</p>⌞
123<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div>456⌞
123<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div></div></div></div>456⌞
|
<p>123<a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">Image:foobar.jpg</a>456⌞
123<a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">right</a>456⌞
123<a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumb</a>456⌞
</p> |
568 |
fail |
Image with multiple captions -- only last one is accepted |
[[Image:foobar.jpg|right|Caption1 - ignored|[[Caption2]] - ignored|Caption3 - accepted]] |
<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image" title="Caption3 - accepted"><img alt="Caption3 - accepted" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">right|Caption1 - ignored|<a href="/wiki/Caption2" title="Caption2">Caption2</a> - ignored|Caption3 - accepted</a>⌞
</p> |
569 |
fail |
Image with width attribute at different positions |
[[Image:foobar.jpg|200px|right|Caption]]⌞
[[Image:foobar.jpg|right|200px|Caption]]⌞
[[Image:foobar.jpg|right|Caption|200px]] |
<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image" title="Caption"><img alt="Caption" src="http://example.com/images/thumb/3/3a/Foobar.jpg/200px-Foobar.jpg" width="200" height="23" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/300px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/400px-Foobar.jpg 2x" /></a></div>⌞
<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image" title="Caption"><img alt="Caption" src="http://example.com/images/thumb/3/3a/Foobar.jpg/200px-Foobar.jpg" width="200" height="23" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/300px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/400px-Foobar.jpg 2x" /></a></div>⌞
<div class="floatright"><a href="/wiki/File:Foobar.jpg" class="image" title="Caption"><img alt="Caption" src="http://example.com/images/thumb/3/3a/Foobar.jpg/200px-Foobar.jpg" width="200" height="23" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/300px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/400px-Foobar.jpg 2x" /></a></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">200px|right|Caption</a>⌞
<a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">right|200px|Caption</a>⌞
<a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">right|Caption|200px</a>⌞
</p> |
570 |
fail |
Image with link parameter, wiki target |
[[Image:foobar.jpg|link=Target page]] |
<p><a href="/wiki/Target_page" title="Target page"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=Target page</a>⌞
</p> |
571 |
fail |
Image with link parameter, URL target |
[[Image:foobar.jpg|link=http://example.com/]] |
<p><a href="http://example.com/" rel="nofollow"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=<a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a></a>⌞
</p> |
572 |
fail |
Image with link parameter, wgExternalLinkTarget |
[[Image:foobar.jpg|link=http://example.com/]] |
<p><a href="http://example.com/" target="foobar" rel="nofollow"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=<a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a></a>⌞
</p> |
573 |
fail |
Image with link parameter, wgNoFollowLinks set to false |
[[Image:foobar.jpg|link=http://example.com/]] |
<p><a href="http://example.com/"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=<a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a></a>⌞
</p> |
574 |
fail |
Image with link parameter, wgNoFollowDomainExceptions |
[[Image:foobar.jpg|link=http://example.com/]] |
<p><a href="http://example.com/"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=<a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a></a>⌞
</p> |
575 |
fail |
Image with link parameter, wgExternalLinkTarget, unnamed parameter |
[[Image:foobar.jpg|link=http://example.com/|Title]] |
<p><a href="http://example.com/" title="Title" target="foobar" rel="nofollow"><img alt="Title" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=<a rel="nofollow" class="external free" href="http://example.com/|Title">http://example.com/|Title</a></a>⌞
</p> |
576 |
fail |
Image with empty link parameter |
[[Image:foobar.jpg|link=]] |
<p><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" />⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=</a>⌞
</p> |
577 |
fail |
Image with link parameter (wiki target) and unnamed parameter |
[[Image:foobar.jpg|link=Target page|Title]] |
<p><a href="/wiki/Target_page" title="Title"><img alt="Title" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=Target page|Title</a>⌞
</p> |
578 |
fail |
Image with link parameter (URL target) and unnamed parameter |
[[Image:foobar.jpg|link=http://example.com/|Title]] |
<p><a href="http://example.com/" title="Title" rel="nofollow"><img alt="Title" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">link=<a rel="nofollow" class="external free" href="http://example.com/|Title">http://example.com/|Title</a></a>⌞
</p> |
579 |
fail |
Thumbnail image with link parameter
|
[[Image:foobar.jpg|thumb|link=http://example.com/|Title]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="http://example.com/"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>Title</div></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumb|link=<a rel="nofollow" class="external free" href="http://example.com/|Title">http://example.com/|Title</a></a>⌞
</p> |
580 |
fail |
Manually-specified thumbnail image
|
[[Image:Foobar.jpg|thumb=Thumb.png|Title]] |
<div class="thumb tright"><div class="thumbinner" style="width:137px;"><a href="/wiki/File:Foobar.jpg"><img alt="" src="http://example.com/images/e/ea/Thumb.png" width="135" height="135" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>Title</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb=Thumb.png|Title</a>⌞
</p> |
581 |
fail |
Manually-specified thumbnail image with explicit link to wiki page
|
[[Image:Foobar.jpg|thumb=Thumb.png|link=Main Page|Title]] |
<div class="thumb tright"><div class="thumbinner" style="width:137px;"><a href="/wiki/Main_Page" title="Main Page"><img alt="" src="http://example.com/images/e/ea/Thumb.png" width="135" height="135" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>Title</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb=Thumb.png|link=Main Page|Title</a>⌞
</p> |
582 |
fail |
Manually-specified thumbnail image with explicit link to url
|
[[Image:Foobar.jpg|thumb=Thumb.png|link=http://example.com|Title]] |
<div class="thumb tright"><div class="thumbinner" style="width:137px;"><a href="http://example.com"><img alt="" src="http://example.com/images/e/ea/Thumb.png" width="135" height="135" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>Title</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb=Thumb.png|link=<a rel="nofollow" class="external free" href="http://example.com|Title">http://example.com|Title</a></a>⌞
</p> |
583 |
fail |
Manually-specified thumbnail image with explicit no link
|
[[Image:Foobar.jpg|thumb=Thumb.png|link=|Title]] |
<div class="thumb tright"><div class="thumbinner" style="width:137px;"><img alt="" src="http://example.com/images/e/ea/Thumb.png" width="135" height="135" class="thumbimage" /> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>Title</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb=Thumb.png|link=|Title</a>⌞
</p> |
584 |
fail |
Manually-specified thumbnail image with explicit link and alt text
|
[[Image:Foobar.jpg|thumb=Thumb.png|link=Main Page|alt=alttext|Title]] |
<div class="thumb tright"><div class="thumbinner" style="width:137px;"><a href="/wiki/Main_Page" title="Main Page"><img alt="alttext" src="http://example.com/images/e/ea/Thumb.png" width="135" height="135" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>Title</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb=Thumb.png|link=Main Page|alt=alttext|Title</a>⌞
</p> |
585 |
fail |
Image with frame and link |
[[Image:Foobar.jpg|frame|left|This is a test image [[Main Page]]]] |
<div class="thumb tleft"><div class="thumbinner" style="width:1943px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" class="thumbimage" /></a> <div class="thumbcaption">This is a test image <a href="/wiki/Main_Page" title="Main Page">Main Page</a></div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">frame|left|This is a test image <a href="/wiki/Main_Page" title="Main Page">Main Page</a></a>⌞
</p> |
586 |
fail |
Image with frame and link and explicit alt |
[[Image:Foobar.jpg|frame|left|This is a test image [[Main Page]]|alt=Altitude]] |
<div class="thumb tleft"><div class="thumbinner" style="width:1943px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Altitude" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" class="thumbimage" /></a> <div class="thumbcaption">This is a test image <a href="/wiki/Main_Page" title="Main Page">Main Page</a></div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">frame|left|This is a test image <a href="/wiki/Main_Page" title="Main Page">Main Page</a>|alt=Altitude</a>⌞
</p> |
587 |
fail |
Image with wiki markup in implicit alt |
[[Image:Foobar.jpg|testing '''bold''' in alt]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="testing bold in alt"><img alt="testing bold in alt" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">testing <b>bold</b> in alt</a>⌞
</p> |
588 |
fail |
Image with wiki markup in explicit alt |
[[Image:Foobar.jpg|alt=testing '''bold''' in alt]] |
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="testing bold in alt" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">alt=testing <b>bold</b> in alt</a>⌞
</p> |
589 |
fail |
Link to image page- image page normally doesn't exists, hence edit link
Add test with existing image page
#<p><a href="/wiki/File:Test" title="Image:Test">Image:test</a> |
[[:Image:test]] |
<p><a href="/index.php?title=File:Test&action=edit&redlink=1" class="new" title="File:Test (page does not exist)">Image:test</a>⌞
</p> |
<p><a href="/wiki/:Image:test" title=":Image:test">:Image:test</a>⌞
</p> |
590 |
fail |
bug 18784 Link to non-existent image page with caption should use caption as link text |
[[:Image:test|caption]] |
<p><a href="/index.php?title=File:Test&action=edit&redlink=1" class="new" title="File:Test (page does not exist)">caption</a>⌞
</p> |
<p><a href="/wiki/:Image:test" title=":Image:test">caption</a>⌞
</p> |
591 |
fail |
Frameless image caption with a free URL |
[[Image:foobar.jpg|http://example.com]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="http://example.com"><img alt="http://example.com" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg"><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a></a>⌞
</p> |
592 |
fail |
Thumbnail image caption with a free URL |
[[Image:foobar.jpg|thumb|http://example.com]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a></div></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumb|<a rel="nofollow" class="external free" href="http://example.com">http://example.com</a></a>⌞
</p> |
593 |
fail |
Thumbnail image caption with a free URL and explicit alt |
[[Image:foobar.jpg|thumb|http://example.com|alt=Alteration]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Alteration" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a></div></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumb|<a rel="nofollow" class="external free" href="http://example.com|alt=Alteration">http://example.com|alt=Alteration</a></a>⌞
</p> |
594 |
fail |
SVG thumbnails with no language set |
[[File:Foobar.svg|thumb|width=200]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.svg" class="image"><img alt="" src="http://example.com/images/thumb/f/ff/Foobar.svg/180px-Foobar.svg.png" width="180" height="180" class="thumbimage" srcset="http://example.com/images/thumb/f/ff/Foobar.svg/270px-Foobar.svg.png 1.5x, http://example.com/images/thumb/f/ff/Foobar.svg/360px-Foobar.svg.png 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.svg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>width=200</div></div></div>⌞
|
<p><a href="/wiki/File:Foobar.svg" title="File:Foobar.svg">thumb|width=200</a>⌞
</p> |
595 |
fail |
SVG thumbnails with language de |
[[File:Foobar.svg|thumb|width=200|lang=de]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/index.php?title=File:Foobar.svg&lang=de" class="image"><img alt="" src="http://example.com/images/thumb/f/ff/Foobar.svg/langde-180px-Foobar.svg.png" width="180" height="180" class="thumbimage" srcset="http://example.com/images/thumb/f/ff/Foobar.svg/langde-270px-Foobar.svg.png 1.5x, http://example.com/images/thumb/f/ff/Foobar.svg/langde-360px-Foobar.svg.png 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.svg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>width=200</div></div></div>⌞
|
<p><a href="/wiki/File:Foobar.svg" title="File:Foobar.svg">thumb|width=200|lang=de</a>⌞
</p> |
596 |
fail |
SVG thumbnails with invalid language code |
[[File:Foobar.svg|thumb|width=200|lang=invalid.language.code]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.svg" class="image"><img alt="" src="http://example.com/images/thumb/f/ff/Foobar.svg/180px-Foobar.svg.png" width="180" height="180" class="thumbimage" srcset="http://example.com/images/thumb/f/ff/Foobar.svg/270px-Foobar.svg.png 1.5x, http://example.com/images/thumb/f/ff/Foobar.svg/360px-Foobar.svg.png 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.svg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>lang=invalid.language.code</div></div></div>⌞
|
<p><a href="/wiki/File:Foobar.svg" title="File:Foobar.svg">thumb|width=200|lang=invalid.language.code</a>⌞
</p> |
597 |
fail |
BUG 1887: A ISBN with a thumbnail |
[[Image:foobar.jpg|thumb|ISBN 1235467890]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div><a href="/wiki/Special:BookSources/1235467890" class="internal mw-magiclink-isbn">ISBN 1235467890</a></div></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumb|ISBN 1235467890</a>⌞
</p> |
598 |
fail |
BUG 1887: A RFC with a thumbnail |
[[Image:foobar.jpg|thumb|This is RFC 12354]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>This is <a class="external mw-magiclink-rfc" rel="nofollow" href="//tools.ietf.org/html/rfc12354">RFC 12354</a></div></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumb|This is RFC 12354</a>⌞
</p> |
599 |
fail |
BUG 1887: A mailto link with a thumbnail |
[[Image:foobar.jpg|thumb|Please mailto:nobody@example.com]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>Please <a rel="nofollow" class="external free" href="mailto:nobody@example.com">mailto:nobody@example.com</a></div></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumb|Please <a rel="nofollow" class="external free" href="mailto:nobody@example.com">mailto:nobody@example.com</a></a>⌞
</p> |
600 |
fail |
BUG 648: Frameless image caption with a link |
[[Image:foobar.jpg|text with a [[link]] in it]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="text with a link in it"><img alt="text with a link in it" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">text with a <a href="/wiki/link" title="link">link</a> in it</a>⌞
</p> |
601 |
fail |
BUG 648: Frameless image caption with a link (suffix) |
[[Image:foobar.jpg|text with a [[link]]foo in it]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="text with a linkfoo in it"><img alt="text with a linkfoo in it" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">text with a <a href="/wiki/link" title="link">linkfoo</a> in it</a>⌞
</p> |
602 |
fail |
BUG 648: Frameless image caption with an interwiki link |
[[Image:foobar.jpg|text with a [[MeatBall:Link]] in it]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="text with a MeatBall:Link in it"><img alt="text with a MeatBall:Link in it" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">text with a <a href="/wiki/MeatBall:Link" title="MeatBall:Link">MeatBall:Link</a> in it</a>⌞
</p> |
603 |
fail |
BUG 648: Frameless image caption with a piped interwiki link |
[[Image:foobar.jpg|text with a [[MeatBall:Link|link]] in it]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="text with a link in it"><img alt="text with a link in it" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">text with a <a href="/wiki/MeatBall:Link" title="MeatBall:Link">link</a> in it</a>⌞
</p> |
604 |
fail |
Escape HTML special chars in image alt text |
[[Image:foobar.jpg|& < > "]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="& < > ""><img alt="& < > "" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">& < > "</a>⌞
</p> |
605 |
fail |
BUG 499: Alt text should have Ӓ, not &1234; |
[[Image:foobar.jpg|♀]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="♀"><img alt="♀" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">♀</a>⌞
</p> |
606 |
pass |
Broken image caption with link |
[[Image:Foobar.jpg|thumb|This is a broken caption. But [[Main Page|this]] is just an ordinary link. |
<p>[[Image:Foobar.jpg|thumb|This is a broken caption. But <a href="/wiki/Main_Page" title="Main Page">this</a> is just an ordinary link.⌞
</p> |
<p>[[Image:Foobar.jpg|thumb|This is a broken caption. But <a href="/wiki/Main_Page" title="Main Page">this</a> is just an ordinary link.⌞
</p> |
607 |
fail |
Image caption containing another image |
[[Image:Foobar.jpg|thumb|This is a caption with another [[Image:icon.png|image]] inside it!]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>This is a caption with another <a href="/index.php?title=Special:Upload&wpDestFile=Icon.png" class="new" title="File:Icon.png">image</a> inside it!</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb|This is a caption with another <a href="/wiki/Image:icon.png" title="Image:icon.png">image</a> inside it!</a>⌞
</p> |
608 |
fail |
Image caption containing a newline |
[[Image:Foobar.jpg|This⌞
*is some text]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="This *is some text"><img alt="This *is some text" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">This⌞
*is some text</a>⌞
</p> |
609 |
fail |
Parsoid: Image caption containing leading space
(The leading space should not trigger nowiki escaping in wt2wt mode) |
[[Image:Foobar.jpg|thumb| bar]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>bar</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb| bar</a>⌞
</p> |
610 |
fail |
Bug 3090: External links other than http: in image captions |
[[Image:Foobar.jpg|thumb|200px|This caption has [irc://example.net irc] and [https://example.com Secure] ext links in it.]] |
<div class="thumb tright"><div class="thumbinner" style="width:202px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/200px-Foobar.jpg" width="200" height="23" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/300px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/400px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>This caption has <a rel="nofollow" class="external text" href="irc://example.net">irc</a> and <a rel="nofollow" class="external text" href="https://example.com">Secure</a> ext links in it.</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb|200px|This caption has <a rel="nofollow" class="external text" href="irc://example.net">irc</a> and <a rel="nofollow" class="external text" href="https://example.com">Secure</a> ext links in it.</a>⌞
</p> |
611 |
fail |
Custom class |
[[Image:foobar.jpg|a|class=b]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="a"><img alt="a" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" class="b" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">a|class=b</a>⌞
</p> |
612 |
fail |
Localized image handling (1).
|
[[Archivo:Foobar.jpg|izquierda|enlace=foo|caption]] |
<div class="floatleft"><a href="/wiki/Foo" title="caption"><img alt="caption" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div>⌞
|
<p><a href="/wiki/Archivo:Foobar.jpg" title="Archivo:Foobar.jpg">izquierda|enlace=foo|caption</a>⌞
</p> |
613 |
fail |
Localized image handling (2).
|
[[Archivo:Foobar.jpg|miniatura|izquierda|enlace=foo|caption]] |
<div class="thumb tleft"><div class="thumbinner" style="width:182px;"><a href="/wiki/Foo" title="Foo"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/Archivo:Foobar.jpg" class="internal" title="Aumentar"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>caption</div></div></div>⌞
|
<p><a href="/wiki/Archivo:Foobar.jpg" title="Archivo:Foobar.jpg">miniatura|izquierda|enlace=foo|caption</a>⌞
</p> |
614 |
fail |
"border", "frameless" and "class" attributes on an image. |
[[File:Foobar.jpg|frameless|border|class=extra|caption]] |
<p><a href="/wiki/File:Foobar.jpg" class="image" title="caption"><img alt="caption" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="extra thumbborder" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a>⌞
</p> |
<p><a href="/wiki/File:Foobar.jpg" title="File:Foobar.jpg">frameless|border|class=extra|caption</a>⌞
</p> |
615 |
fail |
Redirected image |
[[Image:Barfoo.jpg]] |
<p><a href="/wiki/File:Barfoo.jpg" title="File:Barfoo.jpg">File:Barfoo.jpg</a>⌞
</p> |
<p><a href="/wiki/Image:Barfoo.jpg" title="Image:Barfoo.jpg">Image:Barfoo.jpg</a>⌞
</p> |
616 |
fail |
Missing image with uploads disabled
|
[[Image:Foobaz.jpg]] |
<p><a href="/wiki/File:Foobaz.jpg" title="File:Foobaz.jpg">File:Foobaz.jpg</a>⌞
</p> |
<p><a href="/wiki/Image:Foobaz.jpg" title="Image:Foobaz.jpg">Image:Foobaz.jpg</a>⌞
</p> |
617 |
fail |
Parsoid-specific image handling - simple image
|
[[Image:Foobar.jpg]] |
<p>⌞
<span class="mw-default-size" typeof="mw:Image">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg" height="220" width="1941">⌞
</a>⌞
</span>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">Image:Foobar.jpg</a>⌞
</p> |
618 |
fail |
Parsoid-specific image handling - simple image without link
|
[[Image:Foobar.jpg|link=]] |
<p>⌞
<span class="mw-default-size" typeof="mw:Image">⌞
<span>⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg" height="220" width="1941">⌞
</span>⌞
</span>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">link=</a>⌞
</p> |
619 |
fail |
Parsoid-specific image handling - simple image with specific link
|
[[Image:Foobar.jpg|link=Main Page]] |
<p>⌞
<span class="mw-default-size" typeof="mw:Image">⌞
<a href="Main_Page">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg" height="220" width="1941">⌞
</a>⌞
</span>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">link=Main Page</a>⌞
</p> |
620 |
fail |
Parsoid-specific image handling - simple image with size and middle alignment
|
[[Image:Foobar.jpg|50px|middle]] |
<p>⌞
<span class="mw-valign-middle" typeof="mw:Image">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/50px-Foobar.jpg" height="6" width="50">⌞
</a>⌞
</span>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">50px|middle</a>⌞
</p> |
621 |
fail |
Parsoid-specific image handling - simple image with both sizes, a baseline alignment, and a caption
|
[[Image:Foobar.jpg|500x10px|baseline|caption]] |
<p>⌞
<span class="mw-valign-baseline" typeof="mw:Image" data-mw="{"caption":"caption"}">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/89px-Foobar.jpg" height="10" width="89">⌞
</a>⌞
</span>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">500x10px|baseline|caption</a>⌞
</p> |
622 |
fail |
Parsoid-specific image handling - simple image with border and size spec
|
[[Image:Foobar.jpg|50px|border|caption]] |
<p>⌞
<span class="mw-image-border" typeof="mw:Image" data-mw="{"caption":"caption"}">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/50px-Foobar.jpg" height="6" width="50">⌞
</a>⌞
</span>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">50px|border|caption</a>⌞
</p> |
623 |
fail |
Parsoid-specific image handling - thumbnail with halign, valign, and caption
|
[[Image:Foobar.jpg|thumb|left|baseline|caption content]] |
<figure class="mw-default-size mw-halign-left mw-valign-baseline" typeof="mw:Image/Thumb">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/180px-Foobar.jpg" height="21" width="180" />⌞
</a>⌞
<figcaption>caption content</figcaption>⌞
</figure> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb|left|baseline|caption content</a>⌞
</p> |
624 |
fail |
Parsoid-specific image handling - thumbnail with specific size, halign, valign, and caption
|
[[Image:Foobar.jpg|thumb|50x50px|right|middle|caption]] |
<figure class="mw-halign-right mw-valign-middle" typeof="mw:Image/Thumb">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/50px-Foobar.jpg" height="6" width="50" />⌞
</a>⌞
<figcaption>caption</figcaption>⌞
</figure> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb|50x50px|right|middle|caption</a>⌞
</p> |
625 |
fail |
Parsoid-specific image handling - framed image with specific size and caption
|
[[Image:Foobar.jpg|500x50px|frame|caption]] |
<figure typeof="mw:Image/Frame">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/442px-Foobar.jpg" height="50" width="442" />⌞
</a>⌞
<figcaption>caption</figcaption>⌞
</figure> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">500x50px|frame|caption</a>⌞
</p> |
626 |
fail |
Parsoid-specific image handling - framed image with specific size, halign, valign, and caption
|
[[Image:Foobar.jpg|500x50px|frame|left|baseline|caption]] |
<figure class="mw-halign-left mw-valign-baseline" typeof="mw:Image/Frame">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/442px-Foobar.jpg" height="50" width="442" />⌞
</a>⌞
<figcaption>caption</figcaption>⌞
</figure> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">500x50px|frame|left|baseline|caption</a>⌞
</p> |
627 |
fail |
Parsoid-specific image handling - frameless image with specific size, border, and caption
|
[[Image:Foobar.jpg|frameless|500x50px|border|caption]] |
<p>⌞
<span class="mw-image-border" typeof="mw:Image/Frameless" data-mw="{"caption":"caption"}">⌞
<a href="File:Foobar.jpg">⌞
<img resource="./File:Foobar.jpg" src="//upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg/442px-Foobar.jpg" height="50" width="442" />⌞
</a>⌞
</p> |
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">frameless|500x50px|border|caption</a>⌞
</p> |
628 |
skip |
Subpage link
- subpage
- title: Subpage test
|
[[/subpage]] |
<p><a href="/wiki/Subpage_test/subpage" title="Subpage test/subpage">/subpage</a>⌞
</p> |
|
629 |
skip |
Subpage noslash link
- subpage
- title: Subpage test
|
[[/subpage/]] |
<p><a href="/wiki/Subpage_test/subpage" title="Subpage test/subpage">subpage</a>⌞
</p> |
|
630 |
skip |
Relative subpage noslash link
- parsoid: wt2wt, wt2html, html2html
- subpage
- title: Subpage test/1/2/3/4
|
[[../../subpage/]]⌞
⌞
[[../../subpage]] |
<p><a rel="mw:WikiLink" href="Subpage_test/1/2/subpage/">subpage</a></p>⌞
<p><a rel="mw:WikiLink" href="Subpage_test/1/2/subpage">Subpage_test/1/2/subpage</a></p> |
|
631 |
fail |
Parsoid: dot-slash prefixed wikilinks- parsoid: wt2wt, wt2html, html2html
|
[[./foo]]⌞
⌞
[[././bar]]⌞
⌞
[[././baz/]] |
<p><a rel="mw:WikiLink" href="./Foo">foo</a></p>⌞
<p><a rel="mw:WikiLink" href="./Bar">bar</a></p>⌞
<p><a rel="mw:WikiLink" href="./Baz/">baz/</a></p> |
<p><a href="/wiki/./foo" title="./foo">./foo</a>⌞
</p><p><a href="/wiki/././bar" title="././bar">././bar</a>⌞
</p><p><a href="/wiki/././baz/" title="././baz/">././baz/</a>⌞
</p> |
632 |
fail |
Disabled subpages |
[[/subpage]] |
<p><a href="/index.php?title=/subpage&action=edit&redlink=1" class="new" title="/subpage (page does not exist)">/subpage</a>⌞
</p> |
<p><a href="/wiki//subpage" title="/subpage">/subpage</a>⌞
</p> |
633 |
skip |
BUG 561: {{/Subpage}}
|
{{/Subpage}} |
<p><a href="/index.php?title=Page/Subpage&action=edit&redlink=1" class="new" title="Page/Subpage (page does not exist)">Page/Subpage</a>⌞
</p> |
|
634 |
fail |
Link to category |
[[:Category:MediaWiki User's Guide]] |
<p><a href="/wiki/Category:MediaWiki_User%27s_Guide" title="Category:MediaWiki User's Guide">Category:MediaWiki User's Guide</a>⌞
</p> |
<p><a href="/wiki/:Category:MediaWiki_User's_Guide" title=":Category:MediaWiki User's Guide">:Category:MediaWiki User's Guide</a>⌞
</p> |
635 |
fail |
Simple category
|
[[Category:MediaWiki User's Guide]] |
<a href="/wiki/Category:MediaWiki_User%27s_Guide" title="Category:MediaWiki User's Guide">MediaWiki User's Guide</a> |
<p><a href="/wiki/Category:MediaWiki_User's_Guide" title="Category:MediaWiki User's Guide">Category:MediaWiki User's Guide</a>⌞
</p> |
636 |
fail |
PAGESINCATEGORY invalid title fatal (r33546 fix) |
{{PAGESINCATEGORY:<bogus>}} |
<p>0⌞
</p> |
<p><a href="/wiki/Template:PAGESINCATEGORY:<bogus>" title="Template:PAGESINCATEGORY:<bogus>">Template:PAGESINCATEGORY:<bogus></a>⌞
</p> |
637 |
fail |
Category with different sort key
|
[[Category:MediaWiki User's Guide|Foo]] |
<a href="/wiki/Category:MediaWiki_User%27s_Guide" title="Category:MediaWiki User's Guide">MediaWiki User's Guide</a> |
<p><a href="/wiki/Category:MediaWiki_User's_Guide" title="Category:MediaWiki User's Guide">Foo</a>⌞
</p> |
638 |
fail |
Category with identical sort key
|
[[Category:MediaWiki User's Guide|MediaWiki User's Guide]] |
<a href="/wiki/Category:MediaWiki_User%27s_Guide" title="Category:MediaWiki User's Guide">MediaWiki User's Guide</a> |
<p><a href="/wiki/Category:MediaWiki_User's_Guide" title="Category:MediaWiki User's Guide">MediaWiki User's Guide</a>⌞
</p> |
639 |
skip |
Category with empty sort key
|
[[Category:MediaWiki User's Guide|]] |
[[Category:MediaWiki User's Guide|MediaWiki User's Guide]] |
|
640 |
skip |
Category with empty sort key and parentheses
|
[[Category:Foo (bar)|]] |
[[Category:Foo (bar)|Foo]] |
|
641 |
skip |
Category with link tail
|
123[[Category:Foo]]456 |
123[[Category:Foo]]456 |
|
642 |
skip |
Category with template
|
[[Category:{{echo|Foo}}]] |
[[Category:{{echo|Foo}}]] |
|
643 |
skip |
Category with template in sort key
|
[[Category:Foo|{{echo|Bar}}]] |
[[Category:Foo|{{echo|Bar}}]] |
|
644 |
skip |
Category with template in sort key and title
|
[[Category:{{echo|Foo}}|{{echo|Bar}}]] |
[[Category:{{echo|Foo}}|{{echo|Bar}}]] |
|
645 |
fail |
Category / paragraph interactions |
Foo [[Category:Baz]] Bar⌞
⌞
Foo [[Category:Baz]]⌞
Bar⌞
⌞
Foo⌞
[[Category:Baz]]⌞
Bar⌞
⌞
Foo⌞
[[Category:Baz]] Bar⌞
⌞
Foo⌞
[[Category:Baz]]⌞
[[Category:Baz]]⌞
[[Category:Baz]]⌞
Bar⌞
⌞
[[Category:Baz]]⌞
[[Category:Baz]]⌞
[[Category:Baz]]⌞
⌞
[[Category:Baz]]⌞
{{echo|[[Category:Baz]]}}⌞
[[Category:Baz]] |
<p>Foo Bar⌞
</p><p>Foo⌞
Bar⌞
</p><p>Foo⌞
Bar⌞
</p><p>Foo Bar⌞
</p><p>Foo⌞
Bar⌞
</p> |
<p>Foo <a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a> Bar⌞
</p><p>Foo <a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
Bar⌞
</p><p>Foo⌞
<a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
Bar⌞
</p><p>Foo⌞
<a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a> Bar⌞
</p><p>Foo⌞
<a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</p><pre><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</pre><p><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
Bar⌞
</p><p><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</p><pre><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</pre><p><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</p><p><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</p><pre><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</pre><p><a href="/wiki/Category:Baz" title="Category:Baz">Category:Baz</a>⌞
</p> |
646 |
fail |
Parsoid: Serialize link to category page with colon escape
|
⌞
[[:Category:Foo]]⌞
[[:Category:Foo|Bar]] |
<p>⌞
<a rel="mw:WikiLink" href="Category:Foo">Category:Foo</a>⌞
<a rel="mw:WikiLink" href="Category:Foo">Bar</a>⌞
</p> |
<p><a href="/wiki/:Category:Foo" title=":Category:Foo">:Category:Foo</a>⌞
<a href="/wiki/:Category:Foo" title=":Category:Foo">Bar</a>⌞
</p> |
647 |
fail |
Parsoid: Link prefix/suffixes aren't applied to category links
- language: is
- parsoid: wt2html, wt2wt, html2html
|
x[[Category:Foo]]y |
<p>x<link rel="mw:WikiLink/Category" href="Category:Foo">y</p> |
<p>x<a href="/wiki/Category:Foo" title="Category:Foo">Category:Fooy</a>⌞
</p> |
648 |
fail |
Parsoid: Serialize link to file page with colon escape
|
⌞
[[:File:Foo.png]]⌞
[[:File:Foo.png|Bar]] |
<p>⌞
<a rel="mw:WikiLink" href="File:Foo.png">File:Foo.png</a>⌞
<a rel="mw:WikiLink" href="File:Foo.png">Bar</a>⌞
</p> |
<p><a href="/wiki/:File:Foo.png" title=":File:Foo.png">:File:Foo.png</a>⌞
<a href="/wiki/:File:Foo.png" title=":File:Foo.png">Bar</a>⌞
</p> |
649 |
fail |
Parsoid: Serialize a genuine category link without colon escape
|
[[Category:Foo]]⌞
[[Category:Foo|Bar]] |
<link rel="mw:WikiLink/Category" href="Category:Foo">⌞
<link rel="mw:WikiLink/Category" href="Category:Foo#Bar"> |
<p><a href="/wiki/Category:Foo" title="Category:Foo">Category:Foo</a>⌞
<a href="/wiki/Category:Foo" title="Category:Foo">Bar</a>⌞
</p> |
650 |
fail |
Inter-language links
|
[[es:Alimento]]⌞
[[fr:Nourriture]]⌞
[[zh:食品]] |
es:Alimento fr:Nourriture zh:食品 |
<p><a href="/wiki/es:Alimento" title="es:Alimento">es:Alimento</a>⌞
<a href="/wiki/fr:Nourriture" title="fr:Nourriture">fr:Nourriture</a>⌞
<a href="/wiki/zh:食品" title="zh:食品">zh:食品</a>⌞
</p> |
651 |
fail |
Duplicate interlanguage links (bug 24502)
|
[[es:1]]⌞
[[es:2]]⌞
[[fr:1]]⌞
[[fr:2]] |
es:1 fr:1 |
<p><a href="/wiki/es:1" title="es:1">es:1</a>⌞
<a href="/wiki/es:2" title="es:2">es:2</a>⌞
<a href="/wiki/fr:1" title="fr:1">fr:1</a>⌞
<a href="/wiki/fr:2" title="fr:2">fr:2</a>⌞
</p> |
652 |
fail |
Basic section headings |
== Headline 1 ==⌞
Some text⌞
⌞
==Headline 2==⌞
More⌞
===Smaller headline===⌞
Blah blah |
<h2><span class="mw-headline" id="Headline_1">Headline 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Headline 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>Some text⌞
</p>⌞
<h2><span class="mw-headline" id="Headline_2">Headline 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Headline 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>More⌞
</p>⌞
<h3><span class="mw-headline" id="Smaller_headline">Smaller headline</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: Smaller headline">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<p>Blah blah⌞
</p> |
<h2><span class="mw-headline" id="Headline 1">Headline 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Headline 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>Some text⌞
</p><h2><span class="mw-headline" id="Headline 2">Headline 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Headline 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>More⌞
</p><h3><span class="mw-headline" id="Smaller headline">Smaller headline</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Smaller headline">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<p>Blah blah⌞
</p> |
653 |
fail |
Section headings with TOC |
== Headline 1 ==⌞
=== Subheadline 1 ===⌞
===== Skipping a level =====⌞
====== Skipping a level ======⌞
⌞
== Headline 2 ==⌞
Some text⌞
===Another headline=== |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Headline_1"><span class="tocnumber">1</span> <span class="toctext">Headline 1</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-2"><a href="#Subheadline_1"><span class="tocnumber">1.1</span> <span class="toctext">Subheadline 1</span></a>⌞
<ul>⌞
<li class="toclevel-3 tocsection-3"><a href="#Skipping_a_level"><span class="tocnumber">1.1.1</span> <span class="toctext">Skipping a level</span></a>⌞
<ul>⌞
<li class="toclevel-4 tocsection-4"><a href="#Skipping_a_level_2"><span class="tocnumber">1.1.1.1</span> <span class="toctext">Skipping a level</span></a></li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-1 tocsection-5"><a href="#Headline_2"><span class="tocnumber">2</span> <span class="toctext">Headline 2</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-6"><a href="#Another_headline"><span class="tocnumber">2.1</span> <span class="toctext">Another headline</span></a></li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Headline_1">Headline 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Headline 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Subheadline_1">Subheadline 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Subheadline 1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h5><span class="mw-headline" id="Skipping_a_level">Skipping a level</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: Skipping a level">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h6><span class="mw-headline" id="Skipping_a_level_2">Skipping a level</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: Skipping a level">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h2><span class="mw-headline" id="Headline_2">Headline 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: Headline 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>Some text⌞
</p>⌞
<h3><span class="mw-headline" id="Another_headline">Another headline</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=6" title="Edit section: Another headline">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
|
<h2><span class="mw-headline" id="Headline 1">Headline 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Headline 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Subheadline 1">Subheadline 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Subheadline 1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h5><span class="mw-headline" id="Skipping a level">Skipping a level</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Skipping a level">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h6><span class="mw-headline" id="Skipping a level_2">Skipping a level</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Skipping a level">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h2><span class="mw-headline" id="Headline 2">Headline 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Headline 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>Some text⌞
</p><h3><span class="mw-headline" id="Another headline">Another headline</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Another headline">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
|
654 |
fail |
Handling of sections up to level 6 and beyond |
= Level 1 Heading=⌞
== Level 2 Heading==⌞
=== Level 3 Heading===⌞
==== Level 4 Heading====⌞
===== Level 5 Heading=====⌞
====== Level 6 Heading======⌞
======= Level 7 Heading=======⌞
======== Level 8 Heading========⌞
========= Level 9 Heading=========⌞
========== Level 10 Heading========== |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Level_1_Heading"><span class="tocnumber">1</span> <span class="toctext">Level 1 Heading</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-2"><a href="#Level_2_Heading"><span class="tocnumber">1.1</span> <span class="toctext">Level 2 Heading</span></a>⌞
<ul>⌞
<li class="toclevel-3 tocsection-3"><a href="#Level_3_Heading"><span class="tocnumber">1.1.1</span> <span class="toctext">Level 3 Heading</span></a>⌞
<ul>⌞
<li class="toclevel-4 tocsection-4"><a href="#Level_4_Heading"><span class="tocnumber">1.1.1.1</span> <span class="toctext">Level 4 Heading</span></a>⌞
<ul>⌞
<li class="toclevel-5 tocsection-5"><a href="#Level_5_Heading"><span class="tocnumber">1.1.1.1.1</span> <span class="toctext">Level 5 Heading</span></a>⌞
<ul>⌞
<li class="toclevel-6 tocsection-6"><a href="#Level_6_Heading"><span class="tocnumber">1.1.1.1.1.1</span> <span class="toctext">Level 6 Heading</span></a></li>⌞
<li class="toclevel-6 tocsection-7"><a href="#.3D_Level_7_Heading.3D"><span class="tocnumber">1.1.1.1.1.2</span> <span class="toctext">= Level 7 Heading=</span></a></li>⌞
<li class="toclevel-6 tocsection-8"><a href="#.3D.3D_Level_8_Heading.3D.3D"><span class="tocnumber">1.1.1.1.1.3</span> <span class="toctext">== Level 8 Heading==</span></a></li>⌞
<li class="toclevel-6 tocsection-9"><a href="#.3D.3D.3D_Level_9_Heading.3D.3D.3D"><span class="tocnumber">1.1.1.1.1.4</span> <span class="toctext">=== Level 9 Heading===</span></a></li>⌞
<li class="toclevel-6 tocsection-10"><a href="#.3D.3D.3D.3D_Level_10_Heading.3D.3D.3D.3D"><span class="tocnumber">1.1.1.1.1.5</span> <span class="toctext">==== Level 10 Heading====</span></a></li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</div>⌞
<h1><span class="mw-headline" id="Level_1_Heading">Level 1 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Level 1 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h2><span class="mw-headline" id="Level_2_Heading">Level 2 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Level 2 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Level_3_Heading">Level 3 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: Level 3 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="Level_4_Heading">Level 4 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: Level 4 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h5><span class="mw-headline" id="Level_5_Heading">Level 5 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: Level 5 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h6><span class="mw-headline" id="Level_6_Heading">Level 6 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=6" title="Edit section: Level 6 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id=".3D_Level_7_Heading.3D">= Level 7 Heading=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=7" title="Edit section: = Level 7 Heading=">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id=".3D.3D_Level_8_Heading.3D.3D">== Level 8 Heading==</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=8" title="Edit section: == Level 8 Heading==">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id=".3D.3D.3D_Level_9_Heading.3D.3D.3D">=== Level 9 Heading===</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=9" title="Edit section: === Level 9 Heading===">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id=".3D.3D.3D.3D_Level_10_Heading.3D.3D.3D.3D">==== Level 10 Heading====</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=10" title="Edit section: ==== Level 10 Heading====">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
|
<h1><span class="mw-headline" id="Level 1 Heading">Level 1 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Level 1 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h2><span class="mw-headline" id="Level 2 Heading">Level 2 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Level 2 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Level 3 Heading">Level 3 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Level 3 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="Level 4 Heading">Level 4 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Level 4 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h5><span class="mw-headline" id="Level 5 Heading">Level 5 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Level 5 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h6><span class="mw-headline" id="Level 6 Heading">Level 6 Heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Level 6 Heading">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id="= Level 7 Heading=">= Level 7 Heading=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: = Level 7 Heading=">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id="== Level 8 Heading==">== Level 8 Heading==</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: == Level 8 Heading==">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id="=== Level 9 Heading===">=== Level 9 Heading===</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: === Level 9 Heading===">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h6><span class="mw-headline" id="==== Level 10 Heading====">==== Level 10 Heading====</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: ==== Level 10 Heading====">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
|
655 |
fail |
TOC regression (bug 9764) |
== title 1 ==⌞
=== title 1.1 ===⌞
==== title 1.1.1 ====⌞
=== title 1.2 ===⌞
== title 2 ==⌞
=== title 2.1 === |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#title_1"><span class="tocnumber">1</span> <span class="toctext">title 1</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-2"><a href="#title_1.1"><span class="tocnumber">1.1</span> <span class="toctext">title 1.1</span></a>⌞
<ul>⌞
<li class="toclevel-3 tocsection-3"><a href="#title_1.1.1"><span class="tocnumber">1.1.1</span> <span class="toctext">title 1.1.1</span></a></li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-2 tocsection-4"><a href="#title_1.2"><span class="tocnumber">1.2</span> <span class="toctext">title 1.2</span></a></li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-1 tocsection-5"><a href="#title_2"><span class="tocnumber">2</span> <span class="toctext">title 2</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-6"><a href="#title_2.1"><span class="tocnumber">2.1</span> <span class="toctext">title 2.1</span></a></li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="title_1">title 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: title 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title_1.1">title 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: title 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="title_1.1.1">title 1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: title 1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h3><span class="mw-headline" id="title_1.2">title 1.2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: title 1.2">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="title_2">title 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: title 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title_2.1">title 2.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=6" title="Edit section: title 2.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
|
<h2><span class="mw-headline" id="title 1">title 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title 1.1">title 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="title 1.1.1">title 1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h3><span class="mw-headline" id="title 1.2">title 1.2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1.2">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="title 2">title 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title 2.1">title 2.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 2.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
|
656 |
fail |
TOC with wgMaxTocLevel=3 (bug 6204)
|
== title 1 ==⌞
=== title 1.1 ===⌞
==== title 1.1.1 ====⌞
=== title 1.2 ===⌞
== title 2 ==⌞
=== title 2.1 === |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#title_1"><span class="tocnumber">1</span> <span class="toctext">title 1</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-2"><a href="#title_1.1"><span class="tocnumber">1.1</span> <span class="toctext">title 1.1</span></a></li>⌞
<li class="toclevel-2 tocsection-4"><a href="#title_1.2"><span class="tocnumber">1.2</span> <span class="toctext">title 1.2</span></a></li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-1 tocsection-5"><a href="#title_2"><span class="tocnumber">2</span> <span class="toctext">title 2</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-6"><a href="#title_2.1"><span class="tocnumber">2.1</span> <span class="toctext">title 2.1</span></a></li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="title_1">title 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: title 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title_1.1">title 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: title 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="title_1.1.1">title 1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: title 1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h3><span class="mw-headline" id="title_1.2">title 1.2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: title 1.2">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="title_2">title 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: title 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title_2.1">title 2.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=6" title="Edit section: title 2.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
|
<h2><span class="mw-headline" id="title 1">title 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title 1.1">title 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="title 1.1.1">title 1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h3><span class="mw-headline" id="title 1.2">title 1.2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1.2">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="title 2">title 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title 2.1">title 2.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 2.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
|
657 |
fail |
TOC with wgMaxTocLevel=3 and two level four headings (bug 6204)
|
==Section 1==⌞
===Section 1.1===⌞
====Section 1.1.1====⌞
====Section 1.1.1.1====⌞
==Section 2== |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Section_1"><span class="tocnumber">1</span> <span class="toctext">Section 1</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-2"><a href="#Section_1.1"><span class="tocnumber">1.1</span> <span class="toctext">Section 1.1</span></a></li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-1 tocsection-5"><a href="#Section_2"><span class="tocnumber">2</span> <span class="toctext">Section 2</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Section_1">Section 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Section 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Section_1.1">Section 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Section 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="Section_1.1.1">Section 1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: Section 1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h4><span class="mw-headline" id="Section_1.1.1.1">Section 1.1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: Section 1.1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h2><span class="mw-headline" id="Section_2">Section 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: Section 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Section 1">Section 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Section 1.1">Section 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="Section 1.1.1">Section 1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h4><span class="mw-headline" id="Section 1.1.1.1">Section 1.1.1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 1.1.1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h2><span class="mw-headline" id="Section 2">Section 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
658 |
fail |
Resolving duplicate section names |
== Foo bar ==⌞
== Foo bar == |
<h2><span class="mw-headline" id="Foo_bar">Foo bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Foo bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Foo_bar_2">Foo bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Foo bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Foo bar">Foo bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Foo bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Foo bar_2">Foo bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Foo bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
659 |
fail |
Resolving duplicate section names with differing case (bug 10721) |
== Foo bar ==⌞
== Foo Bar == |
<h2><span class="mw-headline" id="Foo_bar">Foo bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Foo bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Foo_Bar_2">Foo Bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Foo Bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Foo bar">Foo bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Foo bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Foo Bar">Foo Bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Foo Bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
660 |
fail |
Template with sections, __NOTOC__ |
__NOTOC__⌞
==Section 0==⌞
{{sections}}⌞
==Section 4== |
<h2><span class="mw-headline" id="Section_0">Section 0</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Section 0">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Section_1">Section 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Template:Sections&action=edit&section=T-1" title="Template:Sections">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="Section_2">Section 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Template:Sections&action=edit&section=T-2" title="Template:Sections">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Section_4">Section 4</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Section 4">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Section 0">Section 0</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 0">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="Section 1">Section 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="Section 2">Section 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Section 4">Section 4</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 4">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
661 |
fail |
__NOEDITSECTION__ keyword |
__NOEDITSECTION__⌞
==Section 1==⌞
==Section 2== |
<h2><span class="mw-headline" id="Section_1">Section 1</span></h2>⌞
<h2><span class="mw-headline" id="Section_2">Section 2</span></h2>⌞
|
<p>__NOEDITSECTION__⌞
</p><h2><span class="mw-headline" id="Section 1">Section 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Section 2">Section 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
662 |
fail |
Link inside a section heading |
==Section with a [[Main Page|link]] in it== |
<h2><span class="mw-headline" id="Section_with_a_link_in_it">Section with a <a href="/wiki/Main_Page" title="Main Page">link</a> in it</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Section with a link in it">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Section with a [[Main Page|link]] in it">Section with a [[Main Page|link]] in it</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Section with a [[Main Page|link]] in it">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
663 |
fail |
TOC regression (bug 12077) |
__TOC__⌞
== title 1 ==⌞
=== title 1.1 ===⌞
== title 2 == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#title_1"><span class="tocnumber">1</span> <span class="toctext">title 1</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-2"><a href="#title_1.1"><span class="tocnumber">1.1</span> <span class="toctext">title 1.1</span></a></li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-1 tocsection-3"><a href="#title_2"><span class="tocnumber">2</span> <span class="toctext">title 2</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="title_1">title 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: title 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title_1.1">title 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: title 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="title_2">title 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: title 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="title 1">title 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="title 1.1">title 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h2><span class="mw-headline" id="title 2">title 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: title 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
664 |
fail |
BUG 1219 URL next to image (good) |
http://example.com [[Image:foobar.jpg]] |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a> <a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a> <a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">Image:foobar.jpg</a>⌞
</p> |
665 |
fail |
Short headings with trailing space should match behavior of Parser::doHeadings (bug 19910) |
=== ⌞
The line above must have a trailing space!⌞
=== <!--⌞
--> <!-- -->⌞
But just in case it doesn't... |
<h1><span class="mw-headline" id=".3D">=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: =">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>The line above must have a trailing space!⌞
</p>⌞
<h1><span class="mw-headline" id=".3D_2">=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: =">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>But just in case it doesn't...⌞
</p> |
<h1><span class="mw-headline" id="=">=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>The line above must have a trailing space!⌞
</p><h1><span class="mw-headline" id="=_2">=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>But just in case it doesn't...⌞
</p> |
666 |
fail |
Header with special characters (bug 25462) |
The tooltips shall not show entities to the user (ie. be double escaped)⌞
⌞
== text > text ==⌞
section 1⌞
⌞
== text < text ==⌞
section 2⌞
⌞
== text & text ==⌞
section 3⌞
⌞
== text ' text ==⌞
section 4⌞
⌞
== text " text ==⌞
section 5 |
<p>The tooltips shall not show entities to the user (ie. be double escaped)⌞
</p>⌞
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#text_.3E_text"><span class="tocnumber">1</span> <span class="toctext">text > text</span></a></li>⌞
<li class="toclevel-1 tocsection-2"><a href="#text_.3C_text"><span class="tocnumber">2</span> <span class="toctext">text < text</span></a></li>⌞
<li class="toclevel-1 tocsection-3"><a href="#text_.26_text"><span class="tocnumber">3</span> <span class="toctext">text & text</span></a></li>⌞
<li class="toclevel-1 tocsection-4"><a href="#text_.27_text"><span class="tocnumber">4</span> <span class="toctext">text ' text</span></a></li>⌞
<li class="toclevel-1 tocsection-5"><a href="#text_.22_text"><span class="tocnumber">5</span> <span class="toctext">text " text</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="text_.3E_text">text > text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: text > text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 1⌞
</p>⌞
<h2><span class="mw-headline" id="text_.3C_text">text < text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: text < text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 2⌞
</p>⌞
<h2><span class="mw-headline" id="text_.26_text">text & text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: text & text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 3⌞
</p>⌞
<h2><span class="mw-headline" id="text_.27_text">text ' text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: text ' text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 4⌞
</p>⌞
<h2><span class="mw-headline" id="text_.22_text">text " text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: text " text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 5⌞
</p> |
<p>The tooltips shall not show entities to the user (ie. be double escaped)⌞
</p><h2><span class="mw-headline" id="text > text">text > text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: text > text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 1⌞
</p><h2><span class="mw-headline" id="text < text">text < text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: text < text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 2⌞
</p><h2><span class="mw-headline" id="text & text">text & text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: text & text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 3⌞
</p><h2><span class="mw-headline" id="text ' text">text ' text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: text ' text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 4⌞
</p><h2><span class="mw-headline" id="text " text">text " text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: text " text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>section 5⌞
</p> |
667 |
fail |
Headers with excess '=' characters
(Are similar tests necessary beyond the 1st level?) |
=foo==⌞
==foo=⌞
=''italic'' heading==⌞
==''italic'' heading= |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#foo.3D"><span class="tocnumber">1</span> <span class="toctext">foo=</span></a></li>⌞
<li class="toclevel-1 tocsection-2"><a href="#.3Dfoo"><span class="tocnumber">2</span> <span class="toctext">=foo</span></a></li>⌞
<li class="toclevel-1 tocsection-3"><a href="#italic_heading.3D"><span class="tocnumber">3</span> <span class="toctext"><i>italic</i> heading=</span></a></li>⌞
<li class="toclevel-1 tocsection-4"><a href="#.3Ditalic_heading"><span class="tocnumber">4</span> <span class="toctext">=<i>italic</i> heading</span></a></li>⌞
</ul>⌞
</div>⌞
<h1><span class="mw-headline" id="foo.3D">foo=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: foo=">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id=".3Dfoo">=foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: =foo">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="italic_heading.3D"><i>italic</i> heading=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: italic heading=">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id=".3Ditalic_heading">=<i>italic</i> heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: =italic heading">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
|
<h1><span class="mw-headline" id="foo=">foo=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: foo=">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="=foo">=foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =foo">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="''italic'' heading=">''italic'' heading=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: ''italic'' heading=">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="=''italic'' heading">=''italic'' heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =''italic'' heading">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
|
668 |
fail |
HTML headers vs TOC (bug 23393)
(__NOEDITSECTION__ for clearer output, doesn't matter here) |
<h1>Header 1</h1>⌞
== Header 1.1 ==⌞
== Header 1.2 ==⌞
⌞
<h1>Header 2⌞
</h1>⌞
== Header 2.1 ==⌞
== Header 2.2 ==⌞
__NOEDITSECTION__ |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1"><a href="#Header_1"><span class="tocnumber">1</span> <span class="toctext">Header 1</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-1"><a href="#Header_1.1"><span class="tocnumber">1.1</span> <span class="toctext">Header 1.1</span></a></li>⌞
<li class="toclevel-2 tocsection-2"><a href="#Header_1.2"><span class="tocnumber">1.2</span> <span class="toctext">Header 1.2</span></a></li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-1"><a href="#Header_2"><span class="tocnumber">2</span> <span class="toctext">Header 2</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-3"><a href="#Header_2.1"><span class="tocnumber">2.1</span> <span class="toctext">Header 2.1</span></a></li>⌞
<li class="toclevel-2 tocsection-4"><a href="#Header_2.2"><span class="tocnumber">2.2</span> <span class="toctext">Header 2.2</span></a></li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</div>⌞
<h1><span class="mw-headline" id="Header_1">Header 1</span></h1>⌞
<h2><span class="mw-headline" id="Header_1.1">Header 1.1</span></h2>⌞
<h2><span class="mw-headline" id="Header_1.2">Header 1.2</span></h2>⌞
<h1><span class="mw-headline" id="Header_2">Header 2</span></h1>⌞
<h2><span class="mw-headline" id="Header_2.1">Header 2.1</span></h2>⌞
<h2><span class="mw-headline" id="Header_2.2">Header 2.2</span></h2>⌞
|
<h1><span class="mw-headline" id="Header 1">Header 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Header 1">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h2><span class="mw-headline" id="Header 1.1">Header 1.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Header 1.1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Header 1.2">Header 1.2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Header 1.2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h1><span class="mw-headline" id="Header 2">Header 2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Header 2">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h2><span class="mw-headline" id="Header 2.1">Header 2.1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Header 2.1">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Header 2.2">Header 2.2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Header 2.2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>__NOEDITSECTION__⌞
</p> |
669 |
fail |
BUG 1219 URL next to image (broken) |
http://example.com[[Image:foobar.jpg]] |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">Image:foobar.jpg</a>⌞
</p> |
670 |
pass |
Bug 1186 news: in the middle of text |
http://en.wikinews.org/wiki/Wikinews:Workplace |
<p><a rel="nofollow" class="external free" href="http://en.wikinews.org/wiki/Wikinews:Workplace">http://en.wikinews.org/wiki/Wikinews:Workplace</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://en.wikinews.org/wiki/Wikinews:Workplace">http://en.wikinews.org/wiki/Wikinews:Workplace</a>⌞
</p> |
671 |
fail |
Namespaced link must have a title |
[[Project:]] |
<p>[[Project:]]⌞
</p> |
<p><a href="/wiki/Project:" title="Project:">Project:</a>⌞
</p> |
672 |
fail |
Namespaced link must have a title (bad fragment version) |
[[Project:#fragment]] |
<p>[[Project:#fragment]]⌞
</p> |
<p><a href="/wiki/Project:#fragment" title="Project:#fragment">Project:#fragment</a>⌞
</p> |
673 |
tidy |
div with no attributes |
<div>HTML rocks</div> |
<div>HTML rocks</div>⌞
|
<div>HTML rocks</div> |
674 |
tidy |
div with double-quoted attribute |
<div id="rock">HTML rocks</div> |
<div id="rock">HTML rocks</div>⌞
|
<div id="rock">HTML rocks</div> |
675 |
tidy |
div with single-quoted attribute |
<div id='rock'>HTML rocks</div> |
<div id="rock">HTML rocks</div>⌞
|
<div id="rock">HTML rocks</div> |
676 |
fail |
div with unquoted attribute |
<div id=rock>HTML rocks</div> |
<div id="rock">HTML rocks</div>⌞
|
<p><div id=rock>HTML rocks</div>⌞
</p> |
677 |
tidy |
div with illegal double attributes |
<div id="a" id="b">HTML rocks</div> |
<div id="b">HTML rocks</div>⌞
|
<div id="b">HTML rocks</div> |
678 |
fail |
div with empty attribute value, space before equals
|
<div class =>HTML rocks</div> |
<div class="">HTML rocks</div>⌞
|
<p><div class =>HTML rocks</div>⌞
</p> |
679 |
pass |
div with braces in attribute value
|
<div title="{}">Foo</div> |
<div title="{}">Foo</div> |
<div title="{}">Foo</div> |
680 |
fail |
div with empty attribute value, no space before equals
|
<div class=>HTML rocks</div> |
<div class="">HTML rocks</div>⌞
|
<p><div class=>HTML rocks</div>⌞
</p> |
681 |
tidy |
HTML multiple attributes correction |
<p class="error" class="awesome">Awesome!</p> |
<p class="awesome">Awesome!</p>⌞
|
<p class="awesome">Awesome!</p> |
682 |
tidy |
Table multiple attributes correction |
{|⌞
!+ class="error" class="awesome"| status⌞
|} |
<table>⌞
<tr>⌞
<th class="awesome"> status⌞
</th></tr></table>⌞
|
<table><tr><th class="awesome">status</th></tr></table> |
683 |
tidy |
DIV IN UPPERCASE |
<DIV ID="x">HTML ROCKS</DIV> |
<div id="x">HTML ROCKS</div>⌞
|
<div id="x">HTML ROCKS</div> |
684 |
tidy |
Non-ASCII pseudo-tags are rendered as text |
<khyô> |
<p><khyô>⌞
</p> |
<p><khyô>⌞
</p> |
685 |
fail |
Pseudo-tag with URL 'name' renders as url link |
<http://example.com/> |
<p><<a rel="nofollow" class="external free" href="http://example.com/">http://example.com/</a>>⌞
</p> |
<p><<a rel="nofollow" class="external free" href="http://example.com/>">http://example.com/></a>⌞
</p> |
686 |
pass |
text with amp in the middle of nowhere |
Remember AT&T? |
<p>Remember AT&T?⌞
</p> |
<p>Remember AT&T?⌞
</p> |
687 |
pass |
text with character entity: eacute |
I always thought é was a cute letter. |
<p>I always thought é was a cute letter.⌞
</p> |
<p>I always thought é was a cute letter.⌞
</p> |
688 |
pass |
text with entity-escaped character entity-like string: eacute |
I always thought &eacute; was a cute letter. |
<p>I always thought &eacute; was a cute letter.⌞
</p> |
<p>I always thought &eacute; was a cute letter.⌞
</p> |
689 |
pass |
text with undefined character entity: xacute |
I always thought &xacute; was a cute letter. |
<p>I always thought &xacute; was a cute letter.⌞
</p> |
<p>I always thought &xacute; was a cute letter.⌞
</p> |
690 |
pass |
Ensure that HTML adoption agency algorithm is properly implemented. |
<big>X<big>Y</big>Z</big> |
<p><big>X<big>Y</big>Z</big>⌞
</p> |
<p><big>X<big>Y</big>Z</big>⌞
</p> |
691 |
pass |
Nesting of <kbd> |
<kbd>X<kbd>Y</kbd>Z</kbd> |
<p><kbd>X<kbd>Y</kbd>Z</kbd>⌞
</p> |
<p><kbd>X<kbd>Y</kbd>Z</kbd>⌞
</p> |
692 |
pass |
Nesting of <em> |
<em>X<em>Y</em>Z</em> |
<p><em>X<em>Y</em>Z</em>⌞
</p> |
<p><em>X<em>Y</em>Z</em>⌞
</p> |
693 |
pass |
Nesting of <strong> |
<strong>X<strong>Y</strong>Z</strong> |
<p><strong>X<strong>Y</strong>Z</strong>⌞
</p> |
<p><strong>X<strong>Y</strong>Z</strong>⌞
</p> |
694 |
fail |
Nesting of <q> |
<q>X<q>Y</q>Z</q> |
<p><q>X<q>Y</q>Z</q>⌞
</p> |
<p><q>X<q>Y</q>Z</q>⌞
</p> |
695 |
fail |
Nesting of <ruby> |
<ruby>X<ruby>Y</ruby>Z</ruby> |
<p><ruby>X<ruby>Y</ruby>Z</ruby>⌞
</p> |
<p><ruby>X<ruby>Y</ruby>Z</ruby>⌞
</p> |
696 |
fail |
Nesting of <bdo> |
<bdo>X<bdo>Y</bdo>Z</bdo> |
<p><bdo>X<bdo>Y</bdo>Z</bdo>⌞
</p> |
<p><bdo>X<bdo>Y</bdo>Z</bdo>⌞
</p> |
697 |
fail |
Media link |
[[Media:Foobar.jpg]] |
<p><a href="http://example.com/images/3/3a/Foobar.jpg" class="internal" title="Foobar.jpg">Media:Foobar.jpg</a>⌞
</p> |
<p><a href="/wiki/Media:Foobar.jpg" title="Media:Foobar.jpg">Media:Foobar.jpg</a>⌞
</p> |
698 |
fail |
Media link with text |
[[Media:Foobar.jpg|A neat file to look at]] |
<p><a href="http://example.com/images/3/3a/Foobar.jpg" class="internal" title="Foobar.jpg">A neat file to look at</a>⌞
</p> |
<p><a href="/wiki/Media:Foobar.jpg" title="Media:Foobar.jpg">A neat file to look at</a>⌞
</p> |
699 |
fail |
Media link with nasty text
fixme: doBlockLevels won't wrap this in a paragraph because it contains a div |
[[Media:Foobar.jpg|Safe Link<div style=display:none>" onmouseover="alert(document.cookie)" onfoo="</div>]] |
<a href="http://example.com/images/3/3a/Foobar.jpg" class="internal" title="Foobar.jpg">Safe Link<div style="display:none">" onmouseover="alert(document.cookie)" onfoo="</div></a>⌞
|
<p><a href="/wiki/Media:Foobar.jpg" title="Media:Foobar.jpg">Safe Link<div style=display:none>" onmouseover="alert(document.cookie)" onfoo="</div></a>⌞
</p> |
700 |
fail |
Media link to nonexistent file (bug 1702) |
[[Media:No such.jpg]] |
<p><a href="/index.php?title=Special:Upload&wpDestFile=No_such.jpg" class="new" title="No such.jpg">Media:No such.jpg</a>⌞
</p> |
<p><a href="/wiki/Media:No_such.jpg" title="Media:No such.jpg">Media:No such.jpg</a>⌞
</p> |
701 |
fail |
Image link to nonexistent file (bug 1850 - good) |
[[Image:No such.jpg]] |
<p><a href="/index.php?title=Special:Upload&wpDestFile=No_such.jpg" class="new" title="File:No such.jpg">File:No such.jpg</a>⌞
</p> |
<p><a href="/wiki/Image:No_such.jpg" title="Image:No such.jpg">Image:No such.jpg</a>⌞
</p> |
702 |
fail |
:Image link to nonexistent file (bug 1850 - bad) |
[[:Image:No such.jpg]] |
<p><a href="/index.php?title=File:No_such.jpg&action=edit&redlink=1" class="new" title="File:No such.jpg (page does not exist)">Image:No such.jpg</a>⌞
</p> |
<p><a href="/wiki/:Image:No_such.jpg" title=":Image:No such.jpg">:Image:No such.jpg</a>⌞
</p> |
703 |
pass |
Character reference normalization in link text (bug 1938) |
[[Main Page|this&that]] |
<p><a href="/wiki/Main_Page" title="Main Page">this&that</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">this&that</a>⌞
</p> |
704 |
fail |
(bug 19451) Links should refer to the normalized form. |
[[אַ]]⌞
[[אַ]]⌞
[[אַ]]⌞
[[אַ]]⌞
[[אַ]] |
<p><a href="/wiki/%D7%90%D6%B7" title="אַ">אַ</a>⌞
<a href="/wiki/%D7%90%D6%B7" title="אַ">אַ</a>⌞
<a href="/wiki/%D7%90%D6%B7" title="אַ">אַ</a>⌞
<a href="/wiki/%D7%90%D6%B7" title="אַ">אַ</a>⌞
<a href="/wiki/%D7%90%D6%B7" title="אַ">אַ</a>⌞
</p> |
<p><a href="/wiki/אַ" title="אַ">אַ</a>⌞
<a href="/wiki/אַ" title="אַ">אַ</a>⌞
<a href="/wiki/אַ" title="אַ">אַ</a>⌞
<a href="/wiki/אַ" title="אַ">אַ</a>⌞
<a href="/wiki/אַ" title="אַ">אַ</a>⌞
</p> |
705 |
pass |
Empty attribute crash test (bug 2067) |
<font color="">foo</font> |
<p><font color="">foo</font>⌞
</p> |
<p><font color="">foo</font>⌞
</p> |
706 |
pass |
Empty attribute crash test single-quotes (bug 2067) |
<font color=''>foo</font> |
<p><font color="">foo</font>⌞
</p> |
<p><font color="">foo</font>⌞
</p> |
707 |
fail |
Attribute test: equals, then nothing |
<font color=>foo</font> |
<p><font>foo</font>⌞
</p> |
<p><font color=>foo</font>⌞
</p> |
708 |
fail |
Attribute test: unquoted value |
<font color=x>foo</font> |
<p><font color="x">foo</font>⌞
</p> |
<p><font color=x>foo</font>⌞
</p> |
709 |
fail |
Attribute test: unquoted but illegal value (hash) |
<font color=#x>foo</font> |
<p><font color="#x">foo</font>⌞
</p> |
<p><font color=#x>foo</font>⌞
</p> |
710 |
fail |
Attribute test: no value |
<font color>foo</font> |
<p><font color="color">foo</font>⌞
</p> |
<p><font color>foo</font>⌞
</p> |
711 |
pass |
Bug 2095: link with three closing brackets |
[[Main Page]]] |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>]⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>]⌞
</p> |
712 |
pass |
Bug 2095: link with pipe and three closing brackets |
[[Main Page|link]]] |
<p><a href="/wiki/Main_Page" title="Main Page">link</a>]⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">link</a>]⌞
</p> |
713 |
fail |
Bug 2095: link with pipe and three closing brackets, version 2 |
[[Main Page|[http://example.com/]]] |
<p><a href="/wiki/Main_Page" title="Main Page">[http://example.com/]</a>⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page"><a href="http://example.com/">http://example.com/</a></a>⌞
</p> |
714 |
fail |
Bug 2304: HTML attribute safety (safe template; regression bug 2309) |
<div title="{{test}}"></div> |
<div title="This is a test template"></div>⌞
|
<div title="This is a test template"/> |
715 |
fail |
Bug 2304: HTML attribute safety (dangerous template; 2309) |
<div title="{{dangerous attribute}}"></div> |
<div title=""></div>⌞
|
<div title=""/> |
716 |
fail |
Bug 2304: HTML attribute safety (dangerous style template; 2309) |
<div style="{{dangerous style attribute}}"></div> |
<div style="/* insecure input */"></div>⌞
|
<div style="/* insecure input */"/> |
717 |
tidy |
Bug 2304: HTML attribute safety (safe parameter; 2309) |
{{div style|width: 200px}} |
<div style="float: right; width: 200px">Magic div</div>⌞
|
<div style="float: right; width: 200px">Magic div</div> |
718 |
tidy |
Bug 2304: HTML attribute safety (unsafe parameter; 2309) |
{{div style|width: expression(alert(document.cookie))}} |
<div style="/* insecure input */">Magic div</div>⌞
|
<div style="/* insecure input */">Magic div</div> |
719 |
tidy |
Bug 2304: HTML attribute safety (unsafe breakout parameter; 2309) |
{{div style|"><script>alert(document.cookie)</script>}} |
<div style="float: right;"><script>alert(document.cookie)</script>">Magic div</div>⌞
|
<div style="float: right; "><script>alert(document.cookie)</script>">Magic div</div> |
720 |
tidy |
Bug 2304: HTML attribute safety (unsafe breakout parameter 2; 2309) |
{{div style|" ><script>alert(document.cookie)</script>}} |
<div style="float: right;"><script>alert(document.cookie)</script>">Magic div</div>⌞
|
<div style="float: right; "><script>alert(document.cookie)</script>">Magic div</div> |
721 |
fail |
Bug 2304: HTML attribute safety (link) |
<div title="[[Main Page]]"></div> |
<div title="[[Main Page]]"></div>⌞
|
<div title="[[Main Page]]"/> |
722 |
fail |
Bug 2304: HTML attribute safety (italics) |
<div title="''foobar''"></div> |
<div title="''foobar''"></div>⌞
|
<div title="''foobar''"/> |
723 |
fail |
Bug 2304: HTML attribute safety (bold) |
<div title="'''foobar'''"></div> |
<div title="'''foobar'''"></div>⌞
|
<div title="'''foobar'''"/> |
724 |
fail |
Bug 2304: HTML attribute safety (ISBN) |
<div title="ISBN 1234567890"></div> |
<div title="ISBN 1234567890"></div>⌞
|
<div title="ISBN 1234567890"/> |
725 |
fail |
Bug 2304: HTML attribute safety (RFC) |
<div title="RFC 1234"></div> |
<div title="RFC 1234"></div>⌞
|
<div title="RFC 1234"/> |
726 |
fail |
Bug 2304: HTML attribute safety (PMID) |
<div title="PMID 1234567890"></div> |
<div title="PMID 1234567890"></div>⌞
|
<div title="PMID 1234567890"/> |
727 |
fail |
Bug 2304: HTML attribute safety (web link) |
<div title="http://example.com/"></div> |
<div title="http://example.com/"></div>⌞
|
<div title="http://example.com/"/> |
728 |
fail |
Bug 2304: HTML attribute safety (named web link) |
<div title="[http://example.com/ link]"></div> |
<div title="[http://example.com/ link]"></div>⌞
|
<div title="[http://example.com/ link]"/> |
729 |
fail |
Bug 3244: HTML attribute safety (extension; safe) |
<div style="<nowiki>background:blue</nowiki>"></div> |
<div style="background:blue"></div>⌞
|
<div style="background:blue"/> |
730 |
fail |
Bug 3244: HTML attribute safety (extension; unsafe) |
<div style="<nowiki>border-left:expression(alert(document.cookie))</nowiki>"></div> |
<div style="/* insecure input */"></div>⌞
|
<div style="/* insecure input */"/> |
731 |
tidy |
MSIE CSS safety test: spurious slash |
<div style="background-image:u\rl(javascript:alert('boo'))">evil</div> |
<div style="/* insecure input */">evil</div>⌞
|
<div style="/* insecure input */">evil</div> |
732 |
tidy |
MSIE CSS safety test: hex code |
<div style="background-image:u\72l(javascript:alert('boo'))">evil</div> |
<div style="/* insecure input */">evil</div>⌞
|
<div style="/* insecure input */">evil</div> |
733 |
tidy |
MSIE CSS safety test: comment in url |
<div style="background-image:u/**/rl(javascript:alert('boo'))">evil</div> |
<div style="background-image:u rl(javascript:alert('boo'))">evil</div>⌞
|
<div style="background-image:u rl(javascript:alert('boo'))">evil</div> |
734 |
tidy |
MSIE CSS safety test: comment in expression |
<div style="background-image:expres/**/sion(alert('boo4'))">evil4</div> |
<div style="background-image:expres sion(alert('boo4'))">evil4</div>⌞
|
<div style="background-image:expres sion(alert('boo4'))">evil4</div> |
735 |
tidy |
Table attribute legitimate extension |
{|⌞
!+ style="<nowiki>color:blue</nowiki>"| status⌞
|} |
<table>⌞
<tr>⌞
<th style="color:blue"> status⌞
</th></tr></table>⌞
|
<table><tr><th style="color:blue">status</th></tr></table> |
736 |
tidy |
Table attribute safety |
{|⌞
!+ style="<nowiki>border-width:expression(0+alert(document.cookie))</nowiki>"| status⌞
|} |
<table>⌞
<tr>⌞
<th style="/* insecure input */"> status⌞
</th></tr></table>⌞
|
<table><tr><th style="/* insecure input */">status</th></tr></table> |
737 |
fail |
CSS line continuation 1 |
<div style="background-image: u\ rl(test.jpg);"></div> |
<div style="/* insecure input */"></div>⌞
|
<div style="/* insecure input */"/> |
738 |
fail |
CSS line continuation 2 |
<div style="background-image: u\ rl(test.jpg); "></div> |
<div style="/* insecure input */"></div>⌞
|
<div style="/* insecure input */"/> |
739 |
fail |
Expansion of multi-line templates in attribute values (bug 6255) |
<div style="background: {{identity|#00FF00}}">-</div> |
<div style="background: #00FF00">-</div>⌞
|
<div style="background: #00FF00">-</div> |
740 |
fail |
Expansion of multi-line templates in attribute values (bug 6255 sanity check) |
<div style="background: ⌞
#00FF00">-</div> |
<div style="background: #00FF00">-</div>⌞
|
<div style="background: #00FF00">-</div> |
741 |
fail |
Expansion of multi-line templates in attribute values (bug 6255 sanity check 2) |
<div style="background: #00FF00">-</div> |
<div style="background: #00FF00">-</div>⌞
|
<div style="background: #00FF00">-</div> |
742 |
fail |
Parser hook: empty input |
<tag></tag> |
<pre>⌞
''⌞
array (⌞
)⌞
</pre>⌞
|
<p><tag></tag>⌞
</p> |
743 |
fail |
Parser hook: empty input using terminated empty elements |
<tag/> |
<pre>⌞
NULL⌞
array (⌞
)⌞
</pre>⌞
|
<p><tag/>⌞
</p> |
744 |
fail |
Parser hook: empty input using terminated empty elements (space before) |
<tag /> |
<pre>⌞
NULL⌞
array (⌞
)⌞
</pre>⌞
|
<p><tag />⌞
</p> |
745 |
fail |
Parser hook: basic input |
<tag>input</tag> |
<pre>⌞
'input'⌞
array (⌞
)⌞
</pre>⌞
|
<p><tag>input</tag>⌞
</p> |
746 |
fail |
Parser hook: case insensitive |
<TAG>input</TAG> |
<pre>⌞
'input'⌞
array (⌞
)⌞
</pre>⌞
|
<p><TAG>input</TAG>⌞
</p> |
747 |
fail |
Parser hook: case insensitive, redux |
<TaG>input</TAg> |
<pre>⌞
'input'⌞
array (⌞
)⌞
</pre>⌞
|
<p><TaG>input</TAg>⌞
</p> |
748 |
fail |
Parser hook: nested tags
|
<tag><tag></tag></tag> |
<pre>⌞
'<tag>'⌞
array (⌞
)⌞
</pre></tag>⌞
|
<p><tag><tag></tag></tag>⌞
</p> |
749 |
fail |
Parser hook: basic arguments |
<tag width=200 height = "100" depth = '50' square></tag> |
<pre>⌞
''⌞
array (⌞
'width' => '200',⌞
'height' => '100',⌞
'depth' => '50',⌞
'square' => 'square',⌞
)⌞
</pre>⌞
|
<p><tag width=200 height = "100" depth = '50' square></tag>⌞
</p> |
750 |
fail |
Parser hook: argument containing a forward slash (bug 5344) |
<tag filename='/tmp/bla'></tag> |
<pre>⌞
''⌞
array (⌞
'filename' => '/tmp/bla',⌞
)⌞
</pre>⌞
|
<p><tag filename='/tmp/bla'></tag>⌞
</p> |
751 |
fail |
Parser hook: empty input using terminated empty elements (bug 2374) |
<tag foo=bar/>text |
<pre>⌞
NULL⌞
array (⌞
'foo' => 'bar',⌞
)⌞
</pre>text⌞
|
<p><tag foo=bar/>text⌞
</p> |
752 |
fail |
Parser hook: basic arguments using terminated empty elements (bug 2374) |
<tag width=200 height = "100" depth = '50' square/>⌞
other stuff⌞
</tag> |
<pre>⌞
NULL⌞
array (⌞
'width' => '200',⌞
'height' => '100',⌞
'depth' => '50',⌞
'square' => 'square',⌞
)⌞
</pre>⌞
<p>other stuff⌞
</tag>⌞
</p> |
<p><tag width=200 height = "100" depth = '50' square/>⌞
other stuff⌞
</tag>⌞
</p> |
753 |
fail |
Parser hook: static parser hook not inside a comment |
<statictag>hello, world</statictag>⌞
<statictag action=flush/> |
<p>hello, world⌞
</p> |
<p><statictag>hello, world</statictag>⌞
<statictag action=flush/>⌞
</p> |
754 |
fail |
Parser hook: static parser hook inside a comment |
<!-- <statictag>hello, world</statictag> -->⌞
<statictag action=flush/> |
<p><br />⌞
</p> |
<p><statictag action=flush/>⌞
</p> |
755 |
pass |
Nested template calls |
{{Map-one-parameter|One-parameter|param}} |
<p>(My parameter is: param)⌞
</p> |
<p>(My parameter is: param)⌞
</p> |
756 |
tidy |
Sanitizer: Closing of open tags |
<s></s><table></table> |
<s></s><table></table>⌞
|
<p><s/>⌞
</p><table/> |
757 |
pass |
Sanitizer: Closing of open but not closed tags |
<s>foo |
<p><s>foo</s>⌞
</p> |
<p><s>foo</s>⌞
</p> |
758 |
pass |
Sanitizer: Closing of closed but not open tags |
</s> |
<p></s>⌞
</p> |
<p></s>⌞
</p> |
759 |
pass |
Sanitizer: Closing of closed but not open table tags |
Table not started</td></tr></table> |
<p>Table not started</td></tr></table>⌞
</p> |
<p>Table not started</td></tr></table>⌞
</p> |
760 |
fail |
Sanitizer: Escaping of spaces, multibyte characters, colons & other stuff in id="" |
<span id="æ: v">byte</span>[[#æ: v|backlink]] |
<p><span id=".C3.A6:_v">byte</span><a href="#.C3.A6:_v">backlink</a>⌞
</p> |
<p><span id="æ: v">byte</span><a href="/wiki/#æ:_v" title="#æ: v">backlink</a>⌞
</p> |
761 |
skip |
Sanitizer: Validating the contents of the id attribute (bug 4515)
|
<br id=9 /> |
Something, but definitely not <br id="9" />... |
|
762 |
skip |
Sanitizer: Validating id attribute uniqueness (bug 4515, bug 6301)
|
<br id="foo" /><br id="foo" /> |
Something need to be done. foo-2 ? |
|
763 |
fail |
Sanitizer: Validating that <meta> and <link> work, but only for Microdata |
<div itemscope>⌞
<meta itemprop="hello" content="world">⌞
<meta http-equiv="refresh" content="5">⌞
<meta itemprop="hello" http-equiv="refresh" content="5">⌞
<link itemprop="hello" href="{{SERVER}}">⌞
<link rel="stylesheet" href="{{SERVER}}">⌞
<link rel="stylesheet" itemprop="hello" href="{{SERVER}}">⌞
</div> |
<div itemscope="itemscope">⌞
<p> <meta itemprop="hello" content="world" />⌞
<meta http-equiv="refresh" content="5">⌞
<meta itemprop="hello" content="5" />⌞
</p>⌞
<link itemprop="hello" href="http://example.org" />⌞
<link rel="stylesheet" href="<a rel="nofollow" class="external free" href="http://example.org">http://example.org</a>">⌞
<link itemprop="hello" href="http://example.org" />⌞
</div>⌞
|
<p><div itemscope>⌞
<meta itemprop="hello" content="world">⌞
<meta http-equiv="refresh" content="5">⌞
<meta itemprop="hello" http-equiv="refresh" content="5">⌞
<link itemprop="hello" href="<a href="/wiki/Template:SERVER" title="Template:SERVER">Template:SERVER</a>">⌞
<link rel="stylesheet" href="<a href="/wiki/Template:SERVER" title="Template:SERVER">Template:SERVER</a>">⌞
<link rel="stylesheet" itemprop="hello" href="<a href="/wiki/Template:SERVER" title="Template:SERVER">Template:SERVER</a>">⌞
</div>⌞
</p> |
764 |
fail |
Language converter: output gets cut off unexpectedly (bug 5757)
|
this bit is safe: }-⌞
⌞
but if we add a conversion instance: -{zh-cn:xxx;zh-tw:yyy}-⌞
⌞
then we get cut off here: }-⌞
⌞
all additional text is vanished |
<p>this bit is safe: }-⌞
</p><p>but if we add a conversion instance: xxx⌞
</p><p>then we get cut off here: }-⌞
</p><p>all additional text is vanished⌞
</p> |
<p>this bit is safe: }-⌞
</p><p>but if we add a conversion instance: -{zh-cn:xxx;zh-tw:yyy}-⌞
</p><p>then we get cut off here: }-⌞
</p><p>all additional text is vanished⌞
</p> |
765 |
fail |
Self closed html pairs (bug 5487) |
<center><font id="bug" />Centered text</center>⌞
<div><font id="bug2" />In div text</div> |
<center><font id="bug" />Centered text</center>⌞
<div><font id="bug2" />In div text</div>⌞
|
<center><font id="bug"/>Centered text⌞
</center><div><font id="bug2"/>In div text⌞
</div> |
766 |
fail |
Punctuation: nbsp before exclamation |
C'est grave ! |
<p>C'est grave !⌞
</p> |
<p>C'est grave !⌞
</p> |
767 |
tidy |
Punctuation: CSS !important (bug 11874) |
<div style="width:50% !important">important</div> |
<div style="width:50% !important">important</div>⌞
|
<div style="width:50% !important">important</div> |
768 |
tidy |
Punctuation: CSS ! important (bug 11874; with space after) |
<div style="width:50% ! important">important</div> |
<div style="width:50% ! important">important</div>⌞
|
<div style="width:50% ! important">important</div> |
769 |
tidy |
HTML bullet list, closed tags (bug 5497) |
<ul>⌞
<li>One</li>⌞
<li>Two</li>⌞
</ul> |
<ul>⌞
<li>One</li>⌞
<li>Two</li>⌞
</ul>⌞
|
<ul><li>One</li><li>Two</li></ul> |
770 |
skip |
HTML bullet list, unclosed tags (bug 5497)
|
<ul>⌞
<li>One⌞
<li>Two⌞
</ul> |
<ul>⌞
<li>One⌞
</li><li>Two⌞
</li></ul>⌞
|
|
771 |
tidy |
HTML ordered list, closed tags (bug 5497) |
<ol>⌞
<li>One</li>⌞
<li>Two</li>⌞
</ol> |
<ol>⌞
<li>One</li>⌞
<li>Two</li>⌞
</ol>⌞
|
<ol><li>One</li><li>Two</li></ol> |
772 |
skip |
HTML ordered list, unclosed tags (bug 5497)
|
<ol>⌞
<li>One⌞
<li>Two⌞
</ol> |
<ol>⌞
<li>One⌞
</li><li>Two⌞
</li></ol>⌞
|
|
773 |
fail |
HTML nested bullet list, closed tags (bug 5497) |
<ul>⌞
<li>One</li>⌞
<li>Two:⌞
<ul>⌞
<li>Sub-one</li>⌞
<li>Sub-two</li>⌞
</ul>⌞
</li>⌞
</ul> |
<ul>⌞
<li>One</li>⌞
<li>Two:⌞
<ul>⌞
<li>Sub-one</li>⌞
<li>Sub-two</li>⌞
</ul>⌞
</li>⌞
</ul>⌞
|
<ul><li>One</li><li><p>Two:⌞
</p><ul><li>Sub-one</li><li>Sub-two</li></ul></li></ul> |
774 |
skip |
HTML nested bullet list, open tags (bug 5497)
|
<ul>⌞
<li>One⌞
<li>Two:⌞
<ul>⌞
<li>Sub-one⌞
<li>Sub-two⌞
</ul>⌞
</ul> |
<ul>⌞
<li>One⌞
</li><li>Two:⌞
<ul>⌞
<li>Sub-one⌞
</li><li>Sub-two⌞
</li></ul>⌞
</li></ul>⌞
|
|
775 |
fail |
HTML nested ordered list, closed tags (bug 5497) |
<ol>⌞
<li>One</li>⌞
<li>Two:⌞
<ol>⌞
<li>Sub-one</li>⌞
<li>Sub-two</li>⌞
</ol>⌞
</li>⌞
</ol> |
<ol>⌞
<li>One</li>⌞
<li>Two:⌞
<ol>⌞
<li>Sub-one</li>⌞
<li>Sub-two</li>⌞
</ol>⌞
</li>⌞
</ol>⌞
|
<ol><li>One</li><li><p>Two:⌞
</p><ol><li>Sub-one</li><li>Sub-two</li></ol></li></ol> |
776 |
skip |
HTML nested ordered list, open tags (bug 5497)
|
<ol>⌞
<li>One⌞
<li>Two:⌞
<ol>⌞
<li>Sub-one⌞
<li>Sub-two⌞
</ol>⌞
</ol> |
<ol>⌞
<li>One⌞
</li><li>Two:⌞
<ol>⌞
<li>Sub-one⌞
</li><li>Sub-two⌞
</li></ol>⌞
</li></ol>⌞
|
|
777 |
tidy |
HTML ordered list item with parameters oddity |
<ol><li id="fragment">One</li></ol> |
<ol><li id="fragment">One</li></ol>⌞
|
<ol><li id="fragment">One</li></ol> |
778 |
fail |
bug 5918: autonumbering |
[http://first/] [http://second] [ftp://ftp]⌞
⌞
ftp://inlineftp⌞
⌞
[mailto:enclosed@mail.tld With target]⌞
⌞
[mailto:enclosed@mail.tld]⌞
⌞
mailto:inline@mail.tld |
<p><a rel="nofollow" class="external autonumber" href="http://first/">[1]</a> <a rel="nofollow" class="external autonumber" href="http://second">[2]</a> <a rel="nofollow" class="external autonumber" href="ftp://ftp">[3]</a>⌞
</p><p><a rel="nofollow" class="external free" href="ftp://inlineftp">ftp://inlineftp</a>⌞
</p><p><a rel="nofollow" class="external text" href="mailto:enclosed@mail.tld">With target</a>⌞
</p><p><a rel="nofollow" class="external autonumber" href="mailto:enclosed@mail.tld">[4]</a>⌞
</p><p><a rel="nofollow" class="external free" href="mailto:inline@mail.tld">mailto:inline@mail.tld</a>⌞
</p> |
<p><a href="http://first/">http://first/</a> <a href="http://second">http://second</a> <a href="ftp://ftp">ftp://ftp</a>⌞
</p><p><a rel="nofollow" class="external free" href="ftp://inlineftp">ftp://inlineftp</a>⌞
</p><p><a rel="nofollow" class="external text" href="mailto:enclosed@mail.tld">With target</a>⌞
</p><p><a href="mailto:enclosed@mail.tld">mailto:enclosed@mail.tld</a>⌞
</p><p><a rel="nofollow" class="external free" href="mailto:inline@mail.tld">mailto:inline@mail.tld</a>⌞
</p> |
779 |
fail |
Fuzz testing: Parser13 |
{| ⌞
| http://a| |
<table>⌞
<tr>⌞
<td>⌞
</td>⌞
</tr>⌞
</table>⌞
|
<p>{| ⌞
| <a rel="nofollow" class="external free" href="http://a|">http://a|</a>⌞
</p> |
780 |
fail |
Fuzz testing: Parser14 |
== onmouseover= ==⌞
http://__TOC__ |
<h2><span class="mw-headline" id="onmouseover.3D">onmouseover=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: onmouseover=">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
http://<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#onmouseover.3D"><span class="tocnumber">1</span> <span class="toctext">onmouseover=</span></a></li>⌞
</ul>⌞
</div>⌞
|
<h2><span class="mw-headline" id="onmouseover=">onmouseover=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: onmouseover=">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p><a rel="nofollow" class="external free" href="http://__TOC__">http://__TOC__</a>⌞
</p> |
781 |
fail |
Fuzz testing: Parser14-table |
==a==⌞
{| STYLE=__TOC__ |
<h2><span class="mw-headline" id="a">a</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: a">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<table style="__TOC__">⌞
<tr><td></td></tr>⌞
</table>⌞
|
<h2><span class="mw-headline" id="a">a</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: a">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p>{| STYLE=__TOC__⌞
</p> |
782 |
fail |
Fuzz testing: Parser16
|
{|⌞
!https://|||||| |
<table>⌞
<tr>⌞
<th>https://</th>⌞
<th></th>⌞
<th></th>⌞
<th>⌞
</td>⌞
</tr>⌞
</table>⌞
|
<p>{|⌞
!<a rel="nofollow" class="external free" href="https://||||||">https://||||||</a>⌞
</p> |
783 |
fail |
Fuzz testing: Parser21 |
{|⌞
! irc://{{ftp://a" onmouseover="alert('hello world');"⌞
| |
<table>⌞
<tr>⌞
<th> <a rel="nofollow" class="external free" href="irc://{{ftp://a">irc://{{ftp://a</a>" onmouseover="alert('hello world');"⌞
</th>⌞
<td>⌞
</td>⌞
</tr>⌞
</table>⌞
|
<p>{|⌞
! <a rel="nofollow" class="external free" href="irc://{{ftp://a"">irc://{{ftp://a"</a> onmouseover="alert('hello world');"⌞
|⌞
</p> |
784 |
fail |
Fuzz testing: Parser22 |
http://===r:::https://b⌞
⌞
{| |
<p><a rel="nofollow" class="external free" href="http://===r:::https://b">http://===r:::https://b</a>⌞
</p>⌞
<table>⌞
<tr><td></td></tr>⌞
</table>⌞
|
<p><a rel="nofollow" class="external free" href="http://===r:::https://b">http://===r:::https://b</a>⌞
</p><p>{|⌞
</p> |
785 |
fail |
Fuzz testing: Parser24
|
{|⌞
{{{|⌞
<u CLASS=⌞
| {{{{SSSll!!!!!!!VVVV)]]][[Special:*xxxxxxx--><noinclude>}}}} >⌞
<br style="onmouseover='alert(document.cookie);' " />⌞
⌞
MOVE YOUR MOUSE CURSOR OVER THIS TEXT⌞
| |
<table>⌞
{{{|⌞
<u class="|">}}}} >⌞
<br style="onmouseover='alert(document.cookie);'" />⌞
⌞
MOVE YOUR MOUSE CURSOR OVER THIS TEXT⌞
<tr>⌞
<td></u>⌞
</td>⌞
</tr>⌞
</table>⌞
|
<p>{|⌞
{{{|⌞
<u CLASS=⌞
| {{{{SSSll!!!!!!!VVVV)]]][[Special:*xxxxxxx-->}}}} >⌞
<br style="onmouseover='alert(document.cookie);' "/>⌞
</p><p>MOVE YOUR MOUSE CURSOR OVER THIS TEXT⌞
|⌞
</p> |
786 |
pass |
Fuzz testing: Parser25 (bug 6055) |
{{{⌞
| ⌞
<LI CLASS=||⌞
>⌞
}}}blah" onmouseover="alert('hello world');" align="left"'''MOVE MOUSE CURSOR OVER HERE |
<p><LI CLASS=blah" onmouseover="alert('hello world');" align="left"<b>MOVE MOUSE CURSOR OVER HERE</b>⌞
</p> |
<p><LI CLASS=blah" onmouseover="alert('hello world');" align="left"<b>MOVE MOUSE CURSOR OVER HERE</b>⌞
</p> |
787 |
pass |
Fuzz testing: URL adjacent extension (with space, clean) |
http://example.com <nowiki>junk</nowiki> |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a> junk⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a> junk⌞
</p> |
788 |
fail |
Fuzz testing: URL adjacent extension (no space, dirty; nowiki) |
http://example.com<nowiki>junk</nowiki> |
<p><a rel="nofollow" class="external free" href="http://example.com">http://example.com</a>junk⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://example.com<nowiki>junk</nowiki>">http://example.com<nowiki>junk</nowiki></a>⌞
</p> |
789 |
fail |
Fuzz testing: URL adjacent extension (no space, dirty; pre) |
http://example.com<pre>junk</pre> |
<a rel="nofollow" class="external free" href="http://example.com">http://example.com</a><pre>junk</pre>⌞
|
<p><a rel="nofollow" class="external free" href="http://example.com<pre>junk</pre>">http://example.com<pre>junk</pre></a>⌞
</p> |
790 |
fail |
Fuzz testing: image with bogus manual thumbnail |
[[Image:foobar.jpg|thumbnail= ]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;">Error creating thumbnail: <div class="thumbcaption"></div></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">thumbnail= </a>⌞
</p> |
791 |
tidy |
Fuzz testing: encoded newline in generated HTML replacements (bug 6577) |
<pre dir=" "></pre> |
<pre dir=" "></pre>⌞
|
<pre dir=" "></pre> |
792 |
fail |
Parsing optional HTML elements (Bug 6171) |
<table>⌞
<tr>⌞
<td> Some tabular data</td>⌞
<td> More tabular data ...⌞
<td> And yet som tabular data</td>⌞
</tr>⌞
</table> |
<table>⌞
<tr>⌞
<td> Some tabular data</td>⌞
<td> More tabular data ...⌞
</td><td> And yet som tabular data</td>⌞
</tr>⌞
</table>⌞
|
<table><tr><td> Some tabular data</td><td><p> More tabular data ...⌞
</p><pre> <td> And yet som tabular data</td>⌞
</tr>⌞
</pre><p></table>⌞
</p></td></tr></table> |
793 |
tidy |
Correct handling of <td>, <tr> (Bug 6171) |
<table>⌞
<tr>⌞
<td> Some tabular data</td>⌞
<td> More tabular data ...</td>⌞
<td> And yet som tabular data</td>⌞
</tr>⌞
</table> |
<table>⌞
<tr>⌞
<td> Some tabular data</td>⌞
<td> More tabular data ...</td>⌞
<td> And yet som tabular data</td>⌞
</tr>⌞
</table>⌞
|
<table><tr><td> Some tabular data</td><td> More tabular data ...</td><td> And yet som tabular data</td></tr></table> |
794 |
pass |
Parsing crashing regression (fr:JavaScript) |
</body></x> |
<p></body></x>⌞
</p> |
<p></body></x>⌞
</p> |
795 |
pass |
Inline wiki vs wiki block nesting |
'''Bold paragraph⌞
⌞
New wiki paragraph |
<p><b>Bold paragraph</b>⌞
</p><p>New wiki paragraph⌞
</p> |
<p><b>Bold paragraph</b>⌞
</p><p>New wiki paragraph⌞
</p> |
796 |
skip |
Inline HTML vs wiki block nesting
|
<b>Bold paragraph⌞
⌞
New wiki paragraph |
<p><b>Bold paragraph</b>⌞
</p><p>New wiki paragraph⌞
</p> |
|
797 |
fail |
Mixing markup for italics and bold |
'''bold''''''bold''bolditalics''''' |
<p>'<i>bold'</i><b>bold<i>bolditalics</i></b>⌞
</p> |
<p><b>bold'</b><i>bold</i>bolditalics<i><b/></i>⌞
</p> |
798 |
fail |
Special page transclusion |
{{Special:Prefixindex/Xyzzyx}} |
<table id="mw-prefixindex-list-table"><tr><td><a href="/wiki/Xyzzyx" title="Xyzzyx">Xyzzyx</a></td></tr></table>⌞
|
<p><a href="/wiki/Template:Special:Prefixindex/Xyzzyx" title="Template:Special:Prefixindex/Xyzzyx">Template:Special:Prefixindex/Xyzzyx</a>⌞
</p> |
799 |
fail |
Special page transclusion twice (bug 5021) |
{{Special:Prefixindex/Xyzzyx}}⌞
{{Special:Prefixindex/Xyzzyx}} |
<table id="mw-prefixindex-list-table"><tr><td><a href="/wiki/Xyzzyx" title="Xyzzyx">Xyzzyx</a></td></tr></table>⌞
<table id="mw-prefixindex-list-table"><tr><td><a href="/wiki/Xyzzyx" title="Xyzzyx">Xyzzyx</a></td></tr></table>⌞
|
<p><a href="/wiki/Template:Special:Prefixindex/Xyzzyx" title="Template:Special:Prefixindex/Xyzzyx">Template:Special:Prefixindex/Xyzzyx</a>⌞
<a href="/wiki/Template:Special:Prefixindex/Xyzzyx" title="Template:Special:Prefixindex/Xyzzyx">Template:Special:Prefixindex/Xyzzyx</a>⌞
</p> |
800 |
fail |
Transclusion of default MediaWiki message |
{{MediaWiki:Mainpage}} |
<p>Main Page⌞
</p> |
<p><a href="/wiki/Template:MediaWiki:Mainpage" title="Template:MediaWiki:Mainpage">Template:MediaWiki:Mainpage</a>⌞
</p> |
801 |
fail |
Transclusion of nonexistent MediaWiki message |
{{MediaWiki:Mainpagexxx}} |
<p><a href="/index.php?title=MediaWiki:Mainpagexxx&action=edit&redlink=1" class="new" title="MediaWiki:Mainpagexxx (page does not exist)">MediaWiki:Mainpagexxx</a>⌞
</p> |
<p><a href="/wiki/Template:MediaWiki:Mainpagexxx" title="Template:MediaWiki:Mainpagexxx">Template:MediaWiki:Mainpagexxx</a>⌞
</p> |
802 |
fail |
Transclusion of MediaWiki message with underscore |
{{MediaWiki:history_short}} |
<p>History⌞
</p> |
<p><a href="/wiki/Template:MediaWiki:history_short" title="Template:MediaWiki:history short">Template:MediaWiki:history short</a>⌞
</p> |
803 |
fail |
Transclusion of MediaWiki message with space |
{{MediaWiki:history short}} |
<p>History⌞
</p> |
<p><a href="/wiki/Template:MediaWiki:history_short" title="Template:MediaWiki:history short">Template:MediaWiki:history short</a>⌞
</p> |
804 |
pass |
Invalid header with following text |
= x = y |
<p>= x = y⌞
</p> |
<p>= x = y⌞
</p> |
805 |
skip |
Section extraction test (section 0)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start |
|
806 |
skip |
Section extraction test (section 1)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
==a==⌞
===aa===⌞
====aaa==== |
|
807 |
skip |
Section extraction test (section 2)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
===aa===⌞
====aaa==== |
|
808 |
skip |
Section extraction test (section 3)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
====aaa==== |
|
809 |
skip |
Section extraction test (section 4)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc=== |
|
810 |
skip |
Section extraction test (section 5)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
===ba=== |
|
811 |
skip |
Section extraction test (section 6)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
===bb===⌞
====bba==== |
|
812 |
skip |
Section extraction test (section 7)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
====bba==== |
|
813 |
skip |
Section extraction test (section 8)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
===bc=== |
|
814 |
skip |
Section extraction test (section 9)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
==c==⌞
===ca=== |
|
815 |
skip |
Section extraction test (section 10)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
===ca=== |
|
816 |
skip |
Section extraction test (nonexistent section 11)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
|
|
817 |
skip |
Section extraction test with bogus heading (section 1)
|
==a==⌞
==bogus== not a legal section⌞
==b== |
==a==⌞
==bogus== not a legal section |
|
818 |
skip |
Section extraction test with bogus heading (section 2)
|
==a==⌞
==bogus== not a legal section⌞
==b== |
==b== |
|
819 |
skip |
Section extraction test with comment after heading (section 1)
|
==a==⌞
==b== <!-- -->⌞
==c== |
==a== |
|
820 |
skip |
Section extraction test with comment after heading (section 2)
|
==a==⌞
==b== <!-- -->⌞
==c== |
==b== <!-- --> |
|
821 |
skip |
Section extraction test with bogus <nowiki> heading (section 1)
|
==a==⌞
==bogus== <nowiki>not a legal section</nowiki>⌞
==b== |
==a==⌞
==bogus== <nowiki>not a legal section</nowiki> |
|
822 |
skip |
Section extraction test with bogus <nowiki> heading (section 2)
|
==a==⌞
==bogus== <nowiki>not a legal section</nowiki>⌞
==b== |
==b== |
|
823 |
skip |
Section extraction prefixed by comment (section 1)
|
<!-- -->==sec1==⌞
==sec2== |
==sec2== |
|
824 |
skip |
Section extraction prefixed by comment (section 2)
|
<!-- -->==sec1==⌞
==sec2== |
|
|
825 |
skip |
Section extraction, mixed wiki and html (section 1)
|
<h2>unmarked</h2>⌞
unmarked⌞
==1==⌞
one⌞
==2==⌞
two |
==1==⌞
one |
|
826 |
skip |
Section extraction, mixed wiki and html (section 2)
|
<h2>unmarked</h2>⌞
unmarked⌞
==1==⌞
one⌞
==2==⌞
two |
==2==⌞
two |
|
827 |
skip |
Section extraction, heading surrounded by <noinclude>
|
<noinclude>==unmarked==</noinclude>⌞
==marked== |
==marked== |
|
828 |
skip |
Sectiion with all-equals
|
=== ⌞
The line above must have a trailing space⌞
=== <!--⌞
--> <!-- -->⌞
But just in case it doesn't... |
=== <!--⌞
--> <!-- -->⌞
But just in case it doesn't... |
|
829 |
skip |
Section replacement test (section 0)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
xxx⌞
⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
|
830 |
skip |
Section replacement test (section 1)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
xxx⌞
⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
|
831 |
skip |
Section replacement test (section 2)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
xxx⌞
⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
|
832 |
skip |
Section replacement test (section 3)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
xxx⌞
⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
|
833 |
skip |
Section replacement test (section 4)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
xxx⌞
⌞
==c==⌞
===ca=== |
|
834 |
skip |
Section replacement test (section 5)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
xxx⌞
⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
|
835 |
skip |
Section replacement test (section 6)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
xxx⌞
⌞
===bc===⌞
==c==⌞
===ca=== |
|
836 |
skip |
Section replacement test (section 7)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
xxx⌞
⌞
===bc===⌞
==c==⌞
===ca=== |
|
837 |
skip |
Section replacement test (section 8)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
xxx⌞
⌞
==c==⌞
===ca=== |
|
838 |
skip |
Section replacement test (section 9)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
xxx |
|
839 |
skip |
Section replacement test (section 10)
|
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
===ca=== |
start⌞
==a==⌞
===aa===⌞
====aaa====⌞
==b==⌞
===ba===⌞
===bb===⌞
====bba====⌞
===bc===⌞
==c==⌞
xxx |
|
840 |
skip |
Section replacement test with initial whitespace (bug 13728)
|
Preformatted initial line⌞
==a==⌞
===a=== |
Preformatted initial line⌞
==a==⌞
xxx |
|
841 |
skip |
Section extraction, heading followed by pre with 20 spaces (bug 6398)
|
==a==⌞
a |
==a==⌞
a |
|
842 |
skip |
Section extraction, heading followed by pre with 19 spaces (bug 6398 sanity check)
|
==a==⌞
a |
==a==⌞
a |
|
843 |
skip |
Section extraction, <pre> around bogus header (bug 10309)
|
== Section One ==⌞
<pre>⌞
=======⌞
</pre>⌞
⌞
== Section Two ==⌞
stuff |
== Section Two ==⌞
stuff |
|
844 |
skip |
Section replacement, <pre> around bogus header (bug 10309)
|
== Section One ==⌞
<pre>⌞
=======⌞
</pre>⌞
⌞
== Section Two ==⌞
stuff |
== Section One ==⌞
<pre>⌞
=======⌞
</pre>⌞
⌞
xxx |
|
845 |
fail |
Handling of 
 in URLs |
**irc://
a |
<ul><li><ul><li><a rel="nofollow" class="external free" href="irc://%0Aa">irc://%0Aa</a>⌞
</li></ul>⌞
</li></ul>⌞
|
<ul><li><ul><li><a rel="nofollow" class="external free" href="irc:// a">irc://⌞
a</a>⌞
</li></ul>⌞
</li></ul>⌞
|
846 |
tidy |
5 quotes, code coverage +1 line (php)
|
''''' |
|
<p><i><b/></i>⌞
</p> |
847 |
tidy |
5 quotes, code coverage +1 line (parsoid)
|
''''' |
<p><i><b></b></i></p> |
<p><i><b/></i>⌞
</p> |
848 |
fail |
Special:Search page linking. |
{{Special:search}} |
<p><a href="/wiki/Special:Search" title="Special:Search">Special:Search</a>⌞
</p> |
<p><a href="/wiki/Template:Special:search" title="Template:Special:search">Template:Special:search</a>⌞
</p> |
849 |
fail |
Say the magic word |
* {{PAGENAME}}⌞
* {{BASEPAGENAME}}⌞
* {{SUBPAGENAME}}⌞
* {{SUBPAGENAMEE}}⌞
* {{ROOTPAGENAME}}⌞
* {{ROOTPAGENAMEE}}⌞
* {{BASEPAGENAME}}⌞
* {{BASEPAGENAMEE}}⌞
* {{TALKPAGENAME}}⌞
* {{TALKPAGENAMEE}}⌞
* {{SUBJECTPAGENAME}}⌞
* {{SUBJECTPAGENAMEE}}⌞
* {{NAMESPACEE}}⌞
* {{NAMESPACE}}⌞
* {{TALKSPACE}}⌞
* {{TALKSPACEE}}⌞
* {{SUBJECTSPACE}}⌞
* {{SUBJECTSPACEE}}⌞
* {{Dynamic|{{NUMBEROFUSERS}}|{{NUMBEROFPAGES}}|{{CURRENTVERSION}}|{{CONTENTLANGUAGE}}|{{DIRECTIONMARK}}|{{CURRENTTIMESTAMP}}|{{NUMBEROFARTICLES}}}} |
<ul><li> Parser test⌞
</li><li> Parser test⌞
</li><li> Parser test⌞
</li><li> Parser_test⌞
</li><li> Parser test⌞
</li><li> Parser_test⌞
</li><li> Parser test⌞
</li><li> Parser_test⌞
</li><li> Talk:Parser test⌞
</li><li> Talk:Parser_test⌞
</li><li> Parser test⌞
</li><li> Parser_test⌞
</li><li> ⌞
</li><li> ⌞
</li><li> Talk⌞
</li><li> Talk⌞
</li><li> ⌞
</li><li> ⌞
</li><li> <a href="/index.php?title=Template:Dynamic&action=edit&redlink=1" class="new" title="Template:Dynamic (page does not exist)">Template:Dynamic</a>⌞
</li></ul>⌞
|
<ul><li> <a href="/wiki/Template:PAGENAME" title="Template:PAGENAME">Template:PAGENAME</a>⌞
</li><li> <a href="/wiki/Template:BASEPAGENAME" title="Template:BASEPAGENAME">Template:BASEPAGENAME</a>⌞
</li><li> <a href="/wiki/Template:SUBPAGENAME" title="Template:SUBPAGENAME">Template:SUBPAGENAME</a>⌞
</li><li> <a href="/wiki/Template:SUBPAGENAMEE" title="Template:SUBPAGENAMEE">Template:SUBPAGENAMEE</a>⌞
</li><li> <a href="/wiki/Template:ROOTPAGENAME" title="Template:ROOTPAGENAME">Template:ROOTPAGENAME</a>⌞
</li><li> <a href="/wiki/Template:ROOTPAGENAMEE" title="Template:ROOTPAGENAMEE">Template:ROOTPAGENAMEE</a>⌞
</li><li> <a href="/wiki/Template:BASEPAGENAME" title="Template:BASEPAGENAME">Template:BASEPAGENAME</a>⌞
</li><li> <a href="/wiki/Template:BASEPAGENAMEE" title="Template:BASEPAGENAMEE">Template:BASEPAGENAMEE</a>⌞
</li><li> <a href="/wiki/Template:TALKPAGENAME" title="Template:TALKPAGENAME">Template:TALKPAGENAME</a>⌞
</li><li> <a href="/wiki/Template:TALKPAGENAMEE" title="Template:TALKPAGENAMEE">Template:TALKPAGENAMEE</a>⌞
</li><li> <a href="/wiki/Template:SUBJECTPAGENAME" title="Template:SUBJECTPAGENAME">Template:SUBJECTPAGENAME</a>⌞
</li><li> <a href="/wiki/Template:SUBJECTPAGENAMEE" title="Template:SUBJECTPAGENAMEE">Template:SUBJECTPAGENAMEE</a>⌞
</li><li> <a href="/wiki/Template:NAMESPACEE" title="Template:NAMESPACEE">Template:NAMESPACEE</a>⌞
</li><li> <a href="/wiki/Template:NAMESPACE" title="Template:NAMESPACE">Template:NAMESPACE</a>⌞
</li><li> <a href="/wiki/Template:TALKSPACE" title="Template:TALKSPACE">Template:TALKSPACE</a>⌞
</li><li> <a href="/wiki/Template:TALKSPACEE" title="Template:TALKSPACEE">Template:TALKSPACEE</a>⌞
</li><li> <a href="/wiki/Template:SUBJECTSPACE" title="Template:SUBJECTSPACE">Template:SUBJECTSPACE</a>⌞
</li><li> <a href="/wiki/Template:SUBJECTSPACEE" title="Template:SUBJECTSPACEE">Template:SUBJECTSPACEE</a>⌞
</li><li> <a href="/wiki/Template:Dynamic" title="Template:Dynamic">Template:Dynamic</a>⌞
</li></ul>⌞
|
850 |
fail |
Gallery |
<gallery>⌞
image1.png |⌞
image2.gif|||||⌞
⌞
image3|⌞
image4 |300px| centre⌞
image5.svg| http://///////⌞
[[x|xx]]]]⌞
* image6⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Image1.png</div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Image2.gif</div>⌞
<div class="gallerytext">⌞
<p>||||⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Image3</div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Image4</div>⌞
<div class="gallerytext">⌞
<p>300px| centre⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Image5.svg</div>⌞
<div class="gallerytext">⌞
<p><a rel="nofollow" class="external free" href="http://///////">http://///////</a>⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">* image6</div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery>⌞
image1.png |⌞
image2.gif|||||⌞
</p><p>image3|⌞
image4 |300px| centre⌞
</p><pre>image5.svg| <a rel="nofollow" class="external free" href="http://///////">http://///////</a>⌞
</pre><p><a href="/wiki/x" title="x">xx</a>]]⌞
</p><ul><li> image6⌞
</li></ul>⌞
<p></gallery>⌞
</p> |
851 |
fail |
Gallery (with options) |
<gallery widths='70px' heights='40px' perrow='2' caption='Foo [[Main Page]]' >⌞
File:Nonexistant.jpg|caption⌞
File:Nonexistant.jpg⌞
image:foobar.jpg|some '''caption''' [[Main Page]]⌞
image:foobar.jpg⌞
image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.⌞
</gallery> |
<ul class="gallery" style="max-width: 226px;_width: 226px;">⌞
<li class='gallerycaption'>Foo <a href="/wiki/Main_Page" title="Main Page">Main Page</a></li>⌞
<li class="gallerybox" style="width: 105px"><div style="width: 105px">⌞
<div style="height: 70px;">Nonexistant.jpg</div>⌞
<div class="gallerytext">⌞
<p>caption⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 105px"><div style="width: 105px">⌞
<div style="height: 70px;">Nonexistant.jpg</div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 105px"><div style="width: 105px">⌞
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" width="70" height="8" /></a></div></div>⌞
<div class="gallerytext">⌞
<p>some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 105px"><div style="width: 105px">⌞
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" width="70" height="8" /></a></div></div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 105px"><div style="width: 105px">⌞
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" width="70" height="8" /></a></div></div>⌞
<div class="gallerytext">⌞
<p>Blabla|blabla.⌞
</p>⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery widths='70px' heights='40px' perrow='2' caption='Foo <a href="/wiki/Main_Page" title="Main Page">Main Page'</a> >⌞
File:Nonexistant.jpg|caption⌞
File:Nonexistant.jpg⌞
image:foobar.jpg|some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
image:foobar.jpg⌞
image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.⌞
</gallery>⌞
</p> |
852 |
fail |
Gallery with wikitext inside caption |
<gallery>⌞
File:foobar.jpg|[[File:foobar.jpg|20px|desc|alt=inneralt]]|alt=galleryalt⌞
File:foobar.jpg|{{Test|unamedParam|alt=param}}|alt=galleryalt⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
<p><a href="/wiki/File:Foobar.jpg" class="image" title="desc"><img alt="inneralt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/20px-Foobar.jpg" width="20" height="2" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/30px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/40px-Foobar.jpg 2x" /></a>⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
<p>This is a test template⌞
</p>⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery>⌞
File:foobar.jpg|<a href="/wiki/File:foobar.jpg" title="File:foobar.jpg">20px|desc|alt=inneralt</a>|alt=galleryalt⌞
File:foobar.jpg|This is a test template|alt=galleryalt⌞
</gallery>⌞
</p> |
853 |
fail |
gallery (with showfilename option) |
<gallery showfilename>⌞
File:Nonexistant.jpg|caption⌞
File:Nonexistant.jpg⌞
image:foobar.jpg|some '''caption''' [[Main Page]]⌞
File:Foobar.jpg⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Nonexistant.jpg</div>⌞
<div class="gallerytext">⌞
<p><a href="/wiki/File:Nonexistant.jpg" title="File:Nonexistant.jpg">Nonexistant.jpg</a><br />⌞
caption⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Nonexistant.jpg</div>⌞
<div class="gallerytext">⌞
<p><a href="/wiki/File:Nonexistant.jpg" title="File:Nonexistant.jpg">Nonexistant.jpg</a><br />⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
<p><a href="/wiki/File:Foobar.jpg" title="File:Foobar.jpg">Foobar.jpg</a><br />⌞
some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p>⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
<p><a href="/wiki/File:Foobar.jpg" title="File:Foobar.jpg">Foobar.jpg</a><br />⌞
</p>⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery showfilename>⌞
File:Nonexistant.jpg|caption⌞
File:Nonexistant.jpg⌞
image:foobar.jpg|some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
File:Foobar.jpg⌞
</gallery>⌞
</p> |
854 |
fail |
Gallery (with namespace-less filenames) |
<gallery>⌞
File:Nonexistant.jpg⌞
Nonexistant.jpg⌞
image:foobar.jpg⌞
foobar.jpg⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Nonexistant.jpg</div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div style="height: 150px;">Nonexistant.jpg</div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery>⌞
File:Nonexistant.jpg⌞
Nonexistant.jpg⌞
image:foobar.jpg⌞
foobar.jpg⌞
</gallery>⌞
</p> |
855 |
tidy |
HTML Hex character encoding (spells the word "JavaScript") |
JavaScript |
<p>JavaScript⌞
</p> |
<p>JavaScript⌞
</p> |
856 |
pass |
HTML Hex character encoding bogus encoding (bug 26437 regression check) |
&#xsee;&#XSEE; |
<p>&#xsee;&#XSEE;⌞
</p> |
<p>&#xsee;&#XSEE;⌞
</p> |
857 |
tidy |
HTML Hex character encoding mixed case |
îî |
<p>îî⌞
</p> |
<p>îî⌞
</p> |
858 |
fail |
__FORCETOC__ override |
__NEWSECTIONLINK__⌞
__FORCETOC__ |
<p><br />⌞
</p> |
<p>__NEWSECTIONLINK__⌞
</p> |
859 |
fail |
ISBN code coverage |
ISBN 978-0-1234-56 789 |
<p><a href="/wiki/Special:BookSources/9780123456" class="internal mw-magiclink-isbn">ISBN 978-0-1234-56</a> 789⌞
</p> |
<p>ISBN 978-0-1234-56 789⌞
</p> |
860 |
pass |
ISBN followed by 5 spaces |
ISBN |
<p>ISBN ⌞
</p> |
<p>ISBN ⌞
</p> |
861 |
fail |
Double ISBN |
ISBN ISBN 1234567890 |
<p>ISBN <a href="/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1234567890</a>⌞
</p> |
<p>ISBN ISBN 1234567890⌞
</p> |
862 |
fail |
Bug 22905: <abbr> followed by ISBN followed by </a> |
<abbr>(fr)</abbr> ISBN 2753300917 [http://www.example.com example.com] |
<p><abbr>(fr)</abbr> <a href="/wiki/Special:BookSources/2753300917" class="internal mw-magiclink-isbn">ISBN 2753300917</a> <a rel="nofollow" class="external text" href="http://www.example.com">example.com</a>⌞
</p> |
<p><abbr>(fr)</abbr> ISBN 2753300917 <a rel="nofollow" class="external text" href="http://www.example.com">example.com</a>⌞
</p> |
863 |
fail |
Double RFC |
RFC RFC 1234 |
<p>RFC <a class="external mw-magiclink-rfc" rel="nofollow" href="//tools.ietf.org/html/rfc1234">RFC 1234</a>⌞
</p> |
<p>RFC RFC 1234⌞
</p> |
864 |
fail |
Double RFC with a wiki link |
RFC [[RFC 1234]] |
<p>RFC <a href="/index.php?title=RFC_1234&action=edit&redlink=1" class="new" title="RFC 1234 (page does not exist)">RFC 1234</a>⌞
</p> |
<p>RFC <a href="/wiki/RFC_1234" title="RFC 1234">RFC 1234</a>⌞
</p> |
865 |
fail |
RFC code coverage |
RFC 983 987 |
<p><a class="external mw-magiclink-rfc" rel="nofollow" href="//tools.ietf.org/html/rfc983">RFC 983</a> 987⌞
</p> |
<p>RFC 983 987⌞
</p> |
866 |
fail |
Centre-aligned image |
[[Image:foobar.jpg|centre]] |
<div class="center"><div class="floatnone"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">centre</a>⌞
</p> |
867 |
fail |
None-aligned image |
[[Image:foobar.jpg|none]] |
<div class="floatnone"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></div>⌞
|
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">none</a>⌞
</p> |
868 |
fail |
Width + Height sized image (using px) (height is ignored) |
[[Image:foobar.jpg|640x480px]] |
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/640px-Foobar.jpg" width="640" height="73" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/960px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/1280px-Foobar.jpg 2x" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">640x480px</a>⌞
</p> |
869 |
fail |
Width-sized image (using px, no following whitespace) |
[[Image:foobar.jpg|640px]] |
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/640px-Foobar.jpg" width="640" height="73" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/960px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/1280px-Foobar.jpg 2x" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">640px</a>⌞
</p> |
870 |
fail |
Width-sized image (using px, with following whitespace - test regression from r39467) |
[[Image:foobar.jpg|640px ]] |
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/640px-Foobar.jpg" width="640" height="73" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/960px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/1280px-Foobar.jpg 2x" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">640px</a>⌞
</p> |
871 |
fail |
Width-sized image (using px, with preceding whitespace - test regression from r39467) |
[[Image:foobar.jpg| 640px]] |
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/640px-Foobar.jpg" width="640" height="73" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/960px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/1280px-Foobar.jpg 2x" /></a>⌞
</p> |
<p><a href="/wiki/Image:foobar.jpg" title="Image:foobar.jpg">640px</a>⌞
</p> |
872 |
fail |
Another italics / bold test |
''' ''x' |
<pre>'<i> </i>x'⌞
</pre> |
<pre><b> <i>x'</i></b>⌞
</pre> |
873 |
skip |
dt/dd/dl test
|
:;;;:: |
<dl><dd><dl><dt><dl><dt><dl><dt><dl><dd><dl><dd>⌞
</dd></dl>⌞
</dd></dl>⌞
</dt></dl>⌞
</dt></dl>⌞
</dt></dl>⌞
</dd></dl>⌞
|
|
874 |
fail |
Images with the "|" character in the comment |
[[image:Foobar.jpg|thumb|An [http://test/?param1=|left|¶m2=|x external] URL]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>An <a rel="nofollow" class="external text" href="http://test/?param1=%7Cleft%7C&param2=%7Cx">external</a> URL</div></div></div>⌞
|
<p><a href="/wiki/image:Foobar.jpg" title="image:Foobar.jpg">thumb|An <a rel="nofollow" class="external text" href="http://test/?param1=|left|&param2=|x">external</a> URL</a>⌞
</p> |
875 |
pass |
[Before] HTML without raw HTML enabled ($wgRawHtml==false) |
<html><script>alert(1);</script></html> |
<p><html><script>alert(1);</script></html>⌞
</p> |
<p><html><script>alert(1);</script></html>⌞
</p> |
876 |
fail |
HTML with raw HTML ($wgRawHtml==true)
|
<html><script>alert(1);</script></html> |
<p><script>alert(1);</script>⌞
</p> |
<p><html><script>alert(1);</script></html>⌞
</p> |
877 |
skip |
Parents of subpages, one level up
- subpage
- title: Subpage test/L1/L2/L3
|
[[../|L2]] |
<p><a href="/index.php?title=Subpage_test/L1/L2&action=edit&redlink=1" class="new" title="Subpage test/L1/L2 (page does not exist)">L2</a>⌞
</p> |
|
878 |
skip |
Parents of subpages, one level up, not named
- subpage
- title: Subpage test/L1/L2/L3
|
[[../]] |
<p><a href="/index.php?title=Subpage_test/L1/L2&action=edit&redlink=1" class="new" title="Subpage test/L1/L2 (page does not exist)">Subpage test/L1/L2</a>⌞
</p> |
|
879 |
skip |
Parents of subpages, two levels up
- subpage
- title: Subpage test/L1/L2/L3
|
[[../../|L1]]2⌞
⌞
[[../../|L1]]l |
<p><a href="/index.php?title=Subpage_test/L1&action=edit&redlink=1" class="new" title="Subpage test/L1 (page does not exist)">L1</a>2⌞
</p><p><a href="/index.php?title=Subpage_test/L1&action=edit&redlink=1" class="new" title="Subpage test/L1 (page does not exist)">L1l</a>⌞
</p> |
|
880 |
skip |
Parents of subpages, two levels up, without trailing slash or name.
- subpage
- title: Subpage test/L1/L2/L3
|
[[../..]] |
<p>[[../..]]⌞
</p> |
|
881 |
skip |
Parents of subpages, two levels up, with lots of extra trailing slashes.
- subpage
- title: Subpage test/L1/L2/L3
|
[[../../////]] |
<p><a href="/index.php?title=Subpage_test/L1////&action=edit&redlink=1" class="new" title="Subpage test/L1//// (page does not exist)">///</a>⌞
</p> |
|
882 |
skip |
Transclusion of a sibling page (one level up)
- subpage
- title: Subpage test/L1/L2/L3
|
{{../L3Sibling}} |
<p>Sibling article⌞
</p> |
|
883 |
skip |
Transclusion of a child page
- subpage
- title: Subpage test/L1/L2
|
{{/L3Sibling}} |
<p>Sibling article⌞
</p> |
|
884 |
skip |
Non-transclusion because of too many up levels
- subpage
- title: Subpage test/L1/L2/L3
|
{{../../../../More than parent}} |
<p>{{../../../../More than parent}}⌞
</p> |
|
885 |
tidy |
Definition list code coverage |
; title : def⌞
; title : def⌞
;title: def |
<dl><dt> title  </dt><dd> def⌞
</dd><dt> title </dt><dd> def⌞
</dd><dt>title</dt><dd> def⌞
</dd></dl>⌞
|
<dl><dt> title </dt><dd> def⌞
</dd><dt> title </dt><dd> def⌞
</dd><dt>title</dt><dd> def⌞
</dd></dl>⌞
|
886 |
fail |
Don't fall for the self-closing div |
<div>hello world</div/> |
<div>hello world</div>⌞
|
<div>hello world</div/></div> |
887 |
fail |
MSGNW magic word |
{{MSGNW:msg}} |
<p>[[:Template:Msg]]⌞
</p> |
<p><a href="/wiki/Template:MSGNW:msg" title="Template:MSGNW:msg">Template:MSGNW:msg</a>⌞
</p> |
888 |
fail |
RAW magic word |
{{RAW:QUERTY}} |
<p><a href="/index.php?title=Template:QUERTY&action=edit&redlink=1" class="new" title="Template:QUERTY (page does not exist)">Template:QUERTY</a>⌞
</p> |
<p><a href="/wiki/Template:RAW:QUERTY" title="Template:RAW:QUERTY">Template:RAW:QUERTY</a>⌞
</p> |
889 |
pass |
Always escape literal '>' in output, not just after '<' |
><> |
<p>><>⌞
</p> |
<p>><>⌞
</p> |
890 |
pass |
Template caching |
{{Test}}⌞
{{Test}} |
<p>This is a test template⌞
This is a test template⌞
</p> |
<p>This is a test template⌞
This is a test template⌞
</p> |
891 |
fail |
Inclusion of !userCanEdit() content |
{{MediaWiki:Fake}} |
<h2><span class="mw-headline" id="header">header</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=MediaWiki:Fake&action=edit&section=T-1" title="MediaWiki:Fake">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<p><a href="/wiki/Template:MediaWiki:Fake" title="Template:MediaWiki:Fake">Template:MediaWiki:Fake</a>⌞
</p> |
892 |
fail |
Out-of-order TOC heading levels |
==2==⌞
======6======⌞
===3===⌞
=1=⌞
=====5=====⌞
==2== |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#2"><span class="tocnumber">1</span> <span class="toctext">2</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-2"><a href="#6"><span class="tocnumber">1.1</span> <span class="toctext">6</span></a></li>⌞
<li class="toclevel-2 tocsection-3"><a href="#3"><span class="tocnumber">1.2</span> <span class="toctext">3</span></a></li>⌞
</ul>⌞
</li>⌞
<li class="toclevel-1 tocsection-4"><a href="#1"><span class="tocnumber">2</span> <span class="toctext">1</span></a>⌞
<ul>⌞
<li class="toclevel-2 tocsection-5"><a href="#5"><span class="tocnumber">2.1</span> <span class="toctext">5</span></a></li>⌞
<li class="toclevel-2 tocsection-6"><a href="#2_2"><span class="tocnumber">2.2</span> <span class="toctext">2</span></a></li>⌞
</ul>⌞
</li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="2">2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h6><span class="mw-headline" id="6">6</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: 6">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h3><span class="mw-headline" id="3">3</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: 3">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h1><span class="mw-headline" id="1">1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: 1">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h5><span class="mw-headline" id="5">5</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: 5">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h2><span class="mw-headline" id="2_2">2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=6" title="Edit section: 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="2">2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h6><span class="mw-headline" id="6">6</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: 6">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
<h3><span class="mw-headline" id="3">3</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: 3">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h1><span class="mw-headline" id="1">1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: 1">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h5><span class="mw-headline" id="5">5</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: 5">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h2><span class="mw-headline" id="2_2">2</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: 2">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
893 |
pass |
ISBN with a dummy number |
ISBN --- |
<p>ISBN ---⌞
</p> |
<p>ISBN ---⌞
</p> |
894 |
fail |
ISBN with space-delimited number |
ISBN 92 9017 032 8 |
<p><a href="/wiki/Special:BookSources/9290170328" class="internal mw-magiclink-isbn">ISBN 92 9017 032 8</a>⌞
</p> |
<p>ISBN 92 9017 032 8⌞
</p> |
895 |
pass |
ISBN with multiple spaces, no number |
ISBN foo |
<p>ISBN foo⌞
</p> |
<p>ISBN foo⌞
</p> |
896 |
fail |
ISBN length |
ISBN 123456789⌞
⌞
ISBN 1234567890⌞
⌞
ISBN 12345678901 |
<p>ISBN 123456789⌞
</p><p><a href="/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1234567890</a>⌞
</p><p>ISBN 12345678901⌞
</p> |
<p>ISBN 123456789⌞
</p><p>ISBN 1234567890⌞
</p><p>ISBN 12345678901⌞
</p> |
897 |
fail |
ISBN with trailing year (bug 8110) |
ISBN 1-234-56789-0 - 2006⌞
⌞
ISBN 1 234 56789 0 - 2006 |
<p><a href="/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1-234-56789-0</a> - 2006⌞
</p><p><a href="/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1 234 56789 0</a> - 2006⌞
</p> |
<p>ISBN 1-234-56789-0 - 2006⌞
</p><p>ISBN 1 234 56789 0 - 2006⌞
</p> |
898 |
fail |
anchorencode |
{{anchorencode:foo bar©#%n}} |
<p>foo_bar.C2.A9.23.25n⌞
</p> |
<p><a href="/wiki/Template:Anchorencode:foo_bar©#%n" title="Template:Anchorencode:foo bar©#%n">Template:Anchorencode:foo bar©#%n</a>⌞
</p> |
899 |
fail |
anchorencode trims spaces |
{{anchorencode: __pretty__please__}} |
<p>pretty_please⌞
</p> |
<p><a href="/wiki/Template:Anchorencode:___pretty__please" title="Template:Anchorencode: pretty please">Template:Anchorencode: pretty please</a>⌞
</p> |
900 |
fail |
anchorencode deals with links |
{{anchorencode: [[hello|world]] [[hi]]}} |
<p>world_hi⌞
</p> |
<p><a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
901 |
fail |
anchorencode deals with templates |
{{anchorencode: {{Foo}} }} |
<p>FOO⌞
</p> |
<p><a href="/wiki/Template:Anchorencode:_FOO" title="Template:Anchorencode: FOO">Template:Anchorencode: FOO</a>⌞
</p> |
902 |
fail |
anchorencode encodes like the TOC generator: (bug 18431) |
=== _ +:.3A%3A&&]] ===⌞
{{anchorencode: _ +:.3A%3A&&]] }}⌞
__NOEDITSECTION__ |
<h3><span class="mw-headline" id=".2B:.3A.253A.26.26.5D.5D">_ +:.3A%3A&&]]</span></h3>⌞
<p>.2B:.3A.253A.26.26.5D.5D⌞
</p> |
<h3><span class="mw-headline" id="_ +:.3A%3A&&amp;]]">_ +:.3A%3A&&amp;]]</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: _ +:.3A%3A&&amp;]]">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<p><a href="/wiki/Template:Anchorencode:___+:.3A%3A&&" title="Template:Anchorencode: +:.3A%3A&&">Template:Anchorencode: +:.3A%3A&&</a>]]⌞
__NOEDITSECTION__⌞
</p> |
903 |
tidy |
Bug 6200: blockquotes and paragraph formatting |
<blockquote>⌞
foo⌞
</blockquote>⌞
⌞
bar⌞
⌞
baz |
<blockquote>⌞
foo⌞
</blockquote>⌞
<p>bar⌞
</p>⌞
<pre>baz⌞
</pre> |
<blockquote>foo</blockquote><p>bar⌞
</p><pre>baz⌞
</pre> |
904 |
fail |
Bug 8293: Use of center tag ruins paragraph formatting |
<center>⌞
foo⌞
</center>⌞
⌞
bar⌞
⌞
baz |
<center>⌞
<p>foo⌞
</p>⌞
</center>⌞
<p>bar⌞
</p>⌞
<pre>baz⌞
</pre> |
<center>foo</center><p>bar⌞
</p><pre>baz⌞
</pre> |
905 |
pass |
Parsing of overlapping (improperly nested) inline html tags (PHP parser)
|
<span><s>x</span></s> |
<p><span><s>x</span></s></span>⌞
</p> |
<p><span><s>x</span></s></span>⌞
</p> |
906 |
fail |
Parsing of overlapping (improperly nested) inline html tags (Parsoid)
|
<span><s>x</span></s> |
<p><span><s>x</s></span><s></s>⌞
</p> |
<p><span><s>x</span></s></span>⌞
</p> |
907 |
fail |
Self-link in language variants
- language: sr
- title: Dunav
|
Both [[Dunav]] and [[Дунав]] are names for this river. |
<p>Both <strong class="selflink">Dunav</strong> and <strong class="selflink">Дунав</strong> are names for this river.⌞
</p> |
<p>Both <a href="/wiki/Dunav" title="Dunav">Dunav</a> and <a href="/wiki/Дунав" title="Дунав">Дунав</a> are names for this river.⌞
</p> |
908 |
fail |
Link to another existing title shouldn't be parsed as self-link even if it's a variant of this title
|
[[Дуна]] is not a self-link while [[Duna]] and [[Dуна]] are still self-links. |
<p><a href="/wiki/%D0%94%D1%83%D0%BD%D0%B0" title="Дуна">Дуна</a> is not a self-link while <strong class="selflink">Duna</strong> and <strong class="selflink">Dуна</strong> are still self-links.⌞
</p> |
<p><a href="/wiki/Дуна" title="Дуна">Дуна</a> is not a self-link while <a href="/wiki/Duna" title="Duna">Duna</a> and <a href="/wiki/Dуна" title="Dуна">Dуна</a> are still self-links.⌞
</p> |
909 |
fail |
Link to pages in language variants
|
Main Page can be written as [[Маин Паге]] |
<p>Main Page can be written as <a href="/wiki/Main_Page" title="Main Page">Маин Паге</a>⌞
</p> |
<p>Main Page can be written as <a href="/wiki/Маин_Паге" title="Маин Паге">Маин Паге</a>⌞
</p> |
910 |
fail |
Multiple links to pages in language variants
|
[[Main Page]] can be written as [[Маин Паге]] same as [[Маин Паге]]. |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a> can be written as <a href="/wiki/Main_Page" title="Main Page">Маин Паге</a> same as <a href="/wiki/Main_Page" title="Main Page">Маин Паге</a>.⌞
</p> |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a> can be written as <a href="/wiki/Маин_Паге" title="Маин Паге">Маин Паге</a> same as <a href="/wiki/Маин_Паге" title="Маин Паге">Маин Паге</a>.⌞
</p> |
911 |
fail |
Simple template in language variants
|
{{тест}} |
<p>This is a test template⌞
</p> |
<p><a href="/wiki/Template:Тест" title="Template:Тест">Template:Тест</a>⌞
</p> |
912 |
fail |
Template with explicit namespace in language variants
|
{{Template:тест}} |
<p>This is a test template⌞
</p> |
<p><a href="/wiki/Template:Тест" title="Template:Тест">Template:Тест</a>⌞
</p> |
913 |
fail |
Basic test for template parameter in language variants
|
{{парамтест|param=foo}} |
<p>This is a test template with parameter foo⌞
</p> |
<p><a href="/wiki/Template:Парамтест" title="Template:Парамтест">Template:Парамтест</a>⌞
</p> |
914 |
fail |
Simple category in language variants
|
[[Category:МедиаWики Усер'с Гуиде]] |
<a href="/wiki/%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%98%D0%B0:MediaWiki_User%27s_Guide" title="Категорија:MediaWiki User's Guide">MediaWiki User's Guide</a> |
<p><a href="/wiki/Category:МедиаWики_Усер'с_Гуиде" title="Category:МедиаWики Усер'с Гуиде">Category:МедиаWики Усер'с Гуиде</a>⌞
</p> |
915 |
fail |
Don't convert blue categorylinks to another variant (bug 33210)
|
[[A]][[Category:分类]] |
<a href="/wiki/Category:%E5%88%86%E7%B1%BB" title="Category:分类">分类</a> |
<p><a href="/wiki/A" title="A">A</a><a href="/wiki/Category:分类" title="Category:分类">Category:分类</a>⌞
</p> |
916 |
fail |
Stripping -{}- tags (language variants)
|
Latin proverb: -{Ne nuntium necare}- |
<p>Latin proverb: Ne nuntium necare⌞
</p> |
<p>Latin proverb: -{Ne nuntium necare}-⌞
</p> |
917 |
fail |
Prevent conversion with -{}- tags (language variants)
- variant: sr-ec
- language: sr
|
Latinski: -{Ne nuntium necare}- |
<p>Латински: Ne nuntium necare⌞
</p> |
<p>Latinski: -{Ne nuntium necare}-⌞
</p> |
918 |
fail |
Prevent conversion of text with -{}- tags (language variants)
- variant: sr-ec
- language: sr
|
Latinski: -{Ne nuntium necare}- |
<p>Латински: Ne nuntium necare⌞
</p> |
<p>Latinski: -{Ne nuntium necare}-⌞
</p> |
919 |
fail |
Prevent conversion of links with -{}- tags (language variants)
- variant: sr-ec
- language: sr
|
-{[[Main Page]]}- |
<p><a href="/wiki/Main_Page" title="Main Page">Main Page</a>⌞
</p> |
<p>-{<a href="/wiki/Main_Page" title="Main Page">Main Page</a>}-⌞
</p> |
920 |
fail |
-{}- tags within headlines (within html for parserConvert())
- variant: sr-ec
- language: sr
|
== -{Naslov}- == |
<h2><span class="mw-headline" id="-.7BNaslov.7D-">Naslov</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Уредите одељак „Naslov“">уреди</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="-{Naslov}-">-{Naslov}-</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: -{Naslov}-">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
921 |
fail |
Explicit definition of language variant alternatives
- variant: zh-tw
- language: zh
|
-{zh:China;zh-tw:Taiwan}-, not China |
<p>Taiwan, not China⌞
</p> |
<p>-{zh:China;zh-tw:Taiwan}-, not China⌞
</p> |
922 |
fail |
Conversion around HTML tags
- variant: sr-ec
- language: sr
|
-{H|span=>sr-ec:script;title=>sr-ec:src;}-⌞
<span title="La-{sr-el:L;sr-ec:C;}-tin">ski</span> |
<p>⌞
<span title="ЛаCтин">ски</span>⌞
</p> |
<p>-{H|span=>sr-ec:script;title=>sr-ec:src;}-⌞
<span title="La-{sr-el:L;sr-ec:C;}-tin">ski</span>⌞
</p> |
923 |
fail |
Explicit session-wise language variant mapping (A flag and - flag)
- variant: zh-tw
- language: zh
|
Taiwan is not China.⌞
But -{A|zh:China;zh-tw:Taiwan}- is China,⌞
(This-{-|zh:China;zh-tw:Taiwan}- should be stripped!)⌞
and -{China}- is China. |
<p>Taiwan is not China.⌞
But Taiwan is Taiwan,⌞
(This should be stripped!)⌞
and China is China.⌞
</p> |
<p>Taiwan is not China.⌞
But -{A|zh:China;zh-tw:Taiwan}- is China,⌞
(This-{-|zh:China;zh-tw:Taiwan}- should be stripped!)⌞
and -{China}- is China.⌞
</p> |
924 |
fail |
Explicit session-wise language variant mapping (H flag for hide)
- variant: zh-tw
- language: zh
|
(This-{H|zh:China;zh-tw:Taiwan}- should be stripped!)⌞
Taiwan is China. |
<p>(This should be stripped!)⌞
Taiwan is Taiwan.⌞
</p> |
<p>(This-{H|zh:China;zh-tw:Taiwan}- should be stripped!)⌞
Taiwan is China.⌞
</p> |
925 |
fail |
Adding explicit conversion rule for title (T flag)
- variant: zh-tw
- language: zh
- showtitle
|
Should be stripped-{T|zh:China;zh-tw:Taiwan}-! |
Taiwan⌞
<p>Should be stripped!⌞
</p> |
<p>Should be stripped-{T|zh:China;zh-tw:Taiwan}-!⌞
</p> |
926 |
fail |
Testing that changing the language variant here in the tests actually works
- variant: zh
- language: zh
- showtitle
|
Should be stripped-{T|zh:China;zh-tw:Taiwan}-! |
China⌞
<p>Should be stripped!⌞
</p> |
<p>Should be stripped-{T|zh:China;zh-tw:Taiwan}-!⌞
</p> |
927 |
fail |
Recursive conversion of alt and title attrs shouldn't clear converter state
- variant: zh-cn
- language: zh
- showtitle
|
-{H|zh-cn:Exclamation;zh-tw:exclamation;}-⌞
Should be stripped-{T|zh-cn:China;zh-tw:Taiwan}-<span title="exclamation">!</span> |
China⌞
<p>⌞
Should be stripped<span title="Exclamation">!</span>⌞
</p> |
<p>-{H|zh-cn:Exclamation;zh-tw:exclamation;}-⌞
Should be stripped-{T|zh-cn:China;zh-tw:Taiwan}-<span title="exclamation">!</span>⌞
</p> |
928 |
fail |
Bug 24072: more test on conversion rule for title
- variant: zh-tw
- language: zh
- showtitle
|
This should be stripped-{T|zh:China;zh-tw:Taiwan}-!⌞
This won't take interferes with the title rule-{H|zh:Beijing;zh-tw:Taipei}-. |
Taiwan⌞
<p>This should be stripped!⌞
This won't take interferes with the title rule.⌞
</p> |
<p>This should be stripped-{T|zh:China;zh-tw:Taiwan}-!⌞
This won't take interferes with the title rule-{H|zh:Beijing;zh-tw:Taipei}-.⌞
</p> |
929 |
fail |
Partly disable title conversion if variant == main language code
- variant: zh
- language: zh
- showtitle
- title: ZH
|
-{T|zh-cn:CN;zh-tw:TW}- |
ZH⌞
<p>⌞
</p> |
<p>-{T|zh-cn:CN;zh-tw:TW}-⌞
</p> |
930 |
fail |
Partly disable title conversion if variant == main language code, more
- variant: zh
- language: zh
- showtitle
- title: ZH
|
-{T|TW}- |
ZH⌞
<p>⌞
</p> |
<p>-{T|TW}-⌞
</p> |
931 |
fail |
Raw output of variant escape tags (R flag)
- variant: zh-tw
- language: zh
|
Raw: -{R|zh:China;zh-tw:Taiwan}- |
<p>Raw: zh:China;zh-tw:Taiwan⌞
</p> |
<p>Raw: -{R|zh:China;zh-tw:Taiwan}-⌞
</p> |
932 |
fail |
Nested using of manual convert syntax
- variant: zh-hk
- language: zh
|
Nested: -{zh-hans:Hi -{zh-cn:China;zh-sg:Singapore;}-;zh-hant:Hello -{zh-tw:Taiwan;zh-hk:H-{ong}- K-{}-ong;}-;}-! |
<p>Nested: Hello Hong Kong!⌞
</p> |
<p>Nested: -{zh-hans:Hi -{zh-cn:China;zh-sg:Singapore;}-;zh-hant:Hello -{zh-tw:Taiwan;zh-hk:H-{ong}- K-{}-ong;}-;}-!⌞
</p> |
933 |
fail |
Proper conversion of text in external links
- variant: sr-ec
- language: sr
|
http://www.google.com⌞
gopher://www.google.com⌞
[http://www.google.com http://www.google.com]⌞
[gopher://www.google.com gopher://www.google.com]⌞
[https://www.google.com irc://www.google.com]⌞
[ftp://www.google.com www.google.com/ftp://dir]⌞
[//www.google.com www.google.com] |
<p><a rel="nofollow" class="external free" href="http://www.google.com">http://www.google.com</a>⌞
<a rel="nofollow" class="external free" href="gopher://www.google.com">gopher://www.google.com</a>⌞
<a rel="nofollow" class="external free" href="http://www.google.com">http://www.google.com</a>⌞
<a rel="nofollow" class="external free" href="gopher://www.google.com">gopher://www.google.com</a>⌞
<a rel="nofollow" class="external text" href="https://www.google.com">irc://www.google.com</a>⌞
<a rel="nofollow" class="external text" href="ftp://www.google.com">www.гоогле.цом/фтп://дир</a>⌞
<a rel="nofollow" class="external text" href="//www.google.com">www.гоогле.цом</a>⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.google.com">http://www.google.com</a>⌞
gopher://www.google.com⌞
<a rel="nofollow" class="external text" href="http://www.google.com"><a rel="nofollow" class="external free" href="http://www.google.com">http://www.google.com</a></a>⌞
[gopher://www.google.com gopher://www.google.com]⌞
<a rel="nofollow" class="external text" href="https://www.google.com"><a rel="nofollow" class="external free" href="irc://www.google.com">irc://www.google.com</a></a>⌞
<a rel="nofollow" class="external text" href="ftp://www.google.com">www.google.com/<a rel="nofollow" class="external free" href="ftp://dir">ftp://dir</a></a>⌞
<a rel="nofollow" class="external text" href="//www.google.com">www.google.com</a>⌞
</p> |
934 |
fail |
Do not convert roman numbers to language variants
- variant: sr-ec
- language: sr
|
Fridrih IV je car. |
<p>Фридрих IV је цар.⌞
</p> |
<p>Fridrih IV je car.⌞
</p> |
935 |
pass |
Unclosed language converter markup "-{"
|
-{T|hello |
<p>-{T|hello⌞
</p> |
<p>-{T|hello⌞
</p> |
936 |
fail |
Don't convert raw rule "-{R|=>}-" to "=>"
|
-{R|=>}- |
<p>=>⌞
</p> |
<p>-{R|=>}-⌞
</p> |
937 |
pass |
Bug 529: Uncovered bullet |
* Foo {{bullet}} |
<ul><li> Foo ⌞
</li><li> Bar⌞
</li></ul>⌞
|
<ul><li> Foo ⌞
</li><li> Bar⌞
</li></ul>⌞
|
938 |
pass |
Bug 529: Uncovered bullet leaving empty list, normally removed by tidy |
******* Foo {{bullet}} |
<ul><li><ul><li><ul><li><ul><li><ul><li><ul><li><ul><li> Foo ⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li><li> Bar⌞
</li></ul>⌞
|
<ul><li><ul><li><ul><li><ul><li><ul><li><ul><li><ul><li> Foo ⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li></ul>⌞
</li><li> Bar⌞
</li></ul>⌞
|
939 |
tidy |
Bug 529: Uncovered table already at line-start |
x⌞
⌞
{{table}}⌞
y |
<p>x⌞
</p>⌞
<table>⌞
<tr>⌞
<td> 1 </td>⌞
<td> 2⌞
</td></tr>⌞
<tr>⌞
<td> 3 </td>⌞
<td> 4⌞
</td></tr></table>⌞
<p>y⌞
</p> |
<p>x⌞
</p><table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table><p>y⌞
</p> |
940 |
fail |
Bug 529: Uncovered bullet in parser function result |
* Foo {{lc:{{bullet}} }} |
<ul><li> Foo ⌞
</li><li> bar⌞
</li></ul>⌞
|
<ul><li> Foo * bar⌞
</li></ul>⌞
|
941 |
pass |
Bug 5678: Double-parsed template argument |
{{lc:{{{1}}}|hello}} |
<p>{{{1}}}⌞
</p> |
<p>{{{1}}}⌞
</p> |
942 |
fail |
Bug 5678: Double-parsed template invocation |
{{lc:{{paramtest {{!}} param = hello }} }} |
<p>{{paramtest | param = hello }}⌞
</p> |
<p><a href="/wiki/template:paramtest" title="template:paramtest">param = hello</a>⌞
</p> |
943 |
fail |
Case insensitivity of parser functions for non-ASCII characters (bug 8143)
- language: cs
- title: Main Page
|
{{PRVNÍVELKÉ:ěščř}}⌞
{{prvnívelké:ěščř}}⌞
{{PRVNÍMALÉ:ěščř}}⌞
{{prvnímalé:ěščř}}⌞
{{MALÁ:ěščř}}⌞
{{malá:ěščř}}⌞
{{VELKÁ:ěščř}}⌞
{{velká:ěščř}} |
<p>Ěščř⌞
Ěščř⌞
ěščř⌞
ěščř⌞
ěščř⌞
ěščř⌞
ĚŠČŘ⌞
ĚŠČŘ⌞
</p> |
<p><a href="/wiki/Template:PRVNÍVELKÉ:ěščř" title="Template:PRVNÍVELKÉ:ěščř">Template:PRVNÍVELKÉ:ěščř</a>⌞
<a href="/wiki/Template:Prvnívelké:ěščř" title="Template:Prvnívelké:ěščř">Template:Prvnívelké:ěščř</a>⌞
<a href="/wiki/Template:PRVNÍMALÉ:ěščř" title="Template:PRVNÍMALÉ:ěščř">Template:PRVNÍMALÉ:ěščř</a>⌞
<a href="/wiki/Template:Prvnímalé:ěščř" title="Template:Prvnímalé:ěščř">Template:Prvnímalé:ěščř</a>⌞
<a href="/wiki/Template:MALÁ:ěščř" title="Template:MALÁ:ěščř">Template:MALÁ:ěščř</a>⌞
<a href="/wiki/Template:Malá:ěščř" title="Template:Malá:ěščř">Template:Malá:ěščř</a>⌞
<a href="/wiki/Template:VELKÁ:ěščř" title="Template:VELKÁ:ěščř">Template:VELKÁ:ěščř</a>⌞
<a href="/wiki/Template:Velká:ěščř" title="Template:Velká:ěščř">Template:Velká:ěščř</a>⌞
</p> |
944 |
tidy |
Morwen/13: Unclosed link followed by heading |
[[link⌞
==heading== |
<p>[[link⌞
</p>⌞
<h2><span class="mw-headline" id="heading">heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<p>[[link⌞
</p><h2><span class="mw-headline" id="heading">heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
945 |
fail |
HHP2.1: Heuristics for headings in preprocessor parenthetical structures |
{{foo|⌞
=heading= |
<p>{{foo|⌞
</p>⌞
<h1><span class="mw-headline" id="heading">heading</span></h1>⌞
|
<p>{{foo|⌞
</p><h1><span class="mw-headline" id="heading">heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: heading">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
|
946 |
tidy |
HHP2.2: Heuristics for headings in preprocessor parenthetical structures |
{{foo|⌞
==heading== |
<p>{{foo|⌞
</p>⌞
<h2><span class="mw-headline" id="heading">heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<p>{{foo|⌞
</p><h2><span class="mw-headline" id="heading">heading</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: heading">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
947 |
skip |
Tildes in comments
|
<!-- ~~~~ --> |
<!-- ~~~~ --> |
|
948 |
fail |
Paragraphs inside divs (no extra line breaks) |
<div>Line one⌞
⌞
Line two</div> |
<div>Line one⌞
Line two</div>⌞
|
<div><p>Line one⌞
</p><p>Line two⌞
</p></div> |
949 |
fail |
Paragraphs inside divs (extra line break on open) |
<div>⌞
Line one⌞
⌞
Line two</div> |
<div>⌞
<p>Line one⌞
</p>⌞
Line two</div>⌞
|
<div><p>Line one⌞
</p><p>Line two⌞
</p></div> |
950 |
fail |
Paragraphs inside divs (extra line break on close) |
<div>Line one⌞
⌞
Line two⌞
</div> |
<div>Line one⌞
<p>Line two⌞
</p>⌞
</div>⌞
|
<div><p>Line one⌞
</p><p>Line two⌞
</p></div> |
951 |
tidy |
Paragraphs inside divs (extra line break on open and close) |
<div>⌞
Line one⌞
⌞
Line two⌞
</div> |
<div>⌞
<p>Line one⌞
</p><p>Line two⌞
</p>⌞
</div>⌞
|
<div><p>Line one⌞
</p><p>Line two⌞
</p></div> |
952 |
skip |
Nesting tags, paragraphs on lines which begin with <div>
|
<div></div><strong>A⌞
B</strong> |
<div></div>⌞
<p><strong>A⌞
B</strong>⌞
</p> |
|
953 |
skip |
Bug 6200: paragraphs inside blockquotes (no extra line breaks)
|
<blockquote>Line one⌞
⌞
Line two</blockquote> |
<blockquote>Line one⌞
Line two</blockquote>⌞
|
|
954 |
skip |
Bug 6200: paragraphs inside blockquotes (extra line break on open)
|
<blockquote>⌞
Line one⌞
⌞
Line two</blockquote> |
<blockquote>⌞
<p>Line one⌞
</p>⌞
Line two</blockquote>⌞
|
|
955 |
skip |
Bug 6200: paragraphs inside blockquotes (extra line break on close)
|
<blockquote>Line one⌞
⌞
Line two⌞
</blockquote> |
<blockquote>Line one⌞
<p>Line two⌞
</p>⌞
</blockquote>⌞
|
|
956 |
skip |
Bug 6200: paragraphs inside blockquotes (extra line break on open and close)
|
<blockquote>⌞
Line one⌞
⌞
Line two⌞
</blockquote> |
<blockquote>⌞
<p>Line one⌞
</p><p>Line two⌞
</p>⌞
</blockquote>⌞
|
|
957 |
fail |
Paragraphs inside blockquotes/divs (no extra line breaks) |
<blockquote><div>Line one⌞
⌞
Line two</div></blockquote> |
<blockquote><div>Line one⌞
Line two</div></blockquote>⌞
|
<blockquote><div><p>Line one⌞
</p><p>Line two⌞
</p></div></blockquote> |
958 |
fail |
Paragraphs inside blockquotes/divs (extra line break on open) |
<blockquote><div>⌞
Line one⌞
⌞
Line two</div></blockquote> |
<blockquote><div>⌞
<p>Line one⌞
</p>⌞
Line two</div></blockquote>⌞
|
<blockquote><div><p>Line one⌞
</p><p>Line two⌞
</p></div></blockquote> |
959 |
fail |
Paragraphs inside blockquotes/divs (extra line break on close) |
<blockquote><div>Line one⌞
⌞
Line two⌞
</div></blockquote> |
<blockquote><div>Line one⌞
<p>Line two⌞
</p>⌞
</div></blockquote>⌞
|
<blockquote><div><p>Line one⌞
</p><p>Line two⌞
</p></div></blockquote> |
960 |
tidy |
Paragraphs inside blockquotes/divs (extra line break on open and close) |
<blockquote><div>⌞
Line one⌞
⌞
Line two⌞
</div></blockquote> |
<blockquote><div>⌞
<p>Line one⌞
</p><p>Line two⌞
</p>⌞
</div></blockquote>⌞
|
<blockquote><div><p>Line one⌞
</p><p>Line two⌞
</p></div></blockquote> |
961 |
fail |
Interwiki links trounced by replaceExternalLinks after early LinkHolderArray expansion
|
[[meatball:1]]⌞
[[meatball:2]]⌞
[[meatball:3]] |
<p><a href="http://www.usemod.com/cgi-bin/mb.pl?1" class="extiw" title="meatball:1">meatball:1</a>⌞
<a href="http://www.usemod.com/cgi-bin/mb.pl?2" class="extiw" title="meatball:2">meatball:2</a>⌞
<a href="http://www.usemod.com/cgi-bin/mb.pl?3" class="extiw" title="meatball:3">meatball:3</a>⌞
</p> |
<p><a href="/wiki/meatball:1" title="meatball:1">meatball:1</a>⌞
<a href="/wiki/meatball:2" title="meatball:2">meatball:2</a>⌞
<a href="/wiki/meatball:3" title="meatball:3">meatball:3</a>⌞
</p> |
962 |
fail |
Free external link invading image caption |
[[Image:Foobar.jpg|thumb|http://x|hello]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>hello</div></div></div>⌞
|
<p><a href="/wiki/Image:Foobar.jpg" title="Image:Foobar.jpg">thumb|<a rel="nofollow" class="external free" href="http://x|hello">http://x|hello</a></a>⌞
</p> |
963 |
fail |
Bug 15196: localised external link numbers
|
[http://en.wikipedia.org/] |
<p><a rel="nofollow" class="external autonumber" href="http://en.wikipedia.org/">[۱]</a>⌞
</p> |
<p><a href="http://en.wikipedia.org/">http://en.wikipedia.org/</a>⌞
</p> |
964 |
fail |
Multibyte character in padleft |
{{padleft:-Hello|7|Æ}} |
<p>Æ-Hello⌞
</p> |
<p><a href="/wiki/Template:Padleft:-Hello" title="Template:Padleft:-Hello">Template:Padleft:-Hello</a>⌞
</p> |
965 |
fail |
Multibyte character in padright |
{{padright:Hello-|7|Æ}} |
<p>Hello-Æ⌞
</p> |
<p><a href="/wiki/Template:Padright:Hello-" title="Template:Padright:Hello-">Template:Padright:Hello-</a>⌞
</p> |
966 |
fail |
formatdate parser function |
{{#formatdate:2009-03-24}} |
<p><span class="mw-formatted-date" title="2009-03-24">2009-03-24</span>⌞
</p> |
<p><a href="/wiki/Template:#formatdate:2009-03-24" title="Template:#formatdate:2009-03-24">Template:#formatdate:2009-03-24</a>⌞
</p> |
967 |
fail |
formatdate parser function, with default format |
{{#formatdate:2009-03-24|mdy}} |
<p><span class="mw-formatted-date" title="2009-03-24">March 24, 2009</span>⌞
</p> |
<p><a href="/wiki/Template:#formatdate:2009-03-24" title="Template:#formatdate:2009-03-24">Template:#formatdate:2009-03-24</a>⌞
</p> |
968 |
fail |
Spacing of numbers in formatted dates |
{{#formatdate:January 15}} |
<p><span class="mw-formatted-date" title="01-15">January 15</span>⌞
</p> |
<p><a href="/wiki/Template:#formatdate:January_15" title="Template:#formatdate:January 15">Template:#formatdate:January 15</a>⌞
</p> |
969 |
fail |
formatdate parser function, with default format and on a page of which the content language is always English and different from the wiki content language
- language: nl
- title: MediaWiki:Common.css
|
{{#formatdate:2009-03-24|dmy}} |
<p><span class="mw-formatted-date" title="2009-03-24">24 March 2009</span>⌞
</p> |
<p><a href="/wiki/Template:#formatdate:2009-03-24" title="Template:#formatdate:2009-03-24">Template:#formatdate:2009-03-24</a>⌞
</p> |
970 |
fail |
Edit comment with link
|
I like the [[Main Page]] a lot |
I like the <a href="/wiki/Main_Page" title="Main Page">Main Page</a> a lot |
<p>I like the <a href="/wiki/Main_Page" title="Main Page">Main Page</a> a lot⌞
</p> |
971 |
fail |
Edit comment with link and link text
|
I like the [[Main Page|best pages]] a lot |
I like the <a href="/wiki/Main_Page" title="Main Page">best pages</a> a lot |
<p>I like the <a href="/wiki/Main_Page" title="Main Page">best pages</a> a lot⌞
</p> |
972 |
fail |
Edit comment with link and link text with suffix
|
I like the [[Main Page|best page]]s a lot |
I like the <a href="/wiki/Main_Page" title="Main Page">best pages</a> a lot |
<p>I like the <a href="/wiki/Main_Page" title="Main Page">best pages</a> a lot⌞
</p> |
973 |
fail |
Edit comment with section link (non-local, eg in history list)
|
/* External links */ removed bogus entries |
<a href="/wiki/Main_Page#External_links" title="Main Page">→</a><span dir="auto"><span class="autocomment">External links: </span> removed bogus entries</span> |
<p>/* External links */ removed bogus entries⌞
</p> |
974 |
fail |
Edit comment with section link and text before it (non-local, eg in history list)
|
pre-comment text /* External links */ removed bogus entries |
pre-comment text <a href="/wiki/Main_Page#External_links" title="Main Page">→</a><span dir="auto"><span class="autocomment">External links: </span> removed bogus entries</span> |
<p>pre-comment text /* External links */ removed bogus entries⌞
</p> |
975 |
fail |
Edit comment with section link (local, eg in diff view)
- comment
- local
- title: Main Page
|
/* External links */ removed bogus entries |
<a href="#External_links">→</a><span dir="auto"><span class="autocomment">External links: </span> removed bogus entries</span> |
<p>/* External links */ removed bogus entries⌞
</p> |
976 |
skip |
Edit comment with subpage link (bug 14080)
- comment
- subpage
- title: Subpage test
|
Poked at a [[/subpage]] here... |
Poked at a <a href="/wiki/Subpage_test/subpage" title="Subpage test/subpage">/subpage</a> here... |
|
977 |
skip |
Edit comment with subpage link and link text (bug 14080)
- comment
- subpage
- title: Subpage test
|
Poked at a [[/subpage|neat little page]] here... |
Poked at a <a href="/wiki/Subpage_test/subpage" title="Subpage test/subpage">neat little page</a> here... |
|
978 |
fail |
Edit comment with bogus subpage link in non-subpage NS (bug 14080)
- comment
- title: Subpage test
|
Poked at a [[/subpage]] here... |
Poked at a <a href="/index.php?title=/subpage&action=edit&redlink=1" class="new" title="/subpage (page does not exist)">/subpage</a> here... |
<p>Poked at a <a href="/wiki//subpage" title="/subpage">/subpage</a> here...⌞
</p> |
979 |
fail |
Edit comment with bare anchor link (local, as on diff)
- comment
- local
- title: Main Page
|
[[#section]] |
<a href="#section">#section</a> |
<p><a href="/wiki/#section" title="#section">#section</a>⌞
</p> |
980 |
fail |
Edit comment with bare anchor link (non-local, as on history)
|
[[#section]] |
<a href="/wiki/Main_Page#section" title="Main Page">#section</a> |
<p><a href="/wiki/#section" title="#section">#section</a>⌞
</p> |
981 |
fail |
Anchor starting with underscore |
[[#_ref|One]] |
<p><a href="#_ref">One</a>⌞
</p> |
<p><a href="/wiki/#_ref" title="#_ref">One</a>⌞
</p> |
982 |
fail |
Id starting with underscore |
<div id="_ref"></div> |
<div id="_ref"></div>⌞
|
<div id="_ref"/> |
983 |
fail |
Space normalisation on autocomment (bug 22784)
|
/* __hello__world__ */ |
<a href="/wiki/Main_Page#hello_world" title="Main Page">→</a><span dir="auto"><span class="autocomment">__hello__world__</span></span> |
<p>/* __hello__world__ */⌞
</p> |
984 |
fail |
percent-encoding and + signs in comments (Bug 26410)
|
[[ABC%33D% ++]] [[ABC%33D% ++|+%20]] |
<a href="/index.php?title=ABC3D%25_%2B%2B&action=edit&redlink=1" class="new" title="ABC3D% ++ (page does not exist)">ABC3D% ++</a> <a href="/index.php?title=ABC3D%25_%2B%2B&action=edit&redlink=1" class="new" title="ABC3D% ++ (page does not exist)">+%20</a> |
<p><a href="/wiki/ABC%33D%_++" title="ABC%33D% ++">ABC%33D% ++</a> <a href="/wiki/ABC%33D%_++" title="ABC%33D% ++">+%20</a>⌞
</p> |
985 |
skip |
Bad images - basic functionality
|
[[File:Bad.jpg]] |
|
|
986 |
skip |
Bad images - bug 16039: text after bad image disappears
|
Foo bar⌞
[[File:Bad.jpg]]⌞
Bar foo |
<p>Foo bar⌞
</p><p>Bar foo⌞
</p> |
|
987 |
fail |
Verify that displaytitle works (bug #22501) no displaytitle
|
this is not the the title |
Parser test⌞
<p>this is not the the title⌞
</p> |
<p>this is not the the title⌞
</p> |
988 |
fail |
Verify that displaytitle works (bug #22501) RestrictDisplayTitle=false
|
this is not the the title⌞
{{DISPLAYTITLE:whatever}} |
whatever⌞
<p>this is not the the title⌞
</p> |
<p>this is not the the title⌞
<a href="/wiki/Template:DISPLAYTITLE:whatever" title="Template:DISPLAYTITLE:whatever">Template:DISPLAYTITLE:whatever</a>⌞
</p> |
989 |
fail |
Verify that displaytitle works (bug #22501) RestrictDisplayTitle=true mismatch
|
this is not the the title⌞
{{DISPLAYTITLE:whatever}} |
Screen⌞
<p>this is not the the title⌞
</p> |
<p>this is not the the title⌞
<a href="/wiki/Template:DISPLAYTITLE:whatever" title="Template:DISPLAYTITLE:whatever">Template:DISPLAYTITLE:whatever</a>⌞
</p> |
990 |
fail |
Verify that displaytitle works (bug #22501) RestrictDisplayTitle=true matching
|
this is not the the title⌞
{{DISPLAYTITLE:screen}} |
screen⌞
<p>this is not the the title⌞
</p> |
<p>this is not the the title⌞
<a href="/wiki/Template:DISPLAYTITLE:screen" title="Template:DISPLAYTITLE:screen">Template:DISPLAYTITLE:screen</a>⌞
</p> |
991 |
fail |
Verify that displaytitle works (bug #22501) AllowDisplayTitle=false
|
this is not the the title⌞
{{DISPLAYTITLE:screen}} |
Screen⌞
<p>this is not the the title⌞
<a href="/index.php?title=Template:DISPLAYTITLE:screen&action=edit&redlink=1" class="new" title="Template:DISPLAYTITLE:screen (page does not exist)">Template:DISPLAYTITLE:screen</a>⌞
</p> |
<p>this is not the the title⌞
<a href="/wiki/Template:DISPLAYTITLE:screen" title="Template:DISPLAYTITLE:screen">Template:DISPLAYTITLE:screen</a>⌞
</p> |
992 |
fail |
Verify that displaytitle works (bug #22501) AllowDisplayTitle=false no DISPLAYTITLE
|
this is not the the title |
Screen⌞
<p>this is not the the title⌞
</p> |
<p>this is not the the title⌞
</p> |
993 |
fail |
Verify that displaytitle handles inline CSS styles (bug 26547) - rejected value
|
this is not the the title⌞
{{DISPLAYTITLE:<span style="display: none;">s</span>creen}} |
<span style="/* attempt to bypass $wgRestrictDisplayTitle */">s</span>creen⌞
<p>this is not the the title⌞
</p> |
<p>this is not the the title⌞
<a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
994 |
fail |
Verify that displaytitle handles inline CSS styles (bug 26547) - accepted value
|
this is not the the title⌞
{{DISPLAYTITLE:<span style="color: red;">s</span>creen}} |
<span style="color: red;">s</span>creen⌞
<p>this is not the the title⌞
</p> |
<p>this is not the the title⌞
<a href="/wiki/BROKEN" title="BROKEN">BROKEN</a>⌞
</p> |
995 |
fail |
preload: check <noinclude> and <includeonly>
|
Hello <noinclude>cruel</noinclude><includeonly>kind</includeonly> world. |
Hello kind world. |
<p>Hello cruel world.⌞
</p> |
996 |
fail |
preload: check <onlyinclude>
|
Goodbye <onlyinclude>Hello world</onlyinclude> |
Hello world |
<p>Goodbye Hello world⌞
</p> |
997 |
fail |
preload: can pass tags through if we want to
|
<includeonly><</includeonly>includeonly>Hello world<includeonly><</includeonly>/includeonly> |
<includeonly>Hello world</includeonly> |
<p>includeonly>Hello world/includeonly>⌞
</p> |
998 |
fail |
preload: check that it doesn't try to do tricks
|
* <!-- Hello --> ''{{world}}'' {{<includeonly>subst:</includeonly>How are you}}{{ {{{|safesubst:}}} #if:1|2|3}} |
* <!-- Hello --> ''{{world}}'' {{subst:How are you}}{{ {{{|safesubst:}}} #if:1|2|3}} |
<ul><li> <i><a href="/wiki/Template:World" title="Template:World">Template:World</a></i> <a href="/wiki/Template:How_are_you" title="Template:How are you">Template:How are you</a><a href="/wiki/Template:Safesubst:_#if:1" title="Template:Safesubst: #if:1">Template:Safesubst: #if:1</a>⌞
</li></ul>⌞
|
999 |
skip |
Play a bit with r67090 and bug 3158
|
<div style="width:50% !important"> </div>⌞
<div style="width:50% !important"> </div>⌞
<div style="width:50% !important"> </div>⌞
<div style="border : solid;"> </div> |
<div style="width:50% !important"> </div>⌞
<div style="width:50% !important"> </div>⌞
<div style="width:50% !important"> </div>⌞
<div style="border : solid;"> </div>⌞
|
|
1000 |
tidy |
HTML5 data attributes |
<span data-foo="bar">Baz</span>⌞
<p data-abc-def_hij="">Quuz</p> |
<p><span data-foo="bar">Baz</span>⌞
</p>⌞
<p data-abc-def_hij="">Quuz</p>⌞
|
<p><span data-foo="bar">Baz</span>⌞
</p><p data-abc-def_hij="">Quuz</p> |
1001 |
fail |
percent-encoding and + signs in internal links (Bug 26410) |
[[User:+%]] [[Page+title%]]⌞
[[%+]] [[%+|%20]] [[%+ ]] [[%+r]]⌞
[[%]] [[+]] [[image:%+abc%39|foo|[[bar]]]]⌞
[[%33%45]] [[%33%45+]] |
<p><a href="/index.php?title=User:%2B%25&action=edit&redlink=1" class="new" title="User:+% (page does not exist)">User:+%</a> <a href="/index.php?title=Page%2Btitle%25&action=edit&redlink=1" class="new" title="Page+title% (page does not exist)">Page+title%</a>⌞
<a href="/index.php?title=%25%2B&action=edit&redlink=1" class="new" title="%+ (page does not exist)">%+</a> <a href="/index.php?title=%25%2B&action=edit&redlink=1" class="new" title="%+ (page does not exist)">%20</a> <a href="/index.php?title=%25%2B&action=edit&redlink=1" class="new" title="%+ (page does not exist)">%+ </a> <a href="/index.php?title=%25%2Br&action=edit&redlink=1" class="new" title="%+r (page does not exist)">%+r</a>⌞
<a href="/index.php?title=%25&action=edit&redlink=1" class="new" title="% (page does not exist)">%</a> <a href="/index.php?title=%2B&action=edit&redlink=1" class="new" title="+ (page does not exist)">+</a> <a href="/index.php?title=Special:Upload&wpDestFile=%25%2Babc9" class="new" title="File:%+abc9">bar</a>⌞
<a href="/index.php?title=3E&action=edit&redlink=1" class="new" title="3E (page does not exist)">3E</a> <a href="/index.php?title=3E%2B&action=edit&redlink=1" class="new" title="3E+ (page does not exist)">3E+</a>⌞
</p> |
<p><a href="/wiki/User:+%" title="User:+%">User:+%</a> <a href="/wiki/Page+title%" title="Page+title%">Page+title%</a>⌞
<a href="/wiki/%+" title="%+">%+</a> <a href="/wiki/%+" title="%+">%20</a> <a href="/wiki/%+" title="%+">%+</a> <a href="/wiki/%+r" title="%+r">%+r</a>⌞
<a href="/wiki/%" title="%">%</a> <a href="/wiki/+" title="+">+</a> <a href="/wiki/image:%+abc%39" title="image:%+abc%39">foo|<a href="/wiki/bar" title="bar">bar</a></a>⌞
<a href="/wiki/%33%45" title="%33%45">%33%45</a> <a href="/wiki/%33%45+" title="%33%45+">%33%45+</a>⌞
</p> |
1002 |
fail |
Special characters in embedded file links (bug 27679) |
[[File:Contains & ampersand.jpg]]⌞
[[File:Does not exist.jpg|Title with & ampersand]] |
<p><a href="/index.php?title=Special:Upload&wpDestFile=Contains_%26_ampersand.jpg" class="new" title="File:Contains & ampersand.jpg">File:Contains & ampersand.jpg</a>⌞
<a href="/index.php?title=Special:Upload&wpDestFile=Does_not_exist.jpg" class="new" title="File:Does not exist.jpg">Title with & ampersand</a>⌞
</p> |
<p><a href="/wiki/File:Contains_&_ampersand.jpg" title="File:Contains & ampersand.jpg">File:Contains & ampersand.jpg</a>⌞
<a href="/wiki/File:Does_not_exist.jpg" title="File:Does not exist.jpg">Title with & ampersand</a>⌞
</p> |
1003 |
tidy |
Confirm that 'apos' named character reference doesn't make it to output (not legal in HTML 4) |
Text's been normalized? |
<p>Text's been normalized?⌞
</p> |
<p>Text's been normalized?⌞
</p> |
1004 |
fail |
Bug 19052 U+3000 IDEOGRAPHIC SPACE should terminate free external links |
http://www.example.org/ <-- U+3000 (vim: ^Vu3000) |
<p><a rel="nofollow" class="external free" href="http://www.example.org/">http://www.example.org/</a> <-- U+3000 (vim: ^Vu3000)⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.org/ <--">http://www.example.org/ <--</a> U+3000 (vim: ^Vu3000)⌞
</p> |
1005 |
fail |
Bug 19052 U+3000 IDEOGRAPHIC SPACE should terminate bracketed external links |
[http://www.example.org/ ideograms] |
<p><a rel="nofollow" class="external text" href="http://www.example.org/">ideograms</a>⌞
</p> |
<p><a href="http://www.example.org/ ideograms">http://www.example.org/ ideograms</a>⌞
</p> |
1006 |
fail |
Bug 19052 U+3000 IDEOGRAPHIC SPACE should terminate external images links |
http://www.example.org/pic.png <-- U+3000 (vim: ^Vu3000) |
<p><img src="http://www.example.org/pic.png" alt="pic.png" /> <-- U+3000 (vim: ^Vu3000)⌞
</p> |
<p><a rel="nofollow" class="external free" href="http://www.example.org/pic.png <--">http://www.example.org/pic.png <--</a> U+3000 (vim: ^Vu3000)⌞
</p> |
1007 |
fail |
Bug 31098 Template which includes system messages which includes the template |
{{Identical}} |
<p><span class="error">Template loop detected: <a href="/wiki/Template:Identical" title="Template:Identical">Template:Identical</a></span>⌞
<span class="error">Template loop detected: <a href="/wiki/Template:Identical" title="Template:Identical">Template:Identical</a></span>⌞
</p> |
<p><a href="/wiki/Template:Int:loop1" title="Template:Int:loop1">Template:Int:loop1</a>⌞
<a href="/wiki/Template:Int:loop2" title="Template:Int:loop2">Template:Int:loop2</a>⌞
</p> |
1008 |
pass |
Bug31490 Turkish: ucfirst 'blah'
|
{{ucfirst:blah}} |
<p>Blah⌞
</p> |
<p>Blah⌞
</p> |
1009 |
fail |
Bug31490 Turkish: ucfirst 'ix'
|
{{ucfirst:ix}} |
<p>İx⌞
</p> |
<p>Ix⌞
</p> |
1010 |
pass |
Bug31490 Turkish: lcfirst 'BLAH'
|
{{lcfirst:BLAH}} |
<p>bLAH⌞
</p> |
<p>bLAH⌞
</p> |
1011 |
fail |
Bug31490 Turkish: ucfırst (with a dotless i)
|
{{ucfırst:blah}} |
<p><a href="/index.php?title=%C5%9Eablon:Ucf%C4%B1rst:blah&action=edit&redlink=1" class="new" title="Şablon:Ucfırst:blah (sayfa mevcut değil)">Şablon:Ucfırst:blah</a>⌞
</p> |
<p><a href="/wiki/Template:Ucfırst:blah" title="Template:Ucfırst:blah">Template:Ucfırst:blah</a>⌞
</p> |
1012 |
fail |
Bug31490 ucfırst (with a dotless i) with English language
|
{{ucfırst:blah}} |
<p><a href="/index.php?title=Template:Ucf%C4%B1rst:blah&action=edit&redlink=1" class="new" title="Template:Ucfırst:blah (page does not exist)">Template:Ucfırst:blah</a>⌞
</p> |
<p><a href="/wiki/Template:Ucfırst:blah" title="Template:Ucfırst:blah">Template:Ucfırst:blah</a>⌞
</p> |
1013 |
fail |
Bug 26375: TOC with italics
|
__TOC__⌞
== ''Lost'' episodes == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Lost_episodes"><span class="tocnumber">1</span> <span class="toctext"><i>Lost</i> episodes</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Lost_episodes"><i>Lost</i> episodes</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Main_Page&action=edit&section=1" title="Edit section: Lost episodes">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="''Lost'' episodes">''Lost'' episodes</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: ''Lost'' episodes">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1014 |
fail |
Bug 26375: TOC with bold
|
__TOC__⌞
== '''should be bold''' then normal text == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#should_be_bold_then_normal_text"><span class="tocnumber">1</span> <span class="toctext"><b>should be bold</b> then normal text</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="should_be_bold_then_normal_text"><b>should be bold</b> then normal text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Main_Page&action=edit&section=1" title="Edit section: should be bold then normal text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="'''should be bold''' then normal text">'''should be bold''' then normal text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: '''should be bold''' then normal text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1015 |
fail |
Bug 33845: Headings become cursive in TOC when they contain an image
|
__TOC__⌞
== Image [[Image:foobar.jpg]] == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Image"><span class="tocnumber">1</span> <span class="toctext">Image</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Image">Image <a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220" /></a></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Main_Page&action=edit&section=1" title="Edit section: Image">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="Image [[Image:foobar.jpg]]">Image [[Image:foobar.jpg]]</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Image [[Image:foobar.jpg]]">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1016 |
fail |
Bug 33845 (2): Headings become bold in TOC when they contain a blockquote
|
__TOC__⌞
== <blockquote>Quote</blockquote> == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Quote"><span class="tocnumber">1</span> <span class="toctext">Quote</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Quote"><blockquote>Quote</blockquote></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Main_Page&action=edit&section=1" title="Edit section: Quote">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="<blockquote>Quote</blockquote>"><blockquote>Quote</blockquote></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <blockquote>Quote</blockquote>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1017 |
fail |
Unclosed tags in TOC
|
__TOC__⌞
== Proof: 2 < 3 ==⌞
<small>Hanc marginis exiguitas non caperet.</small>⌞
QED |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Proof:_2_.3C_3"><span class="tocnumber">1</span> <span class="toctext">Proof: 2 < 3</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Proof:_2_.3C_3">Proof: 2 < 3</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Main_Page&action=edit&section=1" title="Edit section: Proof: 2 < 3">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p><small>Hanc marginis exiguitas non caperet.</small>⌞
QED⌞
</p> |
<h2><span class="mw-headline" id="Proof: 2 < 3">Proof: 2 < 3</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: Proof: 2 < 3">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<p><small>Hanc marginis exiguitas non caperet.</small>⌞
QED⌞
</p> |
1018 |
fail |
Multiple tags in TOC |
__TOC__⌞
== <i>Foo</i> <b>Bar</b> ==⌞
⌞
== <i>Foo</i> <blockquote>Bar</blockquote> == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Foo_Bar"><span class="tocnumber">1</span> <span class="toctext"><i>Foo</i> <b>Bar</b></span></a></li>⌞
<li class="toclevel-1 tocsection-2"><a href="#Foo_Bar_2"><span class="tocnumber">2</span> <span class="toctext"><i>Foo</i> Bar</span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Foo_Bar"><i>Foo</i> <b>Bar</b></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Foo Bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Foo_Bar_2"><i>Foo</i> <blockquote>Bar</blockquote></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Foo Bar">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="<i>Foo</i> <b>Bar</b>"><i>Foo</i> <b>Bar</b></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <i>Foo</i> <b>Bar</b>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="<i>Foo</i> <blockquote>Bar</blockquote>"><i>Foo</i> <blockquote>Bar</blockquote></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <i>Foo</i> <blockquote>Bar</blockquote>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1019 |
fail |
Tags with parameters in TOC |
__TOC__⌞
== <sup class="in-h2">Hello</sup> ==⌞
⌞
== <sup class="a > b">Evilbye</sup> == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#Hello"><span class="tocnumber">1</span> <span class="toctext"><sup>Hello</sup></span></a></li>⌞
<li class="toclevel-1 tocsection-2"><a href="#b.22.3EEvilbye"><span class="tocnumber">2</span> <span class="toctext"><sup> b">Evilbye</sup></span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="Hello"><sup class="in-h2">Hello</sup></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Hello">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="b.22.3EEvilbye"><sup> b">Evilbye</sup></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: b">Evilbye">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="<sup class="in-h2">Hello</sup>"><sup class="in-h2">Hello</sup></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <sup class="in-h2">Hello</sup>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="<sup class="a > b">Evilbye</sup>"><sup class="a > b">Evilbye</sup></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <sup class="a > b">Evilbye</sup>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1020 |
fail |
span tags with directionality in TOC |
__TOC__⌞
== <span dir="ltr">C++</span> ==⌞
⌞
== <span dir="rtl">זבנג!</span> ==⌞
⌞
== <span style="font-style: italic">The attributes on these span tags must be deleted from the TOC</span> ==⌞
⌞
== <span style="font-style: italic" dir="ltr">All attributes on these span tags must be deleted from the TOC</span> ==⌞
⌞
== <span dir="ltr" style="font-style: italic">Attributes after dir on these span tags must be deleted from the TOC</span> == |
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>⌞
<ul>⌞
<li class="toclevel-1 tocsection-1"><a href="#C.2B.2B"><span class="tocnumber">1</span> <span class="toctext"><span dir="ltr">C++</span></span></a></li>⌞
<li class="toclevel-1 tocsection-2"><a href="#.D7.96.D7.91.D7.A0.D7.92.21"><span class="tocnumber">2</span> <span class="toctext"><span dir="rtl">זבנג!</span></span></a></li>⌞
<li class="toclevel-1 tocsection-3"><a href="#The_attributes_on_these_span_tags_must_be_deleted_from_the_TOC"><span class="tocnumber">3</span> <span class="toctext"><span>The attributes on these span tags must be deleted from the TOC</span></span></a></li>⌞
<li class="toclevel-1 tocsection-4"><a href="#All_attributes_on_these_span_tags_must_be_deleted_from_the_TOC"><span class="tocnumber">4</span> <span class="toctext"><span>All attributes on these span tags must be deleted from the TOC</span></span></a></li>⌞
<li class="toclevel-1 tocsection-5"><a href="#Attributes_after_dir_on_these_span_tags_must_be_deleted_from_the_TOC"><span class="tocnumber">5</span> <span class="toctext"><span dir="ltr">Attributes after dir on these span tags must be deleted from the TOC</span></span></a></li>⌞
</ul>⌞
</div>⌞
<h2><span class="mw-headline" id="C.2B.2B"><span dir="ltr">C++</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: C++">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id=".D7.96.D7.91.D7.A0.D7.92.21"><span dir="rtl">זבנג!</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=2" title="Edit section: זבנג!">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="The_attributes_on_these_span_tags_must_be_deleted_from_the_TOC"><span style="font-style: italic">The attributes on these span tags must be deleted from the TOC</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=3" title="Edit section: The attributes on these span tags must be deleted from the TOC">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="All_attributes_on_these_span_tags_must_be_deleted_from_the_TOC"><span style="font-style: italic" dir="ltr">All attributes on these span tags must be deleted from the TOC</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=4" title="Edit section: All attributes on these span tags must be deleted from the TOC">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="Attributes_after_dir_on_these_span_tags_must_be_deleted_from_the_TOC"><span dir="ltr" style="font-style: italic">Attributes after dir on these span tags must be deleted from the TOC</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=5" title="Edit section: Attributes after dir on these span tags must be deleted from the TOC">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="<span dir="ltr">C++</span>"><span dir="ltr">C++</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <span dir="ltr">C++</span>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="<span dir="rtl">זבנג!</span>"><span dir="rtl">זבנג!</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <span dir="rtl">זבנג!</span>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="<span style="font-style: italic">The attributes on these span tags must be deleted from the TOC</span>"><span style="font-style: italic">The attributes on these span tags must be deleted from the TOC</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <span style="font-style: italic">The attributes on these span tags must be deleted from the TOC</span>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="<span style="font-style: italic" dir="ltr">All attributes on these span tags must be deleted from the TOC</span>"><span style="font-style: italic" dir="ltr">All attributes on these span tags must be deleted from the TOC</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <span style="font-style: italic" dir="ltr">All attributes on these span tags must be deleted from the TOC</span>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="<span dir="ltr" style="font-style: italic">Attributes after dir on these span tags must be deleted from the TOC</span>"><span dir="ltr" style="font-style: italic">Attributes after dir on these span tags must be deleted from the TOC</span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <span dir="ltr" style="font-style: italic">Attributes after dir on these span tags must be deleted from the TOC</span>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1021 |
fail |
Bug 32057: Title needed when expanding <h> nodes.
|
{{int:Bug32057}} |
<h2><span class="mw-headline" id="Headline_text">Headline text</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Main_Page&action=edit&section=1" title="Edit section: Headline text">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<p><a href="/wiki/Template:Int:Bug32057" title="Template:Int:Bug32057">Template:Int:Bug32057</a>⌞
</p> |
1022 |
fail |
Strip marker in urlencode |
{{urlencode:x<nowiki/>y}}⌞
{{urlencode:x<nowiki/>y|wiki}}⌞
{{urlencode:x<nowiki/>y|path}} |
<p>xy⌞
xy⌞
xy⌞
</p> |
<p><a href="/wiki/Template:Urlencode:xy" title="Template:Urlencode:xy">Template:Urlencode:xy</a>⌞
<a href="/wiki/Template:Urlencode:xy" title="Template:Urlencode:xy">Template:Urlencode:xy</a>⌞
<a href="/wiki/Template:Urlencode:xy" title="Template:Urlencode:xy">Template:Urlencode:xy</a>⌞
</p> |
1023 |
pass |
Strip marker in lc |
{{lc:x<nowiki/>y}} |
<p>xy⌞
</p> |
<p>xy⌞
</p> |
1024 |
fail |
Strip marker in uc |
{{uc:x<nowiki/>y}} |
<p>XY⌞
</p> |
<p>X<NOWIKI/>Y⌞
</p> |
1025 |
fail |
Strip marker in formatNum |
{{formatnum:1<nowiki/>2}}⌞
{{formatnum:1<nowiki/>2|R}} |
<p>12⌞
12⌞
</p> |
<p><a href="/wiki/Template:Formatnum:12" title="Template:Formatnum:12">Template:Formatnum:12</a>⌞
<a href="/wiki/Template:Formatnum:12" title="Template:Formatnum:12">Template:Formatnum:12</a>⌞
</p> |
1026 |
fail |
Check noCommafy in formatNum
|
{{formatnum:123456.78}}⌞
{{formatnum:123456.78|NOSEP}} |
<p>123 456,78⌞
123456.78⌞
</p> |
<p><a href="/wiki/Template:Formatnum:123456.78" title="Template:Formatnum:123456.78">Template:Formatnum:123456.78</a>⌞
<a href="/wiki/Template:Formatnum:123456.78" title="Template:Formatnum:123456.78">Template:Formatnum:123456.78</a>⌞
</p> |
1027 |
fail |
Strip marker in grammar
|
{{grammar:elative|foo<nowiki/>bar}} |
<p>foobarista⌞
</p> |
<p><a href="/wiki/Template:Grammar:elative" title="Template:Grammar:elative">Template:Grammar:elative</a>⌞
</p> |
1028 |
fail |
Strip marker in padleft |
{{padleft:|2|x<nowiki/>y}} |
<p>xy⌞
</p> |
<p><a href="/wiki/Template:Padleft:" title="Template:Padleft:">Template:Padleft:</a>⌞
</p> |
1029 |
fail |
Strip marker in padright |
{{padright:|2|x<nowiki/>y}} |
<p>xy⌞
</p> |
<p><a href="/wiki/Template:Padright:" title="Template:Padright:">Template:Padright:</a>⌞
</p> |
1030 |
fail |
Strip marker in anchorencode |
{{anchorencode:x<nowiki/>y}} |
<p>xy⌞
</p> |
<p><a href="/wiki/Template:Anchorencode:xy" title="Template:Anchorencode:xy">Template:Anchorencode:xy</a>⌞
</p> |
1031 |
fail |
nowiki inside link inside heading (bug 18295) |
==[[foo|x<nowiki>y</nowiki>z]]== |
<h2><span class="mw-headline" id="xyz"><a href="/index.php?title=Foo&action=edit&redlink=1" class="new" title="Foo (page does not exist)">xyz</a></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: xyz">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
<h2><span class="mw-headline" id="[[foo|x<nowiki>y</nowiki>z]]">[[foo|x<nowiki>y</nowiki>z]]</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: [[foo|x<nowiki>y</nowiki>z]]">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
|
1032 |
fail |
new support for bdi element (bug 31817) |
<p dir="rtl" lang="he">ולדימיר לנין (ברוסית: <bdi lang="ru">Владимир Ленин</bdi>, 24 באפריל 1870–22 בינואר 1924) הוא מנהיג פוליטי קומוניסטי רוסי.</p> |
<p dir="rtl" lang="he">ולדימיר לנין (ברוסית: <bdi lang="ru">Владимир Ленин</bdi>, 24 באפריל 1870–22 בינואר 1924) הוא מנהיג פוליטי קומוניסטי רוסי.</p>⌞
|
<p dir="rtl" lang="he">ולדימיר לנין (ברוסית: <bdi lang="ru">Владимир Ленин</bdi>, 24 באפריל 1870–22 בינואר 1924) הוא מנהיג פוליטי קומוניסטי רוסי.</p> |
1033 |
tidy |
Ignore pipe between table row attributes |
{|⌞
| quux⌞
|- id=foo | style='color: red'⌞
| bar⌞
|} |
<table>⌞
<tr>⌞
<td> quux⌞
</td></tr>⌞
<tr id="foo" style="color: red">⌞
<td> bar⌞
</td></tr></table>⌞
|
<table><tr><td>quux</td></tr><tr id="foo" style="color: red"><td>bar</td></tr></table> |
1034 |
fail |
Gallery override link with WikiLink (bug 34852) |
<gallery>⌞
File:foobar.jpg|caption|alt=galleryalt|link=InterWikiLink⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/InterWikiLink"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
<p>caption⌞
</p>⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery>⌞
File:foobar.jpg|caption|alt=galleryalt|link=InterWikiLink⌞
</gallery>⌞
</p> |
1035 |
fail |
Gallery override link with absolute external link (bug 34852) |
<gallery>⌞
File:foobar.jpg|caption|alt=galleryalt|link=http://www.example.org⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="http://www.example.org"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
<p>caption⌞
</p>⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery>⌞
File:foobar.jpg|caption|alt=galleryalt|link=<a rel="nofollow" class="external free" href="http://www.example.org">http://www.example.org</a>⌞
</gallery>⌞
</p> |
1036 |
fail |
Gallery override link with malicious javascript (bug 34852) |
<gallery>⌞
File:foobar.jpg|caption|alt=galleryalt|link=" onclick="alert('malicious javascript code!');⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/%22_onclick%3D%22alert(%27malicious_javascript_code!%27);"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
<p>caption⌞
</p>⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery>⌞
File:foobar.jpg|caption|alt=galleryalt|link=" onclick="alert('malicious javascript code!');⌞
</gallery>⌞
</p> |
1037 |
fail |
Gallery with invalid title as link (bug 43964) |
<gallery>⌞
File:foobar.jpg|link=<⌞
</gallery> |
<ul class="gallery">⌞
<li class="gallerybox" style="width: 155px"><div style="width: 155px">⌞
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" width="120" height="14" /></a></div></div>⌞
<div class="gallerytext">⌞
</div>⌞
</div></li>⌞
</ul>⌞
|
<p><gallery>⌞
File:foobar.jpg|link=<⌞
</gallery>⌞
</p> |
1038 |
fail |
Language parser function |
{{#language:ar}} |
<p>العربية⌞
</p> |
<p><a href="/wiki/Template:#language:ar" title="Template:#language:ar">Template:#language:ar</a>⌞
</p> |
1039 |
fail |
Padleft and padright as substr |
{{padleft:|3|abcde}}⌞
{{padright:|3|abcde}} |
<p>abc⌞
abc⌞
</p> |
<p><a href="/wiki/Template:Padleft:" title="Template:Padleft:">Template:Padleft:</a>⌞
<a href="/wiki/Template:Padright:" title="Template:Padright:">Template:Padright:</a>⌞
</p> |
1040 |
fail |
Special parser function |
{{#special:RandomPage}}⌞
{{#special:BaDtItLe}}⌞
{{#special:Foobar}} |
<p>Special:Random⌞
Special:Badtitle⌞
Special:Foobar⌞
</p> |
<p><a href="/wiki/Template:#special:RandomPage" title="Template:#special:RandomPage">Template:#special:RandomPage</a>⌞
<a href="/wiki/Template:#special:BaDtItLe" title="Template:#special:BaDtItLe">Template:#special:BaDtItLe</a>⌞
<a href="/wiki/Template:#special:Foobar" title="Template:#special:Foobar">Template:#special:Foobar</a>⌞
</p> |
1041 |
fail |
Bug 34939 - Case insensitive link parsing ([HttP://]) |
[HttP://MediaWiki.Org/] |
<p><a rel="nofollow" class="external autonumber" href="HttP://MediaWiki.Org/">[1]</a>⌞
</p> |
<p>[HttP://MediaWiki.Org/]⌞
</p> |
1042 |
fail |
Bug 34939 - Case insensitive link parsing ([HttP:// title]) |
[HttP://MediaWiki.Org/ MediaWiki] |
<p><a rel="nofollow" class="external text" href="HttP://MediaWiki.Org/">MediaWiki</a>⌞
</p> |
<p>[HttP://MediaWiki.Org/ MediaWiki]⌞
</p> |
1043 |
fail |
Bug 34939 - Case insensitive link parsing (HttP://) |
HttP://MediaWiki.Org/ |
<p><a rel="nofollow" class="external free" href="HttP://MediaWiki.Org/">HttP://MediaWiki.Org/</a>⌞
</p> |
<p>HttP://MediaWiki.Org/⌞
</p> |
1044 |
fail |
1. SOL-sensitive wikitext tokens as template-args
|
{{echo|*a}}⌞
{{echo|#a}}⌞
{{echo|:a}} |
<span about="#mwt1" typeof="mw:Transclusion">⌞
</span><ul about="#mwt1"><li>a</li></ul>⌞
<span about="#mwt2" typeof="mw:Transclusion">⌞
</span><ol about="#mwt2"><li>a</li></ol>⌞
<span about="#mwt3" typeof="mw:Transclusion">⌞
</span><dl about="#mwt3"><dd>a</dd></dl> |
<ul><li>a⌞
</li></ul>⌞
<ol><li>a⌞
</li></ol>⌞
<dl><dd>a⌞
</dd></dl>⌞
|
1045 |
fail |
Ref: 1. ref-location should be replaced with an index span
|
A <ref>foo</ref>⌞
B <ref name="x">foo</ref>⌞
C <ref name="y" /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span>⌞
B <span about="#mwt2" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{"name":"x"}}' id="cite_ref-x-2-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-x-2">[2]</a></span>⌞
C <span about="#mwt3" class="reference" data-mw='{"name":"ref","attrs":{"name":"y"}}' id="cite_ref-y-3-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-y-3">[3]</a></span></p> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>B <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup>C <sup class="reference" id="cite_ref-3"><a href="#cite_note-3">[3]</a></sup>⌞
</p> |
1046 |
fail |
Ref: 2. ref-tags with identical names should all get the same index
|
A <ref name="x">foo</ref>⌞
B <ref name="x" /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{"name":"x"}}' id="cite_ref-x-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-x-1">[1]</a></span>⌞
B <span about="#mwt2" class="reference" data-mw='{"name":"ref","attrs":{"name":"x"}}' id="cite_ref-x-1-1" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-x-1">[1]</a></span></p> |
<p>A <sup class="reference" id="cite_ref-1-1"><a href="#cite_note-1">[1]</a></sup>B <sup class="reference" id="cite_ref-1-2"><a href="#cite_note-1">[1]</a></sup>⌞
</p> |
1047 |
fail |
Ref: 3. spaces in ref-names should be ignored
|
A <ref name="x">foo</ref>⌞
B <ref name=" x " />⌞
C <ref name= x /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{"name":"x"}}' id="cite_ref-x-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-x-1">[1]</a></span>⌞
B <span about="#mwt2" class="reference" data-mw='{"name":"ref","attrs":{"name":"x"}}' id="cite_ref-x-1-1" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-x-1">[1]</a></span>⌞
C <span about="#mwt3" class="reference" data-mw='{"name":"ref","attrs":{"name":"x"}}' id="cite_ref-x-1-2" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-x-1">[1]</a></span></p> |
<p>A <sup class="reference" id="cite_ref-1-1"><a href="#cite_note-1">[1]</a></sup>B <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup>C <sup class="reference" id="cite_ref-1-2"><a href="#cite_note-1">[1]</a></sup>⌞
</p> |
1048 |
fail |
Ref: 4. 'constructor' should be accepted as a valid ref-name
(NOTE: constructor is a predefined property in JS and constructor as a ref-name can clash with it if not handled properly)
|
A <ref name="constructor">foo</ref> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{"name":"constructor"}}' id="cite_ref-constructor-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-constructor-1">[1]</a></span></p> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p> |
1049 |
fail |
Ref: 5. body should accept generic wikitext
|
A <ref>⌞
This is a '''[[bolded link]]''' and this is a {{echo|transclusion}}⌞
</ref>⌞
⌞
<references /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"This is a <b data-parsoid=\"{&quot;dsr&quot;:[19,40,3,3]}\"><a rel=\"mw:WikiLink\" href=\"./Bolded_link\" data-parsoid=\"{&quot;a&quot;:{&quot;href&quot;:&quot;./Bolded_link&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;bolded link&quot;},&quot;stx&quot;:&quot;simple&quot;,&quot;dsr&quot;:[22,37,2,2]}\">bolded link</a></b> and this is a <span about=\"#mwt3\" typeof=\"mw:Transclusion\" data-mw=\"{&quot;target&quot;:{&quot;wt&quot;:&quot;echo&quot;,&quot;href&quot;:&quot;./Template:Echo&quot;},&quot;params&quot;:{&quot;1&quot;:{&quot;wt&quot;:&quot;transclusion&quot;}}}\" data-parsoid=\"{&quot;src&quot;:&quot;{{echo|transclusion}}&quot;,&quot;dsr&quot;:[55,76,null,null]}\">transclusion</span>\n"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span></p>⌞
⌞
<ol about="#mwt2" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references">⌞
<li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> This is a <b><a rel="mw:WikiLink" href="./Bolded_link">bolded link</a></b> and this is a <span about="#mwt3" typeof="mw:Transclusion" data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"transclusion"}}}'>transclusion</span>⌞
</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text"> This is a <b><a href="/wiki/bolded_link" title="bolded link">bolded link</a></b> and this is a transclusion⌞
</span></li></ol> |
1050 |
fail |
Ref: 6. indent-pres should not be output in ref-body
|
A <ref>⌞
foo⌞
bar⌞
baz⌞
</ref>⌞
⌞
<references /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo\n bar\n baz\n"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span></p>⌞
⌞
<ol about="#mwt2" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references">⌞
<li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> foo⌞
bar⌞
baz⌞
</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text"> foo⌞
bar⌞
baz</span></li></ol> |
1051 |
fail |
Ref: 6. No p-wrapping in ref-body
|
A <ref>⌞
foo⌞
⌞
bar⌞
⌞
⌞
baz⌞
⌞
⌞
⌞
booz⌞
</ref>⌞
⌞
<references /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo\n\nbar\n\n\nbaz\n\n\n\nbooz\n"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span></p>⌞
⌞
<ol about="#mwt2" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references">⌞
<li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> foo⌞
⌞
bar⌞
⌞
⌞
baz⌞
⌞
⌞
⌞
booz⌞
</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text"><p>foo⌞
</p><p>bar⌞
</p><p><br/>⌞
baz⌞
</p><p><br/>⌞
</p><p>booz⌞
</p></span></li></ol> |
1052 |
fail |
Ref: 8. transclusion wikitext has lower precedence
|
A <ref> foo {{echo|</ref> B C}}⌞
⌞
<references /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo <span typeof=\"mw:Nowiki\" data-parsoid=\"{&quot;src&quot;:&quot;{{&quot;,&quot;dsr&quot;:[12,14,2,null]}\">{{</span>echo|"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span> B C<span typeof="mw:Nowiki">}}</span></p>⌞
⌞
<ol about="#mwt2" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references">⌞
<li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> foo <span typeof="mw:Nowiki">{{</span>echo|</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup> B C⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text"> foo</span></li></ol> |
1053 |
fail |
Ref: 9. unclosed comments should not leak out of ref-body
|
A <ref> foo <!--</ref> B C⌞
⌞
<references /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo <!---->"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span> B C</p>⌞
⌞
<ol about="#mwt2" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references">⌞
<li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> foo <!----></li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p> |
1054 |
fail |
Ref: 10. Unclosed HTML tags should not leak out of ref-body
|
A <ref> <b> foo </ref> B C⌞
⌞
<references /> |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"<b data-parsoid=\"{&quot;stx&quot;:&quot;html&quot;,&quot;autoInsertedEnd&quot;:true,&quot;dsr&quot;:[8,16,3,0]}\"> foo </b>"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span> B C</p>⌞
⌞
<ol about="#mwt2" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references">⌞
<li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> <b> foo </b></li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p> |
1055 |
fail |
Ref: 11. ref-tags acts like an inline element wrt P-wrapping
|
A <ref>foo</ref> B⌞
C <ref>bar</ref> D |
<p>A <span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span> B⌞
C <span about="#mwt2" class="reference" data-mw='{"name":"ref","body":{"html":"bar"},"attrs":{}}' id="cite_ref-2-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-2">[2]</a></span> D</p> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup> B⌞
C <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup> D⌞
</p> |
1056 |
fail |
Ref: 12. ref-tags act as trailing newline migration barrier
|
<!--the newline at the end of this line moves out of the p-tag-->a⌞
⌞
b<!--the newline at the end of this line stays inside the p-tag--> <ref />⌞
<ref />⌞
⌞
c |
<p><!--the newline at the end of this line moves out of the p-tag-->a</p>⌞
⌞
⌞
<p>b<!--the newline at the end of this line stays inside the p-tag--> <span about="#mwt1" class="reference" data-mw='{"name":"ref","attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span>⌞
<span about="#mwt2" class="reference" data-mw='{"name":"ref","attrs":{}}' id="cite_ref-2-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-2">[2]</a></span></p>⌞
⌞
⌞
<p>c</p> |
<p>a⌞
</p><p>b <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup><sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup>⌞
c⌞
</p> |
1057 |
fail |
Ref: 13. ref-tags are not SOL-transparent and block indent-pres
|
<ref>foo</ref> A⌞
<ref>bar⌞
</ref> B |
<p><span about="#mwt1" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span> A⌞
<span about="#mwt2" class="reference" data-mw='{"name":"ref","body":{"html":"bar\n"},"attrs":{}}' id="cite_ref-2-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-2">[2]</a></span> B</p> |
<p><sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup> A⌞
<sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup> B⌞
</p> |
1058 |
fail |
Ref: 14. A nested ref-tag should be emitted as plain text
|
<ref>foo <ref>bar</ref> baz</ref>⌞
⌞
<references /> |
<span about="#mwt1" class="reference" data-mw="{"name":"ref","body":{"html":"foo &lt;ref&gt;bar&lt;/ref&gt; baz"},"attrs":{}}" id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span>⌞
⌞
<ol class="references" typeof="mw:Extension/references" about="#mwt2" data-mw="{"name":"references","attrs":{}}">⌞
<li about="#cite_note-1" id="cite_note-1" data-parsoid="{}"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> foo <ref>bar</ref> baz</li></ol> |
<p><sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text">foo <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup> baz⌞
</span></li><li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text">bar</span></li></ol> |
1059 |
fail |
Ref: 15. ref-tags with identical names should get identical indexes
|
A1 <ref name="a">foo</ref> A2 <ref name="a" />⌞
B1 <ref name="b" /> B2 <ref name="b">bar</ref>⌞
⌞
<references /> |
<p>A1 <span about="#mwt3" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{"name":"a"}}' id="cite_ref-a-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-a-1">[1]</a></span> A2 <span about="#mwt4" class="reference" data-mw='{"name":"ref","attrs":{"name":"a"}}' id="cite_ref-a-1-1" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-a-1">[1]</a></span>⌞
B1 <span about="#mwt7" class="reference" data-mw='{"name":"ref","attrs":{"name":"b"}}' id="cite_ref-b-2-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-b-2">[2]</a></span> B2 <span about="#mwt8" class="reference" data-mw='{"name":"ref","body":{"html":"bar"},"attrs":{"name":"b"}}' id="cite_ref-b-2-1" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-b-2">[2]</a></span></p>⌞
⌞
<ol about="#mwt10" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references"><li about="#cite_note-a-1" id="cite_note-a-1"><span rel="mw:referencedBy">↑ <a href="#cite_ref-a-1-0">1.0</a> <a href="#cite_ref-a-1-1">1.1</a></span> foo</li><li about="#cite_note-b-2" id="cite_note-b-2"><span rel="mw:referencedBy">↑ <a href="#cite_ref-b-2-0">2.0</a> <a href="#cite_ref-b-2-1">2.1</a></span> bar</li></ol> |
<p>A1 <sup class="reference" id="cite_ref-1-1"><a href="#cite_note-1">[1]</a></sup> A2 <sup class="reference" id="cite_ref-1-2"><a href="#cite_note-1">[1]</a></sup>B1 <sup class="reference" id="cite_ref-2-1"><a href="#cite_note-2">[2]</a></sup> B2 <sup class="reference" id="cite_ref-2-2"><a href="#cite_note-2">[2]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-1-1">1.0</a></sup> <sup><a href="#cite_ref-1-2">1.1</a></sup> </span><span class="reference-text">foo</span></li><li id="cite_note-2"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-2-1">2.0</a></sup> <sup><a href="#cite_ref-2-2">2.1</a></sup> </span><span class="reference-text">bar</span></li></ol> |
1060 |
fail |
References: 1. references tag without any refs should be handled properly
|
<references /> |
<ol about="#mwt2" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references"></ol> |
|
1061 |
fail |
References: 2. references tag with group only outputs references from that group
|
A <ref group="a">foo</ref>⌞
B <ref group="b">bar</ref>⌞
⌞
<references group='a' /> |
<p>A <span about="#mwt2" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{"group":"a"}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[a 1]</a></span>⌞
B <span about="#mwt4" class="reference" data-mw='{"name":"ref","body":{"html":"bar"},"attrs":{"group":"b"}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[b 1]</a></span></p>⌞
⌞
<ol about="#mwt6" class="references" data-mw='{"name":"references","attrs":{"group":"a"}}' typeof="mw:Extension/references"><li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> foo</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[a 1]</a></sup>B <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[b 1]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text">foo</span></li></ol> |
1062 |
fail |
References: 3. ref list should be cleared after processing references
|
A <ref>foo</ref>⌞
⌞
<references />⌞
⌞
B <ref>bar</ref>⌞
⌞
<references /> |
<p>A <span about="#mwt2" class="reference" data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span></p>⌞
⌞
<ol about="#mwt4" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references"><li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> foo</li></ol>⌞
⌞
<p>B <span about="#mwt6" class="reference" data-mw='{"name":"ref","body":{"html":"bar"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span></p>⌞
⌞
<ol about="#mwt8" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references"><li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> bar</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text">foo</span></li><li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text">bar</span></li></ol><p>B <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text">foo</span></li><li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text">bar</span></li></ol> |
1063 |
fail |
References: 4. only referenced group should be cleared after processing references
|
A <ref group="a">afoo</ref>⌞
B <ref>bfoo</ref>⌞
⌞
<references group="a"/>⌞
⌞
C <ref>cfoo</ref>⌞
⌞
<references /> |
<p>A <span about="#mwt2" class="reference" data-mw='{"name":"ref","body":{"html":"afoo"},"attrs":{"group":"a"}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[a 1]</a></span>⌞
B <span about="#mwt4" class="reference" data-mw='{"name":"ref","body":{"html":"bfoo"},"attrs":{}}' id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref" data-parsoid='{"src":"<ref>bfoo</ref>","dsr":[30,45,5,6]}'><a href="#cite_note-1">[1]</a></span></p>⌞
⌞
<ol about="#mwt6" class="references" data-mw='{"name":"references","attrs":{"group":"a"}}' typeof="mw:Extension/references"><li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> afoo</li></ol>⌞
⌞
<p>C <span about="#mwt8" class="reference" data-mw='{"name":"ref","body":{"html":"cfoo"},"attrs":{}}' id="cite_ref-2-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-2">[2]</a></span></p>⌞
⌞
<ol about="#mwt10" class="references" data-mw='{"name":"references","attrs":{}}' typeof="mw:Extension/references"><li about="#cite_note-1" id="cite_note-1"><span rel="mw:referencedBy"><a href="#cite_ref-1-0">↑</a></span> bfoo</li><li about="#cite_note-2" id="cite_note-2"><span rel="mw:referencedBy"><a href="#cite_ref-2-0">↑</a></span> cfoo</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[a 1]</a></sup>B <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[1]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text">afoo</span></li></ol><p>C <sup class="reference" id="cite_ref-3"><a href="#cite_note-3">[2]</a></sup>⌞
</p><ol class="references"><li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text">bfoo</span></li><li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a> </span><span class="reference-text">cfoo</span></li></ol> |
1064 |
fail |
References: 5. ref tags in references should be processed while ignoring all other content
|
A <ref name="a" />⌞
B <ref name="b">bar</ref>⌞
⌞
<references>⌞
<ref name="a">foo</ref>⌞
This should just get lost.⌞
</references> |
<p>A <span about="#mwt2" class="reference" data-mw='{"name":"ref","attrs":{"name":"a"}}' id="cite_ref-a-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-a-1">[1]</a></span>⌞
B <span about="#mwt4" class="reference" data-mw='{"name":"ref","body":{"html":"bar"},"attrs":{"name":"b"}}' id="cite_ref-b-2-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-b-2">[2]</a></span></p>⌞
⌞
<ol about="#mwt7" class="references" data-mw='{"name":"references","body":{"extsrc":"<ref name=\"a\">foo</ref>\nThis should just get lost."},"attrs":{}}' typeof="mw:Extension/references"><li about="#cite_note-a-1" id="cite_note-a-1"><span rel="mw:referencedBy"><a href="#cite_ref-a-1-0">↑</a></span> foo</li><li about="#cite_note-b-2" id="cite_note-b-2"><span rel="mw:referencedBy"><a href="#cite_ref-b-2-0">↑</a></span> bar</li></ol> |
<p>A <sup class="reference" id="cite_ref-1"><a href="#cite_note-1">[1]</a></sup>B <sup class="reference" id="cite_ref-2"><a href="#cite_note-2">[2]</a></sup>⌞
</p><ol class="references"><li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text">foo</span></li><li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text">bar</span></li></ol> |
1065 |
fail |
References: 6. <references /> from a transclusion
|
{{echo|<references />}} |
<ol class="references" about="#mwt2" typeof="mw:Transclusion" data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"<references />"}},"i":0}'></ol> |
|
1066 |
fail |
Headings: 0. Unnested
|
<nowiki>=foo=</nowiki>⌞
⌞
<nowiki> =foo= </nowiki>⌞
<!--cmt-->⌞
<nowiki>=foo=</nowiki>⌞
⌞
=foo''a''<nowiki>=</nowiki> |
<p><span typeof="mw:Nowiki">=foo=</span></p>⌞
⌞
<p><span typeof="mw:Nowiki"> =foo= </span>⌞
<!--cmt-->⌞
<span typeof="mw:Nowiki">=foo=</span></p>⌞
⌞
<p>=foo<i>a</i><span typeof="mw:Nowiki">=</span></p> |
<p>=foo=⌞
</p><p> =foo= ⌞
=foo=⌞
</p><p>=foo<i>a</i>=⌞
</p> |
1067 |
fail |
Headings: 1. Nested inside html
|
=<nowiki>=foo=</nowiki>=⌞
⌞
==<nowiki>=foo=</nowiki>==⌞
⌞
===<nowiki>=foo=</nowiki>===⌞
⌞
====<nowiki>=foo=</nowiki>====⌞
⌞
=====<nowiki>=foo=</nowiki>=====⌞
⌞
======<nowiki>=foo=</nowiki>====== |
<h1><span typeof="mw:Nowiki">=foo=</span></h1>⌞
<h2><span typeof="mw:Nowiki">=foo=</span></h2>⌞
<h3><span typeof="mw:Nowiki">=foo=</span></h3>⌞
<h4><span typeof="mw:Nowiki">=foo=</span></h4>⌞
<h5><span typeof="mw:Nowiki">=foo=</span></h5>⌞
<h6><span typeof="mw:Nowiki">=foo=</span></h6> |
<h1><span class="mw-headline" id="<nowiki>=foo=</nowiki>"><nowiki>=foo=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki>=foo=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h2><span class="mw-headline" id="<nowiki>=foo=</nowiki>_2"><nowiki>=foo=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki>=foo=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="<nowiki>=foo=</nowiki>_3"><nowiki>=foo=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki>=foo=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="<nowiki>=foo=</nowiki>_4"><nowiki>=foo=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki>=foo=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h5><span class="mw-headline" id="<nowiki>=foo=</nowiki>_5"><nowiki>=foo=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki>=foo=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h6><span class="mw-headline" id="<nowiki>=foo=</nowiki>_6"><nowiki>=foo=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki>=foo=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
|
1068 |
fail |
Headings: 2. Outside heading nest on a single line <h1>foo</h1>*bar
|
=foo=⌞
<nowiki>*</nowiki>bar⌞
⌞
=foo=⌞
=bar⌞
⌞
=foo=⌞
<nowiki>=bar=</nowiki> |
<h1>foo</h1>*bar⌞
<h1>foo</h1>=bar⌞
<h1>foo</h1>=bar= |
<h1><span class="mw-headline" id="foo">foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>*bar⌞
</p><h1><span class="mw-headline" id="foo_2">foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>=bar⌞
</p><h1><span class="mw-headline" id="foo_3">foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>=bar=⌞
</p> |
1069 |
fail |
Headings: 3. Nested inside html with wikitext split by html tags
|
=='''bold'''<nowiki>foo=</nowiki>= |
<h1>=<b>bold</b><span typeof="mw:Nowiki">foo=</span></h1> |
<h1><span class="mw-headline" id="='''bold'''<nowiki>foo=</nowiki>">='''bold'''<nowiki>foo=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: ='''bold'''<nowiki>foo=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
|
1070 |
fail |
Headings: 4a. No escaping needed (testing just h1 and h2)
|
==foo=⌞
⌞
=foo==⌞
⌞
= =foo= =⌞
⌞
==foo= bar=⌞
⌞
===foo==⌞
⌞
==foo===⌞
⌞
=''=''foo==⌞
⌞
=<nowiki>=</nowiki>= |
<h1>=foo</h1>⌞
<h1>foo=</h1>⌞
<h1> =foo= </h1>⌞
<h1>=foo= bar</h1>⌞
<h2>=foo</h2>⌞
<h2>foo=</h2>⌞
<h1><i>=</i>foo=</h1>⌞
<h1><span typeof="mw:Nowiki">=</span></h1> |
<h1><span class="mw-headline" id="=foo">=foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =foo">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="foo=">foo=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: foo=">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="=foo=">=foo=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =foo=">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="=foo= bar">=foo= bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =foo= bar">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h2><span class="mw-headline" id="=foo_2">=foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =foo">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h2><span class="mw-headline" id="foo=_2">foo=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: foo=">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h1><span class="mw-headline" id="''=''foo=">''=''foo=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: ''=''foo=">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h1><span class="mw-headline" id="<nowiki>=</nowiki>"><nowiki>=</nowiki></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki>=</nowiki>">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
|
1071 |
fail |
Headings: 4b. No escaping needed (inside p-tags)
|
===⌞
=foo= x⌞
=foo= <s></s> |
<p>===⌞
=foo= x⌞
=foo= <s></s>⌞
</p> |
<h1><span class="mw-headline" id="=">=</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: =">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<p>=foo= x⌞
=foo= <s/>⌞
</p> |
1072 |
fail |
Headings: 5. Empty headings
|
=<nowiki/>=⌞
⌞
==<nowiki/>==⌞
⌞
===<nowiki/>===⌞
⌞
====<nowiki/>====⌞
⌞
=====<nowiki/>=====⌞
⌞
======<nowiki/>====== |
<h1></h1>⌞
<h2></h2>⌞
<h3></h3>⌞
<h4></h4>⌞
<h5></h5>⌞
<h6></h6> |
<h1><span class="mw-headline" id="<nowiki/>"><nowiki/></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki/>">edit</a><span class="mw-editsection-bracket">]</span></span></h1>⌞
<h2><span class="mw-headline" id="<nowiki/>_2"><nowiki/></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki/>">edit</a><span class="mw-editsection-bracket">]</span></span></h2>⌞
<h3><span class="mw-headline" id="<nowiki/>_3"><nowiki/></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki/>">edit</a><span class="mw-editsection-bracket">]</span></span></h3>⌞
<h4><span class="mw-headline" id="<nowiki/>_4"><nowiki/></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki/>">edit</a><span class="mw-editsection-bracket">]</span></span></h4>⌞
<h5><span class="mw-headline" id="<nowiki/>_5"><nowiki/></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki/>">edit</a><span class="mw-editsection-bracket">]</span></span></h5>⌞
<h6><span class="mw-headline" id="<nowiki/>_6"><nowiki/></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="" title="Edit section: <nowiki/>">edit</a><span class="mw-editsection-bracket">]</span></span></h6>⌞
|
1073 |
tidy |
Headings: 6a. Heading chars in SOL context (with trailing spaces)
|
<nowiki>=a=</nowiki>⌞
⌞
<nowiki>=a=</nowiki> ⌞
⌞
<nowiki>=a=</nowiki> ⌞
⌞
<nowiki>=a=</nowiki> |
<p>=a=</p>⌞
<p>=a= </p>⌞
<p>=a= </p>⌞
<p>=a= </p> |
<p>=a=⌞
</p><p>=a= ⌞
</p><p>=a= ⌞
</p><p>=a= ⌞
</p> |
1074 |
tidy |
Headings: 6b. Heading chars in SOL context (with trailing newlines)
|
<nowiki>=a=⌞
b</nowiki>⌞
⌞
<nowiki>=a= ⌞
b</nowiki>⌞
⌞
<nowiki>=a= ⌞
b</nowiki>⌞
⌞
<nowiki>=a= ⌞
b</nowiki> |
<p>=a=⌞
b</p>⌞
<p>=a= ⌞
b</p>⌞
<p>=a= ⌞
b</p>⌞
<p>=a= ⌞
b</p>⌞
</p> |
<p>=a=⌞
b⌞
</p><p>=a= ⌞
b⌞
</p><p>=a= ⌞
b⌞
</p><p>=a= ⌞
b⌞
</p> |
1075 |
tidy |
Headings: 6c. Heading chars in SOL context (leading newline break)
|
a⌞
<nowiki>=b=</nowiki> |
<p>a⌞
=b=</p> |
<p>a⌞
=b=⌞
</p> |
1076 |
fail |
Headings: 6d. Heading chars in SOL context (with interspersed comments)
|
<!--c0--><nowiki>=a=</nowiki>⌞
<!--c1-->⌞
<nowiki>=a=</nowiki> <!--c2--> <!--c3--> |
<p><!--c0-->=a=</p>⌞
<p><!--c1-->=a= <!--c2--> <!--c3--></p> |
<p>=a=⌞
=a= ⌞
</p> |
1077 |
fail |
Headings: 6d. Heading chars in SOL context (No escaping needed)
|
=a=<div>b</div> |
=a=<div>b</div> |
<p>=a=⌞
</p><div>b</div> |
1078 |
pass |
Lists: 0. Outside nests |
<nowiki>*</nowiki>foo⌞
⌞
<nowiki>#</nowiki>foo |
<p>*foo⌞
</p><p>#foo⌞
</p> |
<p>*foo⌞
</p><p>#foo⌞
</p> |
1079 |
pass |
Lists: 1. Nested inside html |
*<nowiki>*foo</nowiki>⌞
⌞
*<nowiki>#foo</nowiki>⌞
⌞
*<nowiki>:foo</nowiki>⌞
⌞
*<nowiki>;foo</nowiki>⌞
⌞
#<nowiki>*foo</nowiki>⌞
⌞
#<nowiki>#foo</nowiki>⌞
⌞
#<nowiki>:foo</nowiki>⌞
⌞
#<nowiki>;foo</nowiki> |
<ul><li>*foo⌞
</li></ul>⌞
<ul><li>#foo⌞
</li></ul>⌞
<ul><li>:foo⌞
</li></ul>⌞
<ul><li>;foo⌞
</li></ul>⌞
<ol><li>*foo⌞
</li></ol>⌞
<ol><li>#foo⌞
</li></ol>⌞
<ol><li>:foo⌞
</li></ol>⌞
<ol><li>;foo⌞
</li></ol>⌞
|
<ul><li>*foo⌞
</li></ul>⌞
<ul><li>#foo⌞
</li></ul>⌞
<ul><li>:foo⌞
</li></ul>⌞
<ul><li>;foo⌞
</li></ul>⌞
<ol><li>*foo⌞
</li></ol>⌞
<ol><li>#foo⌞
</li></ol>⌞
<ol><li>:foo⌞
</li></ol>⌞
<ol><li>;foo⌞
</li></ol>⌞
|
1080 |
pass |
Lists: 2. Inside definition lists |
;<nowiki>;foo</nowiki>⌞
⌞
;<nowiki>:foo</nowiki>⌞
⌞
;<nowiki>:foo</nowiki>⌞
:bar⌞
⌞
:<nowiki>:foo</nowiki> |
<dl><dt>;foo⌞
</dt></dl>⌞
<dl><dt>:foo⌞
</dt></dl>⌞
<dl><dt>:foo⌞
</dt><dd>bar⌞
</dd></dl>⌞
<dl><dd>:foo⌞
</dd></dl>⌞
|
<dl><dt>;foo⌞
</dt></dl>⌞
<dl><dt>:foo⌞
</dt></dl>⌞
<dl><dt>:foo⌞
</dt><dd>bar⌞
</dd></dl>⌞
<dl><dd>:foo⌞
</dd></dl>⌞
|
1081 |
pass |
Lists: 3. Only bullets at start of text should be escaped |
*<nowiki>*foo*bar</nowiki>⌞
⌞
*<nowiki>*foo</nowiki>''it''*bar |
<ul><li>*foo*bar⌞
</li></ul>⌞
<ul><li>*foo<i>it</i>*bar⌞
</li></ul>⌞
|
<ul><li>*foo*bar⌞
</li></ul>⌞
<ul><li>*foo<i>it</i>*bar⌞
</li></ul>⌞
|
1082 |
fail |
Lists: 4. No escapes needed
|
*foo*bar⌞
⌞
*''foo''*bar⌞
⌞
*[[Foo]]: bar |
<ul><li>foo*bar⌞
</li></ul>⌞
<ul><li><i>foo</i>*bar⌞
</li></ul>⌞
<ul><li><a rel="mw:WikiLink" href="Foo">Foo</a>: bar⌞
</li></ul> |
<ul><li>foo*bar⌞
</li></ul>⌞
<ul><li><i>foo</i>*bar⌞
</li></ul>⌞
<ul><li><a href="/wiki/Foo" title="Foo">Foo</a>: bar⌞
</li></ul>⌞
|
1083 |
tidy |
Lists: 5. No unnecessary escapes |
* bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
*=bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
*[[bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
*]]bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
*=bar <span>foo]]</span>=⌞
⌞
* <s></s>: a |
<ul><li> bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>=bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>[[bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>]]bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>=bar <span>foo]]</span>=⌞
</li></ul>⌞
<ul><li> <s></s>: a⌞
</li></ul>⌞
|
<ul><li> bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>=bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>[[bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>]]bar <span>[[foo]]</span>⌞
</li></ul>⌞
<ul><li>=bar <span>foo]]</span>=⌞
</li></ul>⌞
<ul><li> <s/>: a⌞
</li></ul>⌞
|
1084 |
fail |
Lists: 6. Escape bullets in SOL position
|
<!--cmt--><nowiki>*foo</nowiki> |
<p><!--cmt--><span typeof="mw:Nowiki">*foo</span></p> |
<p>*foo⌞
</p> |
1085 |
pass |
Lists: 7. Escape bullets in a multi-line context |
a⌞
<nowiki>*</nowiki>b |
<p>a⌞
*b⌞
</p> |
<p>a⌞
*b⌞
</p> |
1086 |
fail |
HRs: 1. Single line
|
----<nowiki>----</nowiki>⌞
----=foo=⌞
----*foo |
<hr><span typeof="mw:Nowiki">----</span>⌞
<hr>=foo=⌞
<hr>*foo |
<hr/>⌞
<p>----⌞
</p><hr/>⌞
<p>=foo=⌞
</p><hr/>⌞
<p>*foo⌞
</p> |
1087 |
pass |
Tables: 1a. Simple example |
<nowiki>{|⌞
|}</nowiki> |
<p>{|⌞
|}⌞
</p> |
<p>{|⌞
|}⌞
</p> |
1088 |
pass |
Tables: 1b. No escaping needed |
!foo |
<p>!foo⌞
</p> |
<p>!foo⌞
</p> |
1089 |
pass |
Tables: 1c. No escaping needed |
|foo |
<p>|foo⌞
</p> |
<p>|foo⌞
</p> |
1090 |
pass |
Tables: 1d. No escaping needed |
|}foo |
<p>|}foo⌞
</p> |
<p>|}foo⌞
</p> |
1091 |
fail |
Tables: 2a. Nested in td
|
{|⌞
|<nowiki>foo|bar</nowiki>⌞
|} |
<table><tbody><tr>⌞
<td><span typeof="mw:Nowiki">foo|bar</span></td></tr></tbody></table> |
<table><tr><td>foo|bar</td></tr></table> |
1092 |
fail |
Tables: 2b. Nested in td
|
{|⌞
|<nowiki>foo||bar</nowiki>⌞
|''it''<nowiki>foo||bar</nowiki>⌞
|} |
<table><tbody><tr>⌞
<td><span typeof="mw:Nowiki">foo||bar</span></td>⌞
<td><i>it</i><span typeof="mw:Nowiki">foo||bar</span></td></tr></tbody></table> |
<table><tr><td>foo||bar</td><td><i>it</i>foo||bar⌞
</td></tr></table> |
1093 |
fail |
Tables: 2c. Nested in td -- no escaping needed
|
{|⌞
|foo!!bar⌞
|} |
<table><tbody><tr><td>foo!!bar⌞
</td></tr></tbody></table>⌞
|
<table><tr><td>foo!!bar</td></tr></table> |
1094 |
fail |
Tables: 3a. Nested in th
|
{|⌞
!foo!bar⌞
|} |
<table><tbody><tr><th>foo!bar⌞
</th></tr></tbody></table>⌞
|
<table><tr><th>foo!bar</th></tr></table> |
1095 |
fail |
Tables: 3b. Nested in th
|
{|⌞
!<nowiki>foo!!bar</nowiki>⌞
|} |
<table>⌞
<tbody><tr><th><span typeof="mw:Nowiki">foo!!bar</span></th></tr>⌞
</tbody></table> |
<table><tr><th>foo!!bar</th></tr></table> |
1096 |
fail |
Tables: 3c. Nested in th -- no escaping needed
|
{|⌞
!<nowiki>foo||bar</nowiki>⌞
|} |
<table><tbody><tr>⌞
<th><span typeof="mw:Nowiki">foo||bar</span></th></tr></tbody></table> |
<table><tr><th>foo||bar</th></tr></table> |
1097 |
fail |
Tables: 4a. Escape -
|
{|⌞
|-⌞
!-bar⌞
|-⌞
|<nowiki>-bar</nowiki>⌞
|} |
<table><tbody>⌞
<tr><th>-bar</th></tr>⌞
<tr>⌞
<td><span typeof="mw:Nowiki">-bar</span></td></tr></tbody></table> |
<table><tr><th>-bar</th></tr><tr><td>-bar</td></tr></table> |
1098 |
fail |
Tables: 4b. Escape +
|
{|⌞
|-⌞
!+bar⌞
|-⌞
|<nowiki>+bar</nowiki>⌞
|} |
<table><tbody>⌞
<tr><th>+bar</th></tr>⌞
<tr>⌞
<td><span typeof="mw:Nowiki">+bar</span></td></tr></tbody></table> |
<table><tr><th>+bar</th></tr><tr><td>+bar</td></tr></table> |
1099 |
fail |
Tables: 4c. No escaping needed
|
{|⌞
|-⌞
|foo-bar⌞
|foo+bar⌞
|-⌞
|''foo''-bar⌞
|''foo''+bar⌞
|} |
<table><tbody>⌞
<tr><td>foo-bar</td><td>foo+bar</td></tr>⌞
<tr><td><i>foo</i>-bar</td><td><i>foo</i>+bar</td></tr>⌞
</tbody></table> |
<table><tr><td>foo-bar</td><td>foo+bar</td></tr><tr><td><i>foo</i>-bar⌞
</td><td><i>foo</i>+bar⌞
</td></tr></table> |
1100 |
skip |
Tables: 4d. No escaping needed
|
{|⌞
||+1⌞
||-2⌞
|} |
<table>⌞
<tr>⌞
<td>+1⌞
</td>⌞
<td>-2⌞
</td></tr></table>⌞
|
|
1101 |
fail |
Links 1. Quote marks in link text
|
[[Foo|Foo<nowiki>''boo''</nowiki>]] |
<a rel="mw:WikiLink" href="Foo">Foo''boo''</a> |
<p><a href="/wiki/Foo" title="Foo">Foo''boo''</a>⌞
</p> |
1102 |
fail |
Links 2. WikiLinks: Escapes needed
|
[[Foo|<nowiki>[Foobar]</nowiki>]]⌞
[[Foo|<nowiki>Foobar]</nowiki>]]⌞
[[Foo|x [Foobar] x]]⌞
[[Foo|<nowiki>x [http://google.com g] x</nowiki>]]⌞
[[Foo|<nowiki>[[Bar]]</nowiki>]]⌞
[[Foo|<nowiki>x [[Bar]] x</nowiki>]]⌞
[[Foo|<nowiki>|Bar</nowiki>]]⌞
[[Foo|<nowiki>]]bar</nowiki>]]⌞
[[Foo|<nowiki>[[bar</nowiki>]]⌞
[[Foo|<nowiki>x ]] y [[ z</nowiki>]] |
<a href="Foo" rel="mw:WikiLink">[Foobar]</a>⌞
<a href="Foo" rel="mw:WikiLink">Foobar]</a>⌞
<a href="Foo" rel="mw:WikiLink">x [Foobar] x</a>⌞
<a href="Foo" rel="mw:WikiLink">x [http://google.com g] x</a>⌞
<a href="Foo" rel="mw:WikiLink">[[Bar]]</a>⌞
<a href="Foo" rel="mw:WikiLink">x [[Bar]] x</a>⌞
<a href="Foo" rel="mw:WikiLink">|Bar</a>⌞
<a href="Foo" rel="mw:WikiLink">]]bar</a>⌞
<a href="Foo" rel="mw:WikiLink">[[bar</a>⌞
<a href="Foo" rel="mw:WikiLink">x ]] y [[ z</a> |
<p><a href="/wiki/Foo" title="Foo">[Foobar]</a>⌞
<a href="/wiki/Foo" title="Foo">Foobar]</a>⌞
<a href="/wiki/Foo" title="Foo">x [Foobar] x</a>⌞
<a href="/wiki/Foo" title="Foo">x [http://google.com g] x</a>⌞
<a href="/wiki/Foo" title="Foo">[[Bar]]</a>⌞
<a href="/wiki/Foo" title="Foo">x [[Bar]] x</a>⌞
<a href="/wiki/Foo" title="Foo">|Bar</a>⌞
<a href="/wiki/Foo" title="Foo">]]bar</a>⌞
<a href="/wiki/Foo" title="Foo">[[bar</a>⌞
<a href="/wiki/Foo" title="Foo">x ]] y [[ z</a>⌞
</p> |
1103 |
fail |
Links 3. WikiLinks: No escapes needed
|
[[Foo|[Foobar]]⌞
[[Foo|foo|bar]] |
<a href="Foo" rel="mw:WikiLink">[Foobar</a>⌞
<a href="Foo" rel="mw:WikiLink">foo|bar</a> |
<p><a href="/wiki/Foo" title="Foo">[Foobar</a>⌞
<a href="/wiki/Foo" title="Foo">foo|bar</a>⌞
</p> |
1104 |
fail |
Links 4. ExtLinks: Escapes needed
|
[http://google.com <nowiki>[google]</nowiki>]⌞
[http://google.com <nowiki>google]</nowiki>] |
<a href="http://google.com" rel="mw:ExtLink">[google]</a>⌞
<a href="http://google.com" rel="mw:ExtLink">google]</a> |
<p><a rel="nofollow" class="external text" href="http://google.com">[google]</a>⌞
<a rel="nofollow" class="external text" href="http://google.com">google]</a>⌞
</p> |
1105 |
fail |
Links 5. ExtLinks: No escapes needed
|
[http://google.com [google] |
<a href="http://google.com" rel="mw:ExtLink">[google</a> |
<p><a rel="nofollow" class="external text" href="http://google.com">[google</a>⌞
</p> |
1106 |
pass |
1. Quotes inside <b> and <i> |
''<nowiki>'foo'</nowiki>''⌞
''<nowiki>''foo''</nowiki>''⌞
''<nowiki>'''foo'''</nowiki>''⌞
''foo''<nowiki>'s</nowiki>⌞
'''<nowiki>'foo'</nowiki>'''⌞
'''<nowiki>''foo''</nowiki>'''⌞
'''<nowiki>'''foo'''</nowiki>'''⌞
'''<nowiki>foo'</nowiki>''<nowiki>bar'</nowiki>''baz'''⌞
'''foo'''<nowiki>'s</nowiki> |
<p><i>'foo'</i>⌞
<i>''foo''</i>⌞
<i>'''foo'''</i>⌞
<i>foo</i>'s⌞
<b>'foo'</b>⌞
<b>''foo''</b>⌞
<b>'''foo'''</b>⌞
<b>foo'<i>bar'</i>baz</b>⌞
<b>foo</b>'s⌞
</p> |
<p><i>'foo'</i>⌞
<i>''foo''</i>⌞
<i>'''foo'''</i>⌞
<i>foo</i>'s⌞
<b>'foo'</b>⌞
<b>''foo''</b>⌞
<b>'''foo'''</b>⌞
<b>foo'<i>bar'</i>baz</b>⌞
<b>foo</b>'s⌞
</p> |
1107 |
pass |
2. Link fragments separated by <i> and <b> tags |
[[''foo''<nowiki>hello]]</nowiki>⌞
⌞
[['''foo'''<nowiki>hello]]</nowiki> |
<p>[[<i>foo</i>hello]]⌞
</p><p>[[<b>foo</b>hello]]⌞
</p> |
<p>[[<i>foo</i>hello]]⌞
</p><p>[[<b>foo</b>hello]]⌞
</p> |
1108 |
pass |
2. Link fragments inside <i> and <b>
(FIXME: Escaping one or both of [[ and ]] is also acceptable --
this is one of the shortcomings of this format) |
''[[foo''<nowiki>]]</nowiki>⌞
⌞
'''[[foo'''<nowiki>]]</nowiki> |
<p><i>[[foo</i>]]⌞
</p><p><b>[[foo</b>]]⌞
</p> |
<p><i>[[foo</i>]]⌞
</p><p><b>[[foo</b>]]⌞
</p> |
1109 |
pass |
1. No unnecessary escapes |
bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
=bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
[[bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
]]bar <span><nowiki>[[foo]]</nowiki></span>⌞
⌞
=bar <span>foo]]</span><nowiki>=</nowiki> |
<p>bar <span>[[foo]]</span>⌞
</p><p>=bar <span>[[foo]]</span>⌞
</p><p>[[bar <span>[[foo]]</span>⌞
</p><p>]]bar <span>[[foo]]</span>⌞
</p><p>=bar <span>foo]]</span>=⌞
</p> |
<p>bar <span>[[foo]]</span>⌞
</p><p>=bar <span>[[foo]]</span>⌞
</p><p>[[bar <span>[[foo]]</span>⌞
</p><p>]]bar <span>[[foo]]</span>⌞
</p><p>=bar <span>foo]]</span>=⌞
</p> |
1110 |
fail |
1. Leading whitespace in SOL context should be escaped
|
<nowiki> </nowiki>a⌞
⌞
<nowiki> </nowiki> a⌞
⌞
<nowiki> </nowiki>a(tab)⌞
⌞
<nowiki> </nowiki> a⌞
<!--cmt-->⌞
<nowiki> </nowiki> a⌞
⌞
a⌞
<nowiki> </nowiki>b⌞
⌞
a⌞
<nowiki> </nowiki>b⌞
⌞
a⌞
<nowiki> </nowiki> b |
<p> a</p>⌞
<p> a</p>⌞
<p> a(tab)</p>⌞
<p> a</p>⌞
<p><!--cmt--> a</p>⌞
<p>a⌞
b</p>⌞
<p>a⌞
b</p>⌞
<p>a⌞
b</p> |
<p> a⌞
</p><p> a⌞
</p><p> a(tab)⌞
</p><p> a⌞
a⌞
</p><p>a⌞
b⌞
</p><p>a⌞
b⌞
</p><p>a⌞
b⌞
</p> |
1111 |
fail |
1. a tags
|
<a href="http://google.com">google</a> |
<a href="http://google.com">google</a> |
<p><a href="<a rel="nofollow" class="external free" href="http://google.com">google</a>">http://google.com">google</a></a>⌞
</p> |
1112 |
tidy |
2. other tags |
<nowiki><div>foo</div>⌞
<div style="color:red">foo</div></nowiki> |
<p><div>foo</div>⌞
<div style="color:red">foo</div>⌞
</p> |
<p><div>foo</div>⌞
<div style="color:red">foo</div>⌞
</p> |
1113 |
pass |
3. multi-line html tag |
<nowiki><div⌞
>foo</div⌞
></nowiki> |
<p><div⌞
>foo</div⌞
>⌞
</p> |
<p><div⌞
>foo</div⌞
>⌞
</p> |
1114 |
pass |
4. extension tags |
<nowiki><ref>foo</ref></nowiki> |
<p><ref>foo</ref>⌞
</p> |
<p><ref>foo</ref>⌞
</p> |
1115 |
pass |
Escaping nowikis |
<nowiki>foo</nowiki> |
<p><nowiki>foo</nowiki>⌞
</p> |
<p><nowiki>foo</nowiki>⌞
</p> |
1116 |
pass |
Tag-like HTML structures are passed through as text |
<x y>⌞
⌞
<x.y>⌞
⌞
<x-y>⌞
⌞
1>2⌞
⌞
x<y⌞
⌞
a>b⌞
⌞
1<d e>f |
<p><x y>⌞
</p><p><x.y>⌞
</p><p><x-y>⌞
</p><p>1>2⌞
</p><p>x<y⌞
</p><p>a>b⌞
</p><p>1<d e>f⌞
</p> |
<p><x y>⌞
</p><p><x.y>⌞
</p><p><x-y>⌞
</p><p>1>2⌞
</p><p>x<y⌞
</p><p>a>b⌞
</p><p>1<d e>f⌞
</p> |
1117 |
pass |
Tag names followed by punctuation should not be recognized as tags
|
<s.ome> text |
<p><s.ome> text⌞
</p> |
<p><s.ome> text⌞
</p> |
1118 |
pass |
HTML tag with necessary entities in attributes |
<span title="&amp;">foo</span> |
<p><span title="&amp;">foo</span>⌞
</p> |
<p><span title="&amp;">foo</span>⌞
</p> |
1119 |
pass |
HTML tag with 'unnecessary' entity encoding in attributes |
<span title="&">foo</span> |
<p><span title="&">foo</span>⌞
</p> |
<p><span title="&">foo</span>⌞
</p> |
1120 |
fail |
HTML tag with broken attribute value quoting |
<span title="Hello world>Foo</span> |
<p><span>Foo</span>⌞
</p> |
<p><span title="Hello world>Foo</span>⌞
</p> |
1121 |
fail |
Parsoid-only: HTML tag with broken attribute value quoting
|
<span title="Hello world>Foo</span> |
<p><span title="Hello world">Foo</span>⌞
</p> |
<p><span title="Hello world>Foo</span>⌞
</p> |
1122 |
fail |
Table with broken attribute value quoting |
{|⌞
| title="Hello world|Foo⌞
|} |
<table>⌞
<tr>⌞
<td>Foo⌞
</td></tr></table>⌞
|
<table><tr><td>title="Hello world|Foo</td></tr></table> |
1123 |
fail |
Table with broken attribute value quoting on consecutive lines |
{|⌞
| title="Hello world|Foo⌞
| style="color:red|Bar⌞
|} |
<table>⌞
<tr>⌞
<td>Foo⌞
</td>⌞
<td>Bar⌞
</td></tr></table>⌞
|
<table><tr><td>title="Hello world|Foo</td><td>style="color:red|Bar</td></tr></table> |
1124 |
fail |
Parsoid-only: Table with broken attribute value quoting on consecutive lines
|
{|⌞
| title="Hello world|Foo⌞
| style="color:red|Bar⌞
|} |
<table><tbody>⌞
<tr>⌞
<td title="Hello world">Foo⌞
</td><td style="color: red">Bar⌞
</td></tr></tbody></table>⌞
|
<table><tr><td>title="Hello world|Foo</td><td>style="color:red|Bar</td></tr></table> |
1125 |
fail |
Parsoid-only: Don't wrap broken template tags in <nowiki> on wt2wt (Bug 42353)
|
{{}} |
{{}} |
<p><a href="/wiki/Template:" title="Template:">Template:</a>⌞
</p> |
1126 |
fail |
Parsoid-only: Don't wrap broken template tags in <nowiki> on wt2wt (Bug 42353)
|
}}{{ |
}}{{ |
<p>}}{{⌞
</p> |
1127 |
fail |
Accept empty td cell attribute |
{|⌞
| align="center" | foo || |⌞
|} |
<table>⌞
<tr>⌞
<td align="center"> foo </td>⌞
<td>⌞
</td></tr></table>⌞
|
<table><tr><td align="center">foo</td><td/></tr></table> |
1128 |
tidy |
Non-empty attributes in th-cells |
{|⌞
! Foo !! style="color: red" | Bar⌞
|} |
<table>⌞
<tr>⌞
<th> Foo </th>⌞
<th style="color: red"> Bar⌞
</th></tr></table>⌞
|
<table><tr><th>Foo</th><th style="color: red">Bar</th></tr></table> |
1129 |
tidy |
Accept empty attributes in th-cells |
{|⌞
!| foo !!| bar⌞
|} |
<table>⌞
<tr>⌞
<th> foo </th>⌞
<th> bar⌞
</th></tr></table>⌞
|
<table><tr><th>foo</th><th>bar</th></tr></table> |
1130 |
fail |
Empty table rows go away |
{|⌞
| Hello⌞
| there⌞
|- class="foo"⌞
|-⌞
|} |
<table>⌞
<tr>⌞
<td> Hello⌞
</td>⌞
<td> there⌞
</td></tr>⌞
⌞
</table>⌞
|
<table><tr><td>Hello</td><td>there</td></tr><tr class="foo"/><tr/></table> |
1131 |
fail |
RT-ed inter-element separators should be valid separators |
{|⌞
|- [[foo]]⌞
|} |
<table>⌞
⌞
</table>⌞
|
<p>{|⌞
|- <a href="/wiki/foo" title="foo">foo</a>⌞
|}⌞
</p> |
1132 |
fail |
Trailing newlines in a deep dom-subtree that ends a wikitext line should be migrated out
(Parsoid-only since PHP parser relies on Tidy for correct output)
|
{|⌞
|<small>foo⌞
bar⌞
|}⌞
⌞
{|⌞
|<small>foo<small>⌞
|} |
|
<table><tr><td><small>foo⌞
bar⌞
</small>⌞
</td></tr></table><table><tr><td><small>foo<small>⌞
</small></small>⌞
</td></tr></table> |
1133 |
fail |
Empty TD followed by TD with tpl-generated attribute |
{|⌞
|-⌞
|⌞
|{{echo|style='color:red'}}|foo⌞
|} |
<table>⌞
⌞
<tr>⌞
<td>⌞
</td>⌞
<td>foo⌞
</td></tr></table>⌞
|
<table><tr><td/><td>{{{1}}}|foo</td></tr></table> |
1134 |
fail |
Indented table with an empty td |
{|⌞
|-⌞
|⌞
|foo⌞
|} |
<table>⌞
⌞
<tr>⌞
<td>⌞
</td>⌞
<td>foo⌞
</td></tr></table>⌞
|
<table><tr><td/><td>foo</td></tr></table> |
1135 |
fail |
Empty TR followed by a template-generated TR
(Parsoid-specific since PHP parser doesn't handle this mixed tbl-wikitext)
|
{|⌞
|-⌞
{{echo|<tr><td>foo</td></tr>}}⌞
|} |
<table>⌞
<tbody>⌞
<tr></tr>⌞
<tr typeof="mw:Transclusion">⌞
<td>foo</td></tr></tbody></table> |
<p>{|⌞
|-⌞
<tr><td>foo</td></tr>⌞
|}⌞
</p> |
1136 |
fail |
Empty TR followed by mixed-ws-comment line should RT correctly
|
{|⌞
|-⌞
<!--c-->⌞
|-⌞
<!--c--> <!--d-->⌞
|} |
<table>⌞
<tbody>⌞
<tr>⌞
<td> <!--c--></td></tr>⌞
<tr>⌞
<td><!--c--> <!--d--></td></tr>⌞
</tbody></table>⌞
|
<p>{|⌞
|-⌞
|-⌞
</p><p>|}⌞
</p> |
1137 |
fail |
Multi-line image caption generated by templates with/without trailing newlines
|
[[File:foo.jpg|thumb|300px|foo\n{{echo|A}}\n{{echo|B}}\n{{echo|C}}]]⌞
[[File:foo.jpg|thumb|300px|foo\n{{echo|A}}\n{{echo|B}}\n{{echo|C}}\n\n]] |
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/index.php?title=Special:Upload&wpDestFile=Foo.jpg" class="new" title="File:Foo.jpg">File:Foo.jpg</a> <div class="thumbcaption">foo\nA\nB\nC</div></div></div>⌞
<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/index.php?title=Special:Upload&wpDestFile=Foo.jpg" class="new" title="File:Foo.jpg">File:Foo.jpg</a> <div class="thumbcaption">foo\nA\nB\nC\n\n</div></div></div>⌞
|
<p><a href="/wiki/File:foo.jpg" title="File:foo.jpg">thumb|300px|foo\nA\nB\nC</a>⌞
<a href="/wiki/File:foo.jpg" title="File:foo.jpg">thumb|300px|foo\nA\nB\nC\n\n</a>⌞
</p> |
1138 |
fail |
Improperly nested inline or quotes tags with whitespace in between
|
<span> <s>x</span> </s>⌞
''' ''x''' '' |
<p><span> <s>x</s></span><s> </s>⌞
<b> <i>x</i></b><i> </i>⌞
</p> |
<p><span> <s>x</span> </s>⌞
<b> <i>x<b> <i/></b></i></b></span>⌞
</p> |
1139 |
fail |
Image: Modifying size of an image
|
[[Image:Wiki.png|230x230px]] |
<p data-parsoid='{"dsr":[0,24,0,0]}'><span typeof="mw:Image" data-parsoid='{"optList":[{"ck":"width","ak":"100px"}],"cacheKey":"[[Image:Wiki.png|100px]]","img":{"h":115,"w":100,"wdset":true},"dsr":[0,24,null,null]}'><a href="./File:Wiki.png" data-parsoid='{"a":{"href":"./File:Wiki.png"}}'><img resource="./File:Wiki.png" src="//upload.wikimedia.org/wikipedia/en/thumb/b/bc/Wiki.png/100px-Wiki.png" height="230" width="200" data-parsoid='{"a":{"resource":"./File:Wiki.png"},"sa":{"resource":"Image:Wiki.png"}}'></a></span></p> |
<p><a href="/wiki/Image:Wiki.png" title="Image:Wiki.png">230x230px</a>⌞
</p> |
1140 |
fail |
Image: New block level image should have \n before and after
|
123⌞
[[File:Wiki.png|right|thumb|150x150px]]⌞
456 |
<p>123</p><figure typeof="mw:Image/Thumb" class="mw-halign-right"><a href="./File:Wiki.png"><img src="http://192.168.142.128/mw/images/thumb/b/bc/Wiki.png/131px-Wiki.png" width="131" height="150" resource="./File:Wiki.png"></a></figure><p>456</p> |
<p>123⌞
<a href="/wiki/File:Wiki.png" title="File:Wiki.png">right|thumb|150x150px</a>⌞
456⌞
</p> |
1141 |
tidy |
Lists: Add space after bullets
|
⌞
* foo⌞
* bar⌞
* <span> baz</span> |
<ul>⌞
<li>foo</li>⌞
<li> bar</li>⌞
<li><span> baz</span></li>⌞
</ul> |
<ul><li> foo⌞
</li><li> bar⌞
</li><li> <span> baz</span>⌞
</li></ul>⌞
|
1142 |
fail |
Parsoid: Serialize positional parameters with = in them as named parameter
|
{{echo|1 = f=oo}} |
<p about="#mwt1" typeof="mw:Transclusion"⌞
data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"f=oo"}},"i":0}'⌞
>foo</p> |
<p>f=oo⌞
</p> |