!! end
-# this example taken from the [[simple:Moon]] article (bug 47326)
+# this example taken from the [[simple:Moon]] article (T49326)
!! test
Italics and possessives (1)
!! wikitext
</p>
!! end
-# this example taken from [[en:Flaming Pie]] (bug 49926)
+# this example taken from [[en:Flaming Pie]] (T51926)
!! test
Italics and possessives (2)
!! wikitext
</p>
!! end
-# this example taken from [[en:Dictionary]] (bug 49926)
+# this example taken from [[en:Dictionary]] (T51926)
!! test
Italics and possessives (3)
!! wikitext
!! end
!! test
-<wbr> is valid wikitext (bug 52468)
+<wbr> is valid wikitext (T54468)
!! wikitext
<wbr>
!! html
# The next two test different paths in the sanitizer.
!! test
-Non-word characters don't terminate tag names (bug 17663, 40670, 52022)
+Non-word characters don't terminate tag names (T19663, T42670, T54022)
!! wikitext
<blockquote|>a</blockquote>
!! end
!! test
-Isolated close tags should be treated as literal text (bug 52760)
+Isolated close tags should be treated as literal text (T54760)
!! options
parsoid=wt2html
!! wikitext
###
!! test
-Bare pipe character (bug 52363)
+Bare pipe character (T54363)
!! wikitext
|
!! html
!! end
!! test
-Bare pipe character from a template (bug 52363)
+Bare pipe character from a template (T54363)
!! wikitext
{{pipe}}
!! html
!! end
!! test
-Bug 52763: Preformatted in <blockquote>
+T54763: Preformatted in <blockquote>
!! wikitext
<blockquote>
Blah
!! end
!! test
-Bug 51086: Double newlines in blockquotes should be turned into paragraphs
+T53086: Double newlines in blockquotes should be turned into paragraphs
!! wikitext
<blockquote>
Foo
!! end
!! test
-Bug 15491: <ins>/<del> in blockquote
+T17491: <ins>/<del> in blockquote
!! wikitext
<blockquote>
Foo <del>bar</del> <ins>baz</ins> quux
# Note that the p-wrapping is newline sensitive, which could be
# considered a bug: tidy will wrap only the 'Foo' in the example
-# below in a <p> tag. (see comment 23-25 of bug #6200)
+# below in a <p> tag. (see comment 23-25 of T8200)
!! test
-Bug 15491: <ins>/<del> in blockquote (2)
+T17491: <ins>/<del> in blockquote (2)
!! wikitext
<blockquote>Foo <del>bar</del> <ins>baz</ins> quux
</blockquote>
!! end
!! test
-<pre> with attributes (bug 3202)
+<pre> with attributes (T5202)
!! wikitext
<pre style="background: blue; color:white">Bluescreen of WikiDeath</pre>
!! html
!! end
!! test
-<pre> with width attribute (bug 3202)
+<pre> with width attribute (T5202)
!! wikitext
<pre width="8">Narrow screen goodies</pre>
!! html
!! end
!! test
-<pre> with forbidden attribute (bug 3202)
+<pre> with forbidden attribute (T5202)
!! wikitext
<pre width="8" onmouseover="alert(document.cookie)">Narrow screen goodies</pre>
!! html
!! end
!! test
-<pre> with forbidden attribute values (bug 3202)
+<pre> with forbidden attribute values (T5202)
!! wikitext
<pre width="8" style="border-width: expression(alert(document.cookie))">Narrow screen goodies</pre>
!! html
!! end
!! test
-<nowiki> inside <pre> (bug 13238)
+<nowiki> inside <pre> (T15238)
!! wikitext
<pre>
<nowiki>
# Parsoid doesn't strip empty tags, like Tidy does.
!! test
-Empty pre; pre inside other HTML tags (bug 54946)
+Empty pre; pre inside other HTML tags (T56946)
!! options
parsoid=wt2html,wt2wt
!! wikitext
!! end
!! test
-Handle broken pre-like tags (bug 64025)
+Handle broken pre-like tags (T66025)
!! options
parsoid=wt2html
!! wikitext
!!end
!! test
-Templates: Handle comments in parameter names (bug 67657)
+Templates: Handle comments in parameter names (T69657)
!! wikitext
{{echo|1
<!-- should be ignored -->
!!end
!! test
-Templates: Other wikitext in parameter names (bug 67657)
+Templates: Other wikitext in parameter names (T69657)
!! wikitext
{{echo|''1''=foo}}
!! html/php
</p>
!! end
-## Bug 52824
+## T54824
!! test
Templates: '=' char in nested transclusions should not trigger nowiki escapes or conversion to named param
!! options
<p about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"{{echo|1=bar}}"}},"i":0}}]}'>bar</p>
!! end
-## Bug 56733
+## T58733
!! test
Templates parameters with special tokenizing behavior dont get modified because of arg escaping
!! wikitext
<p about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"a : b"}},"i":0}}]}'>a<span typeof="mw:DisplaySpace mw:Placeholder" data-parsoid='{"isDisplayHack":true}'> </span>: b</p>
!! end
-## Bug T73412
+## T73412
!! test
Templates: Preserve blank parameter names
!! wikitext
!!end
!!test
-2c. Indent-Pre and tables (bug 42252)
+2c. Indent-Pre and tables (T44252)
!! wikitext
{|
|+ foo
!!end
!! test
-2g. Indented table markup mixed with indented pre content (proposed in bug 6200)
+2g. Indented table markup mixed with indented pre content (proposed in T8200)
!! wikitext
<table>
<tr>
!! end
!! test
-Bug 11748: Literal closing tags
+T13748: Literal closing tags
!! wikitext
<dl>
<dt>test 1</dt>
!! end
!! test
-Definition Lists: Hacky use to indent tables, with comments (bug 63979)
+Definition Lists: Hacky use to indent tables, with comments (T65979)
!! wikitext
<!-- foo -->
::{|
</p>
!! end
-# parsoid doesn't explicitly mark autonumbered links, see bug 53505
+# parsoid doesn't explicitly mark autonumbered links, see T55505
!! test
External links: numbered
!! wikitext
</p>
!! end
-# parsoid doesn't explicitly mark autonumbered links, see bug 53505
+# parsoid doesn't explicitly mark autonumbered links, see T55505
!! test
External links: dollar sign in URL (autonumber)
!! wikitext
!!end
!! test
-External links: open square bracket forbidden in URL (bug 4377)
+External links: open square bracket forbidden in URL (T6377)
!! options
parsoid=wt2html,wt2wt,html2html
!! wikitext
!! end
!! test
-External links: open square bracket forbidden in URL (named) (bug 4377)
+External links: open square bracket forbidden in URL (named) (T6377)
!! options
parsoid=wt2html,html2html
!! wikitext
# parsoid adds a space before the link name
!! test
-External links: open square bracket forbidden in URL (named) (bug 4377)
+External links: open square bracket forbidden in URL (named) (T6377)
Parsoid variant.
!! wikitext
[http://example.com/1 [2345]
!!end
!! test
-External links: nowiki in URL link text (bug 6230)
+External links: nowiki in URL link text (T8230)
!! wikitext
[http://example.com/ <nowiki>''example site''</nowiki>]
!! html
!! end
!! test
-External links: newline forbidden in text (bug 6230 regression check)
+External links: newline forbidden in text (T8230 regression check)
!! wikitext
[http://example.com/ first
second]
</p>
!! end
-# parsoid doesn't explicitly mark autonumbered links, see bug 53505
+# parsoid doesn't explicitly mark autonumbered links, see T55505
!! test
External links: protocol-relative URL in brackets without text
!! wikitext
!!end
!! test
-External links: protocol-relative URL in the middle of a word is left alone (bug 30269)
+External links: protocol-relative URL in the middle of a word is left alone (T32269)
!! wikitext
foo//example.com/Foo
!! html
!! end
!! test
-External links: No preceding word characters allowed (bug 65278)
+External links: No preceding word characters allowed (T67278)
!! wikitext
NOPEhttp://example.com
N0http://example.com
!! end
!! test
-External links: encoded equals (bug 6102)
+External links: encoded equals (T8102)
!! wikitext
http://example.com/?foo=bar
!! html/php
##
## Note that parsoid doesn't explicit mark autonumbered links, nor
-## does it number them. As discussed in bug 53505, we can identify
+## does it number them. As discussed in T55505, we can identify
## autonumbered links via CSS.
##
# note that parsoid html is identical to [raw equals] case; so html2wt
# mode will return the [raw equals] wikitext
!! test
-External links: [encoded equals] (bug 6102)
+External links: [encoded equals] (T8102)
!! options
parsoid=wt2html,wt2wt,html2html
!! wikitext
!! end
!! test
-External links: www.jpeg.org (bug 554)
+External links: www.jpeg.org (T2554)
!! wikitext
http://www.jpeg.org
!! html
</p>
!! end
-# parsoid doesn't explicitly mark autonumbered links, see bug 53505
+# parsoid doesn't explicitly mark autonumbered links, see T55505
!! test
-External links: URL within URL (original bug 2)
+External links: URL within URL (T2002)
!! wikitext
[http://www.unausa.org/newindex.asp?place=http://www.unausa.org/programs/mun.asp]
!! html/php
!! end
!! test
-BUG 361: URL inside bracketed URL
+T2361: URL inside bracketed URL
!! wikitext
[http://www.example.com/foo http://www.example.com/bar]
!! html
!! end
!! test
-BUG 361: URL within URL, not bracketed
+T2361: URL within URL, not bracketed
!! wikitext
http://www.example.com/foo?=http://www.example.com/bar
!! html
!! end
!! test
-BUG 289: ">"-token in URL-tail
+T2289: ">"-token in URL-tail
!! wikitext
http://www.example.com/<hello>
!! html
!!end
!! test
-BUG 289: literal ">"-token in URL-tail
+T2289: literal ">"-token in URL-tail
!! wikitext
http://www.example.com/<b>html</b>
!! html/php
!! end
!! test
-BUG 289: ">"-token in bracketed URL
+T2289: ">"-token in bracketed URL
!! wikitext
[http://www.example.com/<hello> stuff]
!! html
!!end
!! test
-BUG 289: literal ">"-token in bracketed URL
+T2289: literal ">"-token in bracketed URL
!! wikitext
[http://www.example.com/<b>html</b> stuff]
!! html
!!end
!! test
-BUG 289: literal double quote at end of URL
+T2289: literal double quote at end of URL
!! wikitext
http://www.example.com/"hello"
!! html
!!end
!! test
-BUG 289: literal double quote in bracketed URL
+T2289: literal double quote in bracketed URL
!! wikitext
[http://www.example.com/"hello" stuff]
!! html
!!end
!! test
-External links: multiple legal whitespace is fine, Magnus. Don't break it please. (bug 5081)
+External links: multiple legal whitespace is fine, Magnus. Don't break it please. (T7081)
!! wikitext
[http://www.example.com test]
!! html
!! end
!! test
-External links: wiki links within external link (Bug 3695)
+External links: wiki links within external link (T5695)
!! options
parsoid=wt2html,html2html
!! wikitext
!! end
!! test
-BUG 787: Links with one slash after the url protocol are invalid
+T2787: Links with one slash after the url protocol are invalid
!! wikitext
http:/example.com
!! end
!! test
-Bug 2702: Mismatched <i>, <b> and <a> tags are invalid
+T4702: Mismatched <i>, <b> and <a> tags are invalid
!! wikitext
''[http://example.com text'']
[http://example.com '''text]'''
!! test
-Bug 4781: %26 in URL
+T6781: %26 in URL
!! wikitext
http://www.example.com/?title=AT%26T
!! html/php
# According to https://www.w3.org/TR/2011/WD-html5-20110525/Overview.html#parsing-urls a plain
# % is actually legal in HTML5. Any change in output would need testing though.
!! test
-Bug 4781, 5267: %25 in URL
+T6781, T7267: %25 in URL
!! wikitext
http://www.example.com/?title=100%25_Bran
!! html/php
!! end
!! test
-Bug 4781, 5267: %28, %29 in URL
+T6781, T7267: %28, %29 in URL
!! wikitext
http://www.example.com/?title=Ben-Hur_%281959_film%29
!! html/php
!! test
-Bug 4781: %26 in autonumber URL
+T6781: %26 in autonumber URL
!! wikitext
[http://www.example.com/?title=AT%26T]
!! html/php
!! end
!! test
-Bug 4781, 5267: %26 in autonumber URL
+T6781, T7267: %26 in autonumber URL
!! wikitext
[http://www.example.com/?title=100%25_Bran]
!! html/php
!! end
!! test
-Bug 4781, 5267: %28, %29 in autonumber URL
+T6781, T7267: %28, %29 in autonumber URL
!! wikitext
[http://www.example.com/?title=Ben-Hur_%281959_film%29]
!! html/php
!! test
-Bug 4781: %26 in bracketed URL
+T6781: %26 in bracketed URL
!! wikitext
[http://www.example.com/?title=AT%26T link]
!! html/php
!! end
!! test
-Bug 4781, 5267: %25 in bracketed URL
+T6781, T7267: %25 in bracketed URL
!! wikitext
[http://www.example.com/?title=100%25_Bran link]
!! html
!! end
!! test
-Bug 4781, 5267: %28, %29 in bracketed URL
+T6781, T7267: %28, %29 in bracketed URL
!! wikitext
[http://www.example.com/?title=Ben-Hur_%281959_film%29 link]
!! html/php
!! end
!! test
-External link containing a period in the anchor. (bug 63947)
+External link containing a period in the anchor. (T65947)
!! wikitext
[//foo.org/bar#baz. bang]
!! end
!! test
-External link containing a single quote. (bug 63947)
+External link containing a single quote. (T65947)
!! wikitext
[//foo.org/bar'baz]
!! end
!! test
-External link containing double-single-quotes in text '' (bug 4598 sanity check)
+External link containing double-single-quotes in text '' (T6598 sanity check)
!! wikitext
Some [http://example.com/ pretty ''italics'' and stuff]!
!! html
!! end
!! test
-External link containing double-single-quotes in text embedded in italics (bug 4598 sanity check)
+External link containing double-single-quotes in text embedded in italics (T6598 sanity check)
!! wikitext
''Some [http://example.com/ pretty ''italics'' and stuff]!''
!! html
!! end
!! test
-Invalid attributes in table cell (bug 1830)
+Invalid attributes in table cell (T3830)
!! wikitext
{|
|Cell:|broken
!! end
!! test
-Parsoid: Round-trip tables directly followed by content (bug 51219)
+Parsoid: Round-trip tables directly followed by content (T53219)
!! options
parsoid=wt2html,wt2wt
!! wikitext
!! end
!! test
-Parsoid: Default to a newline after tables in new content (bug 51219)
+Parsoid: Default to a newline after tables in new content (T53219)
!! options
parsoid=html2wt
!! html/parsoid
!! endarticle
!! test
-Bug 43661: Piped links with identical prefixes
+T45661: Piped links with identical prefixes
!! wikitext
[[prefixed article|prefixed articles with spaces]]
!! end
!! test
-Anchor containing a #. (bug 63430)
+Anchor containing a #. (T65430)
!! wikitext
[[Main Page#And#Link]]
!! html/php
!! endarticle
!! test
-Namespace takes precedence over interwiki link (bug 51680)
+Namespace takes precedence over interwiki link (T53680)
!! wikitext
[[MemoryAlpha:AlphaTest]]
!! html
!! end
!! test
-Link containing double-single-quotes '' (bug 4598)
+Link containing double-single-quotes '' (T6598)
!! wikitext
[[Lista d''e paise d''o munno]]
!! html/php
!! end
!! test
-Link containing double-single-quotes '' in text (bug 4598 sanity check)
+Link containing double-single-quotes '' in text (T6598 sanity check)
!! wikitext
Some [[Link|pretty ''italics'' and stuff]]!
!! html/php
!! end
!! test
-Link containing double-single-quotes '' in text embedded in italics (bug 4598 sanity check)
+Link containing double-single-quotes '' in text embedded in italics (T6598 sanity check)
!! wikitext
''Some [[Link|pretty ''italics'' and stuff]]!''
!! html
!! end
!! test
-Broken image links with HTML captions (bug 39700)
+Broken image links with HTML captions (T41700)
!! wikitext
[[File:Nonexistent|<script></script>]]
[[File:Nonexistent|100x100px|<script></script>]]
!! end
!! test
-BUG 2: [[page|http://url/]] should link to page, not http://url/
+T2002: [[page|http://url/]] should link to page, not http://url/
!! wikitext
[[Main Page|http://url/]]
!! html/php
# Parsoid does not mark self-links, by design.
!! test
-BUG 337: Escaped self-links should be bold
+T2337: Escaped self-links should be bold
!! options
title=[[Bug462]]
!! wikitext
!!end
!! test
-Internal link with ca linktrail, surrounded by bold apostrophes (bug 27473 primary issue)
+Internal link with ca linktrail, surrounded by bold apostrophes (T29473 primary issue)
!! options
language=ca
!! wikitext
!! end
!! test
-Internal link with ca linktrail, surrounded by italic apostrophes (bug 27473 primary issue)
+Internal link with ca linktrail, surrounded by italic apostrophes (T29473 primary issue)
!! options
language=ca
!! wikitext
!! end
!! test
-Internal link with en linktrail: no apostrophes (bug 27473)
+Internal link with en linktrail: no apostrophes (T29473)
!! options
language=en
!! wikitext
!! end
!! test
-Internal link with ca linktrail with apostrophes (bug 27473)
+Internal link with ca linktrail with apostrophes (T29473)
!! options
language=ca
!! wikitext
!! end
!! test
-Internal link with kaa linktrail with apostrophes (bug 27473)
+Internal link with kaa linktrail with apostrophes (T29473)
!! options
language=kaa
!! wikitext
!! end
!! test
-Link with multiple ":" in a subpage-supporting namespace (bug 63636)
+Link with multiple ":" in a subpage-supporting namespace (T65636)
!! wikitext
[[User:Foo/Test/63636:Bar|Test]]
!! html/php
!! end
!! test
-Inline interwiki link with empty title (bug 2372)
+Inline interwiki link with empty title (T4372)
!! options
parsoid=wt2html,wt2wt,html2html
!! wikitext
!! end
!! test
-Interwiki link encoding conversion (bug 1636)
+Interwiki link encoding conversion (T3636)
!! wikitext
*[[Wikipedia:ro:Olteniţa]]
*[[Wikipedia:ro:Olteniţa]]
!! end
!! test
-Interwiki link with fragment (bug 2130)
+Interwiki link with fragment (T4130)
!! wikitext
[[MeatBall:SoftSecurity#foo]]
!! html
!! end
!! test
-Local interwiki link: prefix only (bug 64167)
+Local interwiki link: prefix only (T66167)
!! options
parsoid=wt2html,wt2wt,html2html
!! wikitext
!! end
!! test
-Local interwiki link: with additional interwiki prefix (bug 61357)
+Local interwiki link: with additional interwiki prefix (T63357)
!! options
parsoid=wt2html,wt2wt,html2html
!! wikitext
!! end
!! test
-Double interlanguage link, with prefix links (bug 8897)
+Double interlanguage link, with prefix links (T10897)
!! options
language=ln
!! wikitext
!! end
!! test
-"Extra" interlanguage links (bug 32189 / gerrit 111390)
+"Extra" interlanguage links (T34189 / gerrit 111390)
!! wikitext
Blah blah blah
[[mul:Article]]
!! end
!! test
-Parsoid bug 53221: Wikilinks should be properly entity-escaped
+Parsoid T55221: Wikilinks should be properly entity-escaped
!! options
parsoid={ "modes": ["html2wt"], "suppressErrors": true }
!! html/parsoid
!! end
!! test
-Handle interwiki links pointing to the current wiki as plain wiki links (bug 45209)
+Handle interwiki links pointing to the current wiki as plain wiki links (T47209)
!! wikitext
[[mi:Foo]]
!! html/php
!! end
!! test
-Interlanguage link with preceding local interwiki link (bug 68085)
+Interlanguage link with preceding local interwiki link (T70085)
!! options
parsoid=wt2html,wt2wt,html2html
!! wikitext
</p>
!! end
-# TODO: Fix html2html mode (bug 51055)!
+# TODO: Fix html2html mode (T53055)!
!! test
Parsoid: Broken br tag recognition
!! options
!! end
!! test
-List items are not parsed correctly following a <pre> block (bug 785)
+List items are not parsed correctly following a <pre> block (T2785)
!! wikitext
* <pre>foo</pre>
* <pre>bar</pre>
!! end
# Parsoid fails this test, but it might be tricky to support properly.
-# See bug 68395.
+# See T70395.
!! test
Unbalanced closing non-block tags don't break a list
(php parser relies on Tidy to fix up)
<li><s> b </s></li></ol>
!! end
-# See bug 68395.
+# See T70395.
!!test
1. List embedded in a formatting tag
!! wikitext
!! end
!! test
-Magic Word: {{CURRENTWEEK}} (@bug 4594)
+Magic Word: {{CURRENTWEEK}} (T6594)
!! wikitext
{{CURRENTWEEK}}
!! html
!! end
!! test
-Magic Word: {{PAGENAME}} with metacharacters (bug 26781)
+Magic Word: {{PAGENAME}} with metacharacters (T28781)
!! options
title=[[*RFC 1234 http://example.com/]]
!! wikitext
!! end
!! test
-Magic Word: {{PAGENAMEE}} with metacharacters (bug 26781)
+Magic Word: {{PAGENAMEE}} with metacharacters (T28781)
!! options
title=[[*RFC 1234 http://example.com/]]
!! wikitext
!! end
!! test
-Namespace 0 {{ns:0}} (bug 4783)
+Namespace 0 {{ns:0}} (T6783)
!! wikitext
{{ns:0}}
!! html
!! end
!! test
-Namespace 0 {{ns:00}} (bug 4783)
+Namespace 0 {{ns:00}} (T6783)
!! wikitext
{{ns:00}}
!! html
### Magic links
###
!! test
-Magic links: internal link to RFC (bug 479)
+Magic links: internal link to RFC (T2479)
!! wikitext
[[RFC 123]]
!! html/php
!! end
!! test
-Magic links: RFC (bug 479)
+Magic links: RFC (T2479)
!! wikitext
RFC 822
!! html/php
!! end
!! test
-Magic links: RFC (bug 65278)
+Magic links: RFC (T67278)
!! wikitext
This is RFC 822 but thisRFC 822 is not RFC 822linked.
!! html/php
!! end
!! test
-Magic links: RFC (w/ non-newline whitespace, bug 28950/29025)
+Magic links: RFC (w/ non-newline whitespace, T30950/T31025)
!! wikitext
RFC      822
RFC
!! end
!! test
-Magic links: ISBN (bug 1937)
+Magic links: ISBN (T3937)
!! wikitext
ISBN 0-306-40615-2
!! html/php
!! end
!! test
-Magic links: ISBN (bug 65278)
+Magic links: ISBN (T67278)
!! wikitext
This is ISBN 978-0-316-09811-3 but thisISBN 978-0-316-09811-3 is not ISBN 978-0-316-09811-3linked.
!! html/php
!! end
!! test
-Magic links: ISBN (w/ non-newline whitespace, bug 28950/29025)
+Magic links: ISBN (w/ non-newline whitespace, T30950/T31025)
!! wikitext
ISBN      978 0 316 09811 3
ISBN
!! end
!! test
-Magic links: PMID (bug 65278)
+Magic links: PMID (T67278)
!! wikitext
This is PMID 1234 but thisPMID 1234 is not PMID 1234linked.
!! html/php
!! end
!! test
-Magic links: PMID (w/ non-newline whitespace, bug 28950/29025)
+Magic links: PMID (w/ non-newline whitespace, T30950/T31025)
!! wikitext
PMID      1234
PMID
!! end
!! test
-Template with just whitespace in it, bug #68421
+Template with just whitespace in it, T70421
!! wikitext
{{echo|{{ }}}}
!! html/parsoid
!! end
!! test
-BUG 553: link with two variables in a piped link
+T2553: link with two variables in a piped link
!! wikitext
{|
|[[{{{1}}}|{{{2}}}]]
!! endarticle
!! test
-BUG 529: Template with table, not included at beginning of line
+T2529: Template with table, not included at beginning of line
!! wikitext
foo {{table}}
!! html
!! end
!! test
-BUG 523: Template shouldn't eat newline (or add an extra one before table)
+T2523: Template shouldn't eat newline (or add an extra one before table)
!! wikitext
foo
{{table}}
!! end
!! test
-BUG 41: Template parameters shown as broken links
+T2041: Template parameters shown as broken links
!! wikitext
{{{parameter}}}
!! html
!!endarticle
!! test
-Bug 6563: Edit link generation for section shown by <includeonly>
+T8563: Edit link generation for section shown by <includeonly>
!! wikitext
{{includeonly section}}
!! html
# Uses same input as the contents of [[Template:Includeonly section]]
!! test
-Bug 6563: Section extraction for section shown by <includeonly>
+T8563: Section extraction for section shown by <includeonly>
!! options
section=T-2
!! wikitext
!! end
!! test
-Bug 6563: Edit link generation for section suppressed by <includeonly>
+T8563: Edit link generation for section suppressed by <includeonly>
!! wikitext
<includeonly>
==Includeonly section==
!! end
!! test
-Bug 6563: Section extraction for section suppressed by <includeonly>
+T8563: Section extraction for section suppressed by <includeonly>
!! options
section=1
!! wikitext
parsoid=wt2html,wt2wt
!! wikitext
<table>[[Category:foo1]]<tr><td>foo</td></tr></table>
-<!--Two categories (Bug 50330)-->
+<!--Two categories (T52330)-->
<table>[[Category:bar1]][[Category:bar2]]<tr><td>foo</td></tr></table>
!! html
<link rel="mw:PageProp/Category" href="./Category:Foo1"><table><tbody><tr><td>foo</td></tr></tbody></table>
-<!--Two categories (Bug 50330)-->
+<!--Two categories (T52330)-->
<link rel="mw:PageProp/Category" href="./Category:Bar1"><link rel="mw:PageProp/Category" href="./Category:Bar2"><table><tbody><tr><td>foo</td></tr></tbody></table>
!!end
</p>
!! end
-# Bug 64017 -- ugly wikitext with fostered content generates two template ranges that
+# T66017 -- ugly wikitext with fostered content generates two template ranges that
# have a true overlap (T1-start - T2-start - T1-end - T2-end).
!! test
Templates: Ugly templates: 5. Template encapsulation test: Non-trivial overlap of template ranges is properly handled
</table>
!! end
-# Bug 64017 -- ugly wikitext with fostered content generates two template ranges
+# T66017 -- ugly wikitext with fostered content generates two template ranges
# that are "identical" and generate nesting cycles in the algorithm
!! test
Templates: Ugly templates: 6. Template encapsulation test: Cyclical nesting of template ranges is properly handled
MediaWiki
!! end
-# This is bug 89, which I fixed. -- wtm
+# This is T2089, which I fixed. -- wtm
!! test
pre-save transform: subst: templates with parameters
!! options
!! endarticle
!! test
-pre-save transform: nowiki in subst (bug 1188)
+pre-save transform: nowiki in subst (T3188)
!! options
pst
!! wikitext
!! endarticle
!! test
-pre-save transform: comment in subst (bug 1936)
+pre-save transform: comment in subst (T3936)
!! options
pst
!! wikitext
!!endarticle
!!test
-(confirming safety of fix for subst bug 1936)
+(confirming safety of fix for subst T3936)
!! wikitext
{{Template:dangerous}}
!! html
!! end
!! test
-pre-save transform: comment containing gallery (bug 5024)
+pre-save transform: comment containing gallery (T7024)
!! options
pst
!! wikitext
!!end
!! test
-pre-save transform: <noinclude> in subst (bug 3298)
+pre-save transform: <noinclude> in subst (T5298)
!! options
pst
!! wikitext
!! end
!! test
-pre-save transform: <onlyinclude> in subst (bug 3298)
+pre-save transform: <onlyinclude> in subst (T5298)
!! options
pst
!! wikitext
!! endarticle
!! test
-bug 22297: safesubst: works during PST
+T24297: safesubst: works during PST
!! options
pst
!! wikitext
!! end
!! test
-bug 22297: safesubst: works during normal parse
+T24297: safesubst: works during normal parse
!! wikitext
{{SafeSubstTest}}
!! html
!! end
!! test
-pre-save transform: context links ("pipe trick") with full-width parens and no space (Japanese and Chinese style, bug 30149)
+pre-save transform: context links ("pipe trick") with full-width parens and no space (Japanese and Chinese style, T32149)
!! options
pst
!! wikitext
!! end
!! test
-pre-save transform: context links ("pipe trick") with full-width parens and space (Japanese and Chinese style, bug 30149)
+pre-save transform: context links ("pipe trick") with full-width parens and space (Japanese and Chinese style, T32149)
!! options
pst
!! wikitext
!! end
!! test
-pre-save transform: context links ("pipe trick") with parens and no space (Korean style, bug 30149)
+pre-save transform: context links ("pipe trick") with parens and no space (Korean style, T32149)
!! options
pst
!! wikitext
!! end
!! test
-pre-save transform: context links ("pipe trick") with commas (bug 21660)
+pre-save transform: context links ("pipe trick") with commas (T23660)
!! options
pst
!! wikitext
!! test
-pre-save transform: Signature expansion in nowiki tags (bug 93)
+pre-save transform: Signature expansion in nowiki tags (T2093)
!! options
pst disabled
!! wikitext
!! end
!! test
-message transform: <noinclude> in transcluded template (bug 4926)
+message transform: <noinclude> in transcluded template (T6926)
!! options
msg
!! wikitext
!! end
!! test
-message transform: <onlyinclude> in transcluded template (bug 4926)
+message transform: <onlyinclude> in transcluded template (T6926)
!! options
msg
!! wikitext
!! end
!! test
-Image with caption, bug 53312 #1
+Image with caption, T55312 #1
!! wikitext
[[File:Foobar.jpg|right|Caption page stuff]]
!! html/php
!! end
!! test
-Image with caption, bug 53312 #2
+Image with caption, T55312 #2
!! wikitext
[[File:Foobar.jpg|right|Caption page=]]
!! html/php
!! end
!! test
-Image with caption, bug 53312 #3
+Image with caption, T55312 #3
!! wikitext
[[File:Foobar.jpg|right|Caption page=stuff]]
!! html/php
!! end
!! test
-Allow empty links in image captions (Bug 60753)
+Allow empty links in image captions (T62753)
!! options
thumbsize=220
!! wikitext
!! end
!! test
-Image with multiple alignments -- use first (bug 48664)
+Image with multiple alignments -- use first (T50664)
!! options
thumbsize=220
!! wikitext
# a sad bit of backward-compatibility
!! test
-Image with size specified with pxpx (bug 13500, 51628)
+Image with size specified with pxpx (T15500, T53628)
!! options
parsoid=wt2html,wt2wt,html2html
!! wikitext
<p><span class="mw-default-size" typeof="mw:Image"><a href="./Main_Page"><img resource="./File:Foobar.jpg" src="//example.com/images/3/3a/Foobar.jpg" data-file-width="1941" data-file-height="220" data-file-type="bitmap" height="220" width="1941"/></a></span></p>
!! end
-# parsoid bug 49293 (part 1)
+# parsoid T51293 (part 1)
!! test
Image with link parameter, URL target
!! wikitext
<p><span class="mw-default-size" typeof="mw:Image"><a href="http://example.com/"><img resource="./File:Foobar.jpg" src="//example.com/images/3/3a/Foobar.jpg" data-file-width="1941" data-file-height="220" data-file-type="bitmap" height="220" width="1941"/></a></span></p>
!! end
-# parsoid bug 49293 (part 2)
+# parsoid T51293 (part 2)
!! test
Image with link parameter, protocol-less URL target
!! wikitext
!! end
!! test
-bug 18784 Link to non-existent image page with caption should use caption as link text
+T20784 Link to non-existent image page with caption should use caption as link text
!! wikitext
[[:Image:test|caption]]
!! html
!! end
!! test
-BUG 1887: A ISBN with a thumbnail
+T3887: A ISBN with a thumbnail
!! wikitext
[[File:Foobar.jpg|thumb|ISBN 1235467890]]
!! html/php
!! end
!! test
-BUG 1887: A RFC with a thumbnail
+T3887: A RFC with a thumbnail
!! wikitext
[[File:Foobar.jpg|thumb|This is RFC 12354]]
!! html/php
!! end
!! test
-BUG 1887: A mailto link with a thumbnail
+T3887: A mailto link with a thumbnail
!! wikitext
[[File:Foobar.jpg|thumb|Please mailto:nobody@example.com]]
!! html/php
<figure class="mw-default-size" typeof="mw:Image/Thumb"><a href="./File:Foobar.jpg"><img resource="./File:Foobar.jpg" src="//example.com/images/thumb/3/3a/Foobar.jpg/220px-Foobar.jpg" data-file-width="1941" data-file-height="220" data-file-type="bitmap" height="25" width="220"/></a><figcaption>Please <a rel="mw:ExtLink" href="mailto:nobody@example.com">mailto:nobody@example.com</a></figcaption></figure>
!! end
-# Pending resolution to bug 368
+# Pending resolution to T2368
!! test
-BUG 648: Frameless image caption with a link
+T2648: Frameless image caption with a link
!! wikitext
[[File:Foobar.jpg|text with a [[link]] in it]]
!! html/php
!! end
!! test
-BUG 648: Frameless image caption with a link (suffix)
+T2648: Frameless image caption with a link (suffix)
!! wikitext
[[File:Foobar.jpg|text with a [[link]]foo in it]]
!! html/php
!! end
!! test
-BUG 648: Frameless image caption with an interwiki link
+T2648: Frameless image caption with an interwiki link
!! wikitext
[[File:Foobar.jpg|text with a [[MeatBall:Link]] in it]]
!! html/php
!! end
!! test
-BUG 648: Frameless image caption with a piped interwiki link
+T2648: Frameless image caption with a piped interwiki link
!! wikitext
[[File:Foobar.jpg|text with a [[MeatBall:Link|link]] in it]]
!! html/php
!! end
!! test
-BUG 499: Alt text should have Ӓ, not &1234;
+T2499: Alt text should have Ӓ, not &1234;
!! wikitext
[[File:Foobar.jpg|♀]]
!! html/php
!! end
!! test
-Bug 3090: External links other than http: in image captions
+T5090: External links other than http: in image captions
!! wikitext
[[File:Foobar.jpg|thumb|200x200px|This caption has [irc://example.net irc] and [https://example.com Secure] ext links in it.]]
!! html/php
# Note that 'right' is the default alignment, despite the misspelled 'righ' below
!! test
-Invalid image attributes (bug 62500)
+Invalid image attributes (T64500)
!! options
thumbsize=220
parsoid=wt2html,wt2wt,html2html
!! end
!! test
-Render invalid page names as plain text (bug 51090)
+Render invalid page names as plain text (T53090)
!! wikitext
[[./../foo|bar]]
[[foo�|bar]]
!! end
!! test
-BUG 561: {{/Subpage}}
+T2561: {{/Subpage}}
!! options
subpage title=[[Page]]
!! wikitext
##
## The whitespace on the empty line is part of the test. Please do not delete
!! test
-1. Categories and newlines: All preceding newlines should be suppressed (courtesy bug 87)
+1. Categories and newlines: All preceding newlines should be suppressed (courtesy T2087)
!! options
parsoid=wt2html
!! wikitext
##
## The whitespace on the empty line is part of the test. Please do not delete
!! test
-2. Categories and newlines: All preceding newlines should be suppressed (courtesy bug 87)
+2. Categories and newlines: All preceding newlines should be suppressed (courtesy T2087)
!! options
parsoid=wt2html
!! wikitext
!! end
!! test
-Normalize hrefs properly before testing for invalid link targets (bug 70894)
+Normalize hrefs properly before testing for invalid link targets (T72894)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Duplicate interlanguage links (bug 24502)
+Duplicate interlanguage links (T26502)
!! options
ill
!! wikitext
!! end
!! test
-TOC with wgMaxTocLevel=3 (bug 6204)
+TOC with wgMaxTocLevel=3 (T8204)
!! options
wgMaxTocLevel=3
!! wikitext
!! end
!! test
-TOC with wgMaxTocLevel=3 and two level four headings (bug 6204)
+TOC with wgMaxTocLevel=3 and two level four headings (T8204)
!! options
wgMaxTocLevel=3
!! wikitext
!! end
!! test
-Resolving duplicate section names with differing case (bug 10721)
+Resolving duplicate section names with differing case (T12721)
!! wikitext
== Foo bar ==
== Foo Bar ==
!! end
!! test
-BUG 1219 URL next to image (good)
+T3219 URL next to image (good)
!! wikitext
http://example.com [[File:Foobar.jpg]]
!! html/php
!!end
!! test
-Short headings with trailing space should match behavior of Parser::doHeadings (bug 19910)
+Short headings with trailing space should match behavior of Parser::doHeadings (T21910)
!! wikitext
===
The line above must have a trailing space!
!! end
!! test
-Header with special characters (bug 25462)
+Header with special characters (T27462)
!! wikitext
The tooltips shall not show entities to the user (ie. be double escaped)
!! end
!! test
-HTML headers vs TOC (bug 23393)
+HTML headers vs TOC (T25393)
(__NOEDITSECTION__ for clearer output, doesn't matter here)
!! wikitext
<h1>Header 1</h1>
!! end
!! test
-BUG 1219 URL next to image (broken)
+T3219 URL next to image (broken)
!! wikitext
http://example.com[[File:Foobar.jpg]]
!! html/php
!!end
!! test
-Bug 1186 news: in the middle of text
+T3186 news: in the middle of text
!! wikitext
http://en.wikinews.org/wiki/Wikinews:Workplace
!! html
!! end
###
-### Nesting tests (see bug 41545, 50604, 51081)
+### Nesting tests (see T43545, T52604, T53081)
###
-# This test case is fixed in Parsoid by domino 1.0.12. (bug 50604)
+# This test case is fixed in Parsoid by domino 1.0.12. (T52604)
# Note that html2wt is considerably more difficult if we use <b> in
# the test case, instead of <small>
!! test
</p>
!! end
-# This was bug 41545 in the PHP parser.
+# This was T43545 in the PHP parser.
# Note that tidy doesn't handle this correctly.
!! test
Nesting of <kbd>
</p>
!! end
-# The following cases were bug 51081 in the PHP parser.
+# The following cases were T53081 in the PHP parser.
# Note that there are some other nestable tags (b, i, etc) which are
-# not covered; see bug 51081 for discussion.
+# not covered; see T53081 for discussion.
# Note that tidy doesn't handle this correctly.
!! test
!! end
!! test
-Media link to nonexistent file (bug 1702)
+Media link to nonexistent file (T3702)
!! wikitext
[[Media:No such.jpg]]
!! html
!! end
!! test
-Image link to nonexistent file (bug 1850 - good)
+Image link to nonexistent file (T3850 - good)
!! wikitext
[[File:No_such.jpg]]
!! html/php
!! end
!! test
-:Image link to nonexistent file (bug 1850 - bad)
+:Image link to nonexistent file (T3850 - bad)
!! wikitext
[[:Image:No such.jpg]]
!! html/php
!! test
-Character reference normalization in link text (bug 1938)
+Character reference normalization in link text (T3938)
!! wikitext
[[Main Page|this&that]]
!! html
!! endarticle
!! test
-(bug 19451) Links should refer to the normalized form.
+(T21451) Links should refer to the normalized form.
!! wikitext
[[אַ]]
[[אַ]]
!! end
!! test
-Empty attribute crash test (bug 2067)
+Empty attribute crash test (T4067)
!! wikitext
<font color="">foo</font>
!! html
!! end
!! test
-Empty attribute crash test single-quotes (bug 2067)
+Empty attribute crash test single-quotes (T4067)
!! wikitext
<font color=''>foo</font>
!! html
!! end
!! test
-Bug 2095: link with three closing brackets
+T4095: link with three closing brackets
!! wikitext
[[Main Page]]]
!! html/php
!! end
!! test
-Bug 2095: link with pipe and three closing brackets
+T4095: link with pipe and three closing brackets
!! wikitext
[[Main Page|link]]]
!! html/php
!! end
!! test
-Bug 2095: link with pipe and three closing brackets, version 2
+T4095: link with pipe and three closing brackets, version 2
!! wikitext
[[Main Page|[http://example.com/]]]
!! html/php
!! endarticle
!! test
-Bug 2304: HTML attribute safety (safe template; regression bug 2309)
+T4304: HTML attribute safety (safe template; regression T4309)
!! wikitext
<div title="{{test}}"></div>
!! html/php
# Parsoid has enough context to handle this case
!! test
-Bug 2304: HTML attribute safety (dangerous template; 2309)
+T4304: HTML attribute safety (dangerous template; 2309)
!! wikitext
<div title="{{dangerous attribute}}"></div>
!! html/php
!! end
!! test
-Bug 2304: HTML attribute safety (dangerous style template; 2309)
+T4304: HTML attribute safety (dangerous style template; 2309)
!! wikitext
<div style="{{dangerous style attribute}}"></div>
!! html/php
!! end
!! test
-Bug 2304: HTML attribute safety (safe parameter; 2309)
+T4304: HTML attribute safety (safe parameter; 2309)
!! wikitext
{{div style|width: 200px}}
!! html/php
!! end
!! test
-Bug 2304: HTML attribute safety (unsafe parameter; 2309)
+T4304: HTML attribute safety (unsafe parameter; 2309)
!! wikitext
{{div style|width: expression(alert(document.cookie))}}
!! html/php
## Parsoid output here differs; needs investigation.
!! test
-Bug 2304: HTML attribute safety (unsafe breakout parameter; 2309)
+T4304: HTML attribute safety (unsafe breakout parameter; 2309)
!! wikitext
{{div style|"><script>alert(document.cookie)</script>}}
!! html
## Parsoid output here differs; needs investigation.
!! test
-Bug 2304: HTML attribute safety (unsafe breakout parameter 2; 2309)
+T4304: HTML attribute safety (unsafe breakout parameter 2; 2309)
!! wikitext
{{div style|" ><script>alert(document.cookie)</script>}}
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (link)
+T4304: HTML attribute safety (link)
!! wikitext
<div title="[[Main Page]]"></div>
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (italics)
+T4304: HTML attribute safety (italics)
!! wikitext
<div title="''foobar''"></div>
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (bold)
+T4304: HTML attribute safety (bold)
!! wikitext
<div title="'''foobar'''"></div>
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (ISBN)
+T4304: HTML attribute safety (ISBN)
!! wikitext
<div title="ISBN 1234567890"></div>
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (RFC)
+T4304: HTML attribute safety (RFC)
!! wikitext
<div title="RFC 1234"></div>
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (PMID)
+T4304: HTML attribute safety (PMID)
!! wikitext
<div title="PMID 1234567890"></div>
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (web link)
+T4304: HTML attribute safety (web link)
!! wikitext
<div title="http://example.com/"></div>
!! html
!! end
!! test
-Bug 2304: HTML attribute safety (named web link)
+T4304: HTML attribute safety (named web link)
!! wikitext
<div title="[http://example.com/ link]"></div>
!! html
!! end
!! test
-Bug 3244: HTML attribute safety (extension; safe)
+T5244: HTML attribute safety (extension; safe)
!! wikitext
<div style="<nowiki>background:blue</nowiki>"></div>
!! html/php
!! end
!! test
-Bug 3244: HTML attribute safety (extension; unsafe)
+T5244: HTML attribute safety (extension; unsafe)
!! wikitext
<div style="<nowiki>border-left:expression(alert(document.cookie))</nowiki>"></div>
!! html/php
!! end
!! test
-CSS safety test (all browsers): vertical tab (bug 55332 / CVE-2013-4567)
+CSS safety test (all browsers): vertical tab (T57332 / CVE-2013-4567)
!! wikitext
<p style="font-size: 100px; background-image:url\b(https://www.google.com/images/srpr/logo6w.png)">A</p>
!! html/php
!! end
!! test
-MSIE 6 CSS safety test: Fullwidth (bug 55332)
+MSIE 6 CSS safety test: Fullwidth (T57332)
!! wikitext
<p style="font-size: 100px; color: expression((title='XSSed'),'red')">A</p>
<div style="top:EXPRESSION(alert())">B</div>
!! end
!! test
-MSIE 6 CSS safety test: IPA extensions (bug 55332)
+MSIE 6 CSS safety test: IPA extensions (T57332)
!! wikitext
<div style="background-image:uʀʟ(javascript:alert())">A</div>
<p style="font-size: 100px; color: expʀessɪoɴ((title='XSSed'),'red')">B</p>
!! end
!! test
-MSIE 6 CSS safety test: sup/sub script (bug 55332)
+MSIE 6 CSS safety test: sup/sub script (T57332)
!! wikitext
<div style="background-image:url⁽javascript:alert())">A</div>
<div style="background-image:url₍javascript:alert())">B</div>
!! end
!! test
-MSIE 6 CSS safety test: Repetition markers (bug 55332)
+MSIE 6 CSS safety test: Repetition markers (T57332)
!! wikitext
<p style="font-size: 100px; color: expres〱ion((title='XSSed'),'red')">A</p>
<p style="font-size: 100px; color: expresゝion((title='XSSed'),'red')">B</p>
!! endarticle
!! test
-Expansion of multi-line templates in attribute values (bug 6255)
+Expansion of multi-line templates in attribute values (T8255)
!! wikitext
<div style="background: {{identity|#00FF00}}">-</div>
!! html
!! end
!! test
-Expansion of multi-line templates in attribute values (bug 6255 sanity check)
+Expansion of multi-line templates in attribute values (T8255 sanity check)
!! wikitext
-<div style="background:
+<div style="background:
#00FF00">-</div>
!! html/php
<div style="background: #00FF00">-</div>
!! html/parsoid
-<div style="background:
+<div style="background:
#00FF00">-</div>
!! end
!! test
-Expansion of multi-line templates in attribute values (bug 6255 sanity check 2)
+Expansion of multi-line templates in attribute values (T8255 sanity check 2)
!! wikitext
<div style="background: #00FF00">-</div>
!! html
!! end
!! test
-Parser hook: argument containing a forward slash (bug 5344)
+Parser hook: argument containing a forward slash (T7344)
!! wikitext
<tag filename="/tmp/bla"></tag>
!! html/php
## Don't expect parsoid to rt this form.
!! test
-Parser hook: empty input using terminated empty elements (bug 2374)
+Parser hook: empty input using terminated empty elements (T4374)
!! options
parsoid=wt2html,html2html
!! wikitext
## </tag> should be output literally since there is no matching tag that begins it
## Don't expect parsoid to rt this form.
!! test
-Parser hook: basic arguments using terminated empty elements (bug 2374)
+Parser hook: basic arguments using terminated empty elements (T4374)
!! options
parsoid=wt2html
!! wikitext
# In HTML5, the restrictions are that id must contain at least one character,
# and must not contain any space characters.
!! test
-Sanitizer: Validating the contents of the id attribute (bug 4515)
+Sanitizer: Validating the contents of the id attribute (T6515)
!! options
disabled
!! wikitext
# In HTML5, id must be unique amongst all the ids in the element's home subtree.
!! test
-Sanitizer: Validating id attribute uniqueness (bug 4515, bug 6301)
+Sanitizer: Validating id attribute uniqueness (T6515, T8301)
!! options
disabled
!! wikitext
!! end
!! test
-Language converter: output gets cut off unexpectedly (bug 5757)
+Language converter: output gets cut off unexpectedly (T7757)
!! options
language=zh
!! wikitext
!! end
!! test
-Self closed html pairs (bug 5487)
+Self closed html pairs (T7487)
!! options
!! wikitext
<center><font id="bug" />Centered text</center>
!! end
!! test
-Punctuation: CSS !important (bug 11874)
+Punctuation: CSS !important (T13874)
!! wikitext
<div style="width:50% !important">important</div>
!! html
!!end
!! test
-Punctuation: CSS ! important (bug 11874; with space after)
+Punctuation: CSS ! important (T13874; with space after)
!! wikitext
<div style="width:50% ! important">important</div>
!! html
!!end
!! test
-HTML bullet list, closed tags (bug 5497)
+HTML bullet list, closed tags (T7497)
!! wikitext
<ul>
<li>One</li>
!! end
!! test
-HTML bullet list, unclosed tags (bug 5497)
+HTML bullet list, unclosed tags (T7497)
!! wikitext
<ul>
<li>One
!! end
!! test
-HTML ordered list, closed tags (bug 5497)
+HTML ordered list, closed tags (T7497)
!! wikitext
<ol>
<li>One</li>
!! end
!! test
-HTML ordered list, unclosed tags (bug 5497)
+HTML ordered list, unclosed tags (T7497)
!! options
!! wikitext
<ol>
!! end
!! test
-HTML nested bullet list, closed tags (bug 5497)
+HTML nested bullet list, closed tags (T7497)
!! wikitext
<ul>
<li>One</li>
!! end
!! test
-HTML nested bullet list, open tags (bug 5497)
+HTML nested bullet list, open tags (T7497)
!! wikitext
<ul>
<li>One
!! end
!! test
-HTML nested ordered list, closed tags (bug 5497)
+HTML nested ordered list, closed tags (T7497)
!! wikitext
<ol>
<li>One</li>
!! end
!! test
-HTML nested ordered list, open tags (bug 5497)
+HTML nested ordered list, open tags (T7497)
!! wikitext
<ol>
<li>One
!! end
-# parsoid doesn't explicitly mark autonumbered links, see bug 53505
+# parsoid doesn't explicitly mark autonumbered links, see T55505
!!test
-bug 5918: autonumbering
+T7918: autonumbering
!! wikitext
[http://first/] [http://second] [ftp://ftp]
# <li class="||">
# }}}blah" onmouseover="alert('hello world');" align="left"<b>MOVE MOUSE CURSOR OVER HERE</b>
!!test
-Fuzz testing: Parser25 (bug 6055)
+Fuzz testing: Parser25 (T8055)
!! wikitext
{{{
|
!!end
!! test
-Fuzz testing: encoded newline in generated HTML replacements (bug 6577)
+Fuzz testing: encoded newline in generated HTML replacements (T8577)
!! wikitext
<pre dir=" "></pre>
!! html
!! end
!! test
-Parsing optional HTML elements (Bug 6171)
+Parsing optional HTML elements (T8171)
!! options
!! wikitext
<table>
!! end
!! test
-Correct handling of <td>, <tr> (Bug 6171)
+Correct handling of <td>, <tr> (T8171)
!! options
!! wikitext
<table>
!! end
!! test
-Special page transclusion twice (bug 5021)
+Special page transclusion twice (T7021)
!! options
!! wikitext
{{Special:Prefixindex/Xyzzyx}}
==b==
!! end
-# Formerly testing for bug 2587, now resolved by the use of unmarked sections
+# Formerly testing for T4587, now resolved by the use of unmarked sections
# instead of respecting commented sections
!! test
Section extraction prefixed by comment (section 1)
!!end
-# Formerly testing for bug 2607, now resolved by the use of unmarked sections
+# Formerly testing for T4607, now resolved by the use of unmarked sections
# instead of respecting HTML-style headings
!! test
Section extraction, mixed wiki and html (section 1)
!! end
-# Formerly testing for bug 3342
+# Formerly testing for T5342
!! test
Section extraction, heading surrounded by <noinclude>
!! options
==marked==
!!end
-# Test behavior of bug 19910
+# Test behavior of T21910
!! test
Sectiion with all-equals
!! options
!! end
!! test
-Section replacement test with initial whitespace (bug 13728)
+Section replacement test with initial whitespace (T15728)
!! options
replace=2,"xxx"
!! wikitext
!! test
-Section extraction, heading followed by pre with 20 spaces (bug 6398)
+Section extraction, heading followed by pre with 20 spaces (T8398)
!! options
section=1
!! wikitext
!! end
!! test
-Section extraction, heading followed by pre with 19 spaces (bug 6398 sanity check)
+Section extraction, heading followed by pre with 19 spaces (T8398 sanity check)
!! options
section=1
!! wikitext
!! test
-Section extraction, <pre> around bogus header (bug 10309)
+Section extraction, <pre> around bogus header (T12309)
!! options
section=2
!! wikitext
!! end
!! test
-Section replacement, <pre> around bogus header (bug 10309)
+Section replacement, <pre> around bogus header (T12309)
!! options
replace=2,"xxx"
!! wikitext
!! end
!! test
-HTML Hex character encoding bogus encoding (bug 26437 regression check)
+HTML Hex character encoding bogus encoding (T28437 regression check)
!! wikitext
&#xsee;&#XSEE;
!! html/php
!! end
!! test
-Bug 22905: <abbr> followed by ISBN followed by </a>
+T24905: <abbr> followed by ISBN followed by </a>
!! wikitext
<abbr>(fr)</abbr> ISBN 2753300917 [http://www.example.com example.com]
!! html/php
!! test
-ISBN with trailing year (bug 8110)
+ISBN with trailing year (T9110)
!! wikitext
ISBN 1-234-56789-0 - 2006
!! end
!! test
-anchorencode encodes like the TOC generator: (bug 18431)
+anchorencode encodes like the TOC generator: (T20431)
!! wikitext
=== _ +:.3A%3A&&]] ===
{{anchorencode: _ +:.3A%3A&&]] }}
!! end
!! test
-Bug 6200: blockquotes and paragraph formatting
+T8200: blockquotes and paragraph formatting
!! wikitext
<blockquote>
foo
!! end
!! test
-Bug 8293: Use of center tag ruins paragraph formatting
+T10293: Use of center tag ruins paragraph formatting
!! wikitext
<center>
foo
## This wikitext usage is going to be fairly uncommon in production and
## selser will take care of preserving formatting in those scenarios.
!! test
-Don't convert blue categorylinks to another variant (bug 33210)
+Don't convert blue categorylinks to another variant (T35210)
!! options
cat
language=zh
!! end
!! test
-Bug 24072: more test on conversion rule for title
+T26072: more test on conversion rule for title
!! options
language=zh variant=zh-tw showtitle
!! wikitext
!! end
!! test
-Bug 529: Uncovered bullet
+T2529: Uncovered bullet
!! wikitext
* Foo {{bullet}}
!! html
# To test realistic parsing behavior, apply a tidy-like transformation to both
# the expected output and your parser's output.
!! test
-Bug 529: Uncovered bullet leaving empty list, normally removed by tidy
+T2529: Uncovered bullet leaving empty list, normally removed by tidy
!! wikitext
******* Foo {{bullet}}
!! html
!! end
!! test
-Bug 529: Uncovered table already at line-start
+T2529: Uncovered table already at line-start
!! wikitext
x
!! end
!! test
-Bug 529: Uncovered bullet in parser function result
+T2529: Uncovered bullet in parser function result
!! wikitext
* Foo {{lc:{{bullet}} }}
!! html
!! end
!! test
-Bug 5678: Double-parsed template argument
+T7678: Double-parsed template argument
!! wikitext
{{lc:{{{1}}}|hello}}
!! html
!! end
!! test
-Bug 5678: Double-parsed template invocation
+T7678: Double-parsed template invocation
!! wikitext
{{lc:{{paramtest {{!}} param = hello }} }}
!! html
!! end
!! test
-Case insensitivity of parser functions for non-ASCII characters (bug 8143)
+Case insensitivity of parser functions for non-ASCII characters (T10143)
!! options
language=cs
title=[[Main Page]]
</p>
!! end
-# Bug 6200: <blockquote> should behave like <div> with respect to line breaks
+# T8200: <blockquote> should behave like <div> with respect to line breaks
!! test
-Bug 6200: paragraphs inside blockquotes (no extra line breaks)
+T8200: paragraphs inside blockquotes (no extra line breaks)
!! wikitext
<blockquote>Line one
!! end
!! test
-Bug 6200: paragraphs inside blockquotes (extra line break on open)
+T8200: paragraphs inside blockquotes (extra line break on open)
!! wikitext
<blockquote>
Line one
!! end
!! test
-Bug 6200: paragraphs inside blockquotes (extra line break on close)
+T8200: paragraphs inside blockquotes (extra line break on close)
!! wikitext
<blockquote>Line one
!! end
!! test
-Bug 6200: paragraphs inside blockquotes (extra line break on open and close)
+T8200: paragraphs inside blockquotes (extra line break on open and close)
!! wikitext
<blockquote>
Line one
!! end
!! test
-Bug 15196: localised external link numbers
+T17196: localised external link numbers
!! options
language=fa
!! wikitext
!!end
!! test
-Edit comment with subpage link (bug 14080)
+Edit comment with subpage link (T16080)
!! options
comment
subpage
!!end
!! test
-Edit comment with subpage link and link text (bug 14080)
+Edit comment with subpage link and link text (T16080)
!! options
comment
subpage
!!end
!! test
-Edit comment with bogus subpage link in non-subpage NS (bug 14080)
+Edit comment with bogus subpage link in non-subpage NS (T16080)
!! options
comment
title=[[Subpage test]]
!! end
!! test
-Space normalisation on autocomment (bug 22784)
+Space normalisation on autocomment (T24784)
!! options
comment
title=[[Main Page]]
!! end
!! test
-percent-encoding and + signs in comments (Bug 26410)
+percent-encoding and + signs in comments (T28410)
!! options
comment
!! wikitext
<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>
!! end
-# Parsoid doesn't support this yet: see bug 73581
+# Parsoid doesn't support this yet: see T75581
# but it *should* omit the 'src' attribute if the image is bad.
# PHP side of tests was disabled in
# mediawiki/core:6bd31e7d95161a6e88fa86df60871051da997c3c
!! end
!! test
-Bad images - bug 16039: text after bad image disappears
+Bad images - T18039: text after bad image disappears
!! wikitext
Foo bar
[[File:Bad.jpg]]
!! end
!! test
-Verify that displaytitle works (bug #22501) no displaytitle
+Verify that displaytitle works (T24501) no displaytitle
!! options
showtitle
!! config
!! end
!! test
-Verify that displaytitle works (bug #22501) RestrictDisplayTitle=false
+Verify that displaytitle works (T24501) RestrictDisplayTitle=false
!! options
showtitle
title=[[Screen]]
!! end
!! test
-Verify that displaytitle works (bug #22501) RestrictDisplayTitle=true mismatch
+Verify that displaytitle works (T24501) RestrictDisplayTitle=true mismatch
!! options
showtitle
title=[[Screen]]
!! end
!! test
-Verify that displaytitle works (bug #22501) RestrictDisplayTitle=true matching
+Verify that displaytitle works (T24501) RestrictDisplayTitle=true matching
!! options
showtitle
title=[[Screen]]
!! end
!! test
-Verify that displaytitle works (bug #22501) AllowDisplayTitle=false
+Verify that displaytitle works (T24501) AllowDisplayTitle=false
!! options
showtitle
title=[[Screen]]
!! end
!! test
-Verify that displaytitle works (bug #22501) AllowDisplayTitle=false no DISPLAYTITLE
+Verify that displaytitle works (T24501) AllowDisplayTitle=false no DISPLAYTITLE
!! options
showtitle
title=[[Screen]]
!! end
!! test
-Verify that displaytitle handles inline CSS styles (bug 26547) - rejected value
+Verify that displaytitle handles inline CSS styles (T28547) - rejected value
!! options
showtitle
title=[[Screen]]
!! end
!! test
-Verify that displaytitle handles inline CSS styles (bug 26547) - accepted value
+Verify that displaytitle handles inline CSS styles (T28547) - accepted value
!! options
showtitle
title=[[Screen]]
!! end
!! test
-Play a bit with r67090 and bug 3158
+Play a bit with r67090 and T5158
!! wikitext
<div style="width:50% !important"> </div>
<div style="width:50% !important"> </div>
!! end
!! test
-percent-encoding and + signs in internal links (Bug 26410)
+percent-encoding and + signs in internal links (T28410)
!! wikitext
[[User:+%]] [[Page+title%]]
[[%+]] [[%+|%20]] [[%+ ]] [[%+r]]
!! end
!! test
-Special characters in embedded file links (bug 27679)
+Special characters in embedded file links (T29679)
!! wikitext
[[File:Contains & ampersand.jpg]]
[[File:Does not exist.jpg|Title with & ampersand]]
!! end
!! test
-Bug 19052 U+3000 IDEOGRAPHIC SPACE should terminate free external links
+T21052 U+3000 IDEOGRAPHIC SPACE should terminate free external links
!! wikitext
http://www.example.org/ <-- U+3000 (vim: ^Vu3000)
!! html
!! end
!! test
-Bug 19052 U+3000 IDEOGRAPHIC SPACE should terminate bracketed external links
+T21052 U+3000 IDEOGRAPHIC SPACE should terminate bracketed external links
!! wikitext
[http://www.example.org/ ideograms]
!! html
!! end
!! test
-Bug 19052 U+3000 IDEOGRAPHIC SPACE should terminate external images links
+T21052 U+3000 IDEOGRAPHIC SPACE should terminate external images links
!! wikitext
http://www.example.org/pic.png <-- U+3000 (vim: ^Vu3000)
!! html
!! endarticle
!! test
-Bug 31098 Template which includes system messages which includes the template
+T33098 Template which includes system messages which includes the template
!! wikitext
{{Identical}}
!! html
!! end
!! test
-Bug31490 Turkish: ucfirst 'blah'
+T33490 Turkish: ucfirst 'blah'
!! options
language=tr
!! wikitext
!! end
!! test
-Bug31490 Turkish: ucfirst 'ix'
+T33490 Turkish: ucfirst 'ix'
!! options
language=tr
!! wikitext
!! end
!! test
-Bug31490 Turkish: lcfirst 'BLAH'
+T33490 Turkish: lcfirst 'BLAH'
!! options
language=tr
!! wikitext
!! end
!! test
-Bug31490 Turkish: ucfırst (with a dotless i)
+T33490 Turkish: ucfırst (with a dotless i)
!! options
language=tr
!! wikitext
!! end
!! test
-Bug31490 ucfırst (with a dotless i) with English language
+T33490 ucfırst (with a dotless i) with English language
!! options
language=en
!! wikitext
!! end
!! test
-Bug 26375: TOC with italics
+T28375: TOC with italics
!! options
title=[[Main Page]]
!! wikitext
!! end
!! test
-Bug 26375: TOC with bold
+T28375: TOC with bold
!! options
title=[[Main Page]]
!! wikitext
!! end
!! test
-Bug 33845: Headings become cursive in TOC when they contain an image
+T35845: Headings become cursive in TOC when they contain an image
!! options
title=[[Main Page]]
!! wikitext
!! end
!! test
-Bug 33845 (2): Headings become bold in TOC when they contain a blockquote
+T35845 (2): Headings become bold in TOC when they contain a blockquote
!! options
title=[[Main Page]]
!! wikitext
!! end
!! test
-Bug 72884: bdi element in ToC
+T74884: bdi element in ToC
!! wikitext
__TOC__
== <bdi>test</bdi> ==
!! end
!! article
-MediaWiki:Bug32057
+MediaWiki:T34057
!! text
== {{int:headline_sample}} ==
!! endarticle
!! test
-Bug 32057: Title needed when expanding <h> nodes.
+T34057: Title needed when expanding <h> nodes.
!! options
title=[[Main Page]]
!! wikitext
-{{int:Bug32057}}
+{{int:T34057}}
!! html
<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>
!! end
!! test
-Wrong option for formatNum (bug 56199)
+Wrong option for formatNum (T58199)
!! wikitext
{{formatnum:1,234.56|Random}}
{{formatnum:1,234.56|EVERYTHING}}
!! end
!! test
-nowiki inside link inside heading (bug 18295)
+nowiki inside link inside heading (T20295)
!! wikitext
==[[foo|x<nowiki>y</nowiki>z]]==
!! html
!! end
!! test
-new support for bdi element (bug 31817)
+new support for bdi element (T33817)
!! wikitext
<p dir="rtl" lang="he">ולדימיר לנין (ברוסית: <bdi lang="ru">Владимир Ленин</bdi>, 24 באפריל 1870–22 בינואר 1924) הוא מנהיג פוליטי קומוניסטי רוסי.</p>
!! html
!! end
!!test
-Gallery override link with WikiLink (bug 34852)
+Gallery override link with WikiLink (T36852)
!! wikitext
<gallery>
File:foobar.jpg|caption|alt=galleryalt|link=InterWikiLink
!! end
!!test
-Bug 34939 - Case insensitive link parsing ([HttP://])
+T36939 - Case insensitive link parsing ([HttP://])
!! wikitext
[HttP://MediaWiki.Org/]
!! html/php
!! end
!!test
-Bug 34939 - Case insensitive link parsing ([HttP:// title])
+T36939 - Case insensitive link parsing ([HttP:// title])
!! wikitext
[HttP://MediaWiki.Org/ MediaWiki]
!! html
!! end
!!test
-Bug 34939 - Case insensitive link parsing (HttP://)
+T36939 - Case insensitive link parsing (HttP://)
!! wikitext
HttP://MediaWiki.Org/
!! html/php
#### Parsoid-specific functionality tests
#### -----------------------------------------------------------------
-# Bug 63642/66749: Formatting elt fixup around images is cleaned up.
+# T65642/T68749: Formatting elt fixup around images is cleaned up.
# We know wt2wt will fail, but we expect selser to pass.
# Due to the nature of our testing, wt2wt and selser tests will enter the
# blacklist and we'll catch selser regressions based on changes to the
!! end
!! test
-Links 6. Add <nowiki/>s between text-nodes and url-links when required (bug 64300)
+Links 6. Add <nowiki/>s between text-nodes and url-links when required (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 7a. Don't add spurious <nowiki/>s between text-nodes and url-links (bug 64300)
+Links 7a. Don't add spurious <nowiki/>s between text-nodes and url-links (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 7b. Don't add spurious <nowiki/>s between text-nodes and url-links (bug 64300)
+Links 7b. Don't add spurious <nowiki/>s between text-nodes and url-links (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 8. Add <nowiki/>s between text-nodes and RFC-links when required (bug 64300)
+Links 8. Add <nowiki/>s between text-nodes and RFC-links when required (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 9. Don't add spurious <nowiki/>s between text-nodes and RFC-links (bug 64300)
+Links 9. Don't add spurious <nowiki/>s between text-nodes and RFC-links (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 10. Add <nowiki/>s between text-nodes and PMID-links when required (bug 64300)
+Links 10. Add <nowiki/>s between text-nodes and PMID-links when required (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 11. Don't add spurious <nowiki/>s between text-nodes and PMID-links (bug 64300)
+Links 11. Don't add spurious <nowiki/>s between text-nodes and PMID-links (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 12. Add <nowiki/>s between text-nodes and ISBN-links when required (bug 64300)
+Links 12. Add <nowiki/>s between text-nodes and ISBN-links when required (T66300)
!! options
parsoid=html2wt
!! html/parsoid
!! end
!! test
-Links 13. Don't add spurious <nowiki/>s between text-nodes and ISBN-links (bug 64300)
+Links 13. Don't add spurious <nowiki/>s between text-nodes and ISBN-links (T66300)
!! options
parsoid=html2wt
!! html/parsoid
## The quote-char in the input is necessary for triggering the bug
!! test
-(Bug 52035) Nowiki-escaping should not get tripped by " :" in text
+(T54035) Nowiki-escaping should not get tripped by " :" in text
!! options
parsoid=html2wt
!! html/parsoid
</table>
!!end
-# Parsoid only for bug 64747
+# Parsoid only for T66747
!! test
Properly encapsulate empty-content transclusions in fosterable positions
!! wikitext
# 'mi' is a localinterwiki prefix as well as a language
!! test
-Serialize interwiki links pointing to the current wiki as plain wiki links (bug 65869)
+Serialize interwiki links pointing to the current wiki as plain wiki links (T67869)
!! options
parsoid=html2wt
!! html/parsoid
!!end
!! test
-Image: Modifying alignment of an image (bug 48665)
+Image: Modifying alignment of an image (T50665)
!! options
parsoid={
"modes": ["wt2wt"],
!! end
!! test
-Image: Modifying mw-default-size of an frameless image (bug 62805)
+Image: Modifying mw-default-size of an frameless image (T64805)
!! options
parsoid={
"modes": ["wt2wt"],
!! end
!! test
-Image: Modifying valign of an image (bug 49221)
+Image: Modifying valign of an image (T51221)
!! options
parsoid={
"modes": ["wt2wt"],
!! end
!! test
-Image: Modifying alt attribute of an image (bug 56400)
+Image: Modifying alt attribute of an image (T58400)
!! options
parsoid={
"modes": ["wt2wt"],
!!end
!! test
-Image: empty alt attribute (bug 48924)
+Image: empty alt attribute (T50924)
!! options
parsoid
!! wikitext
!! end
!! test
-Image: new attributes should be serialized in wiki's language for RTL languages (bug 51852)
+Image: new attributes should be serialized in wiki's language for RTL languages (T53852)
!! options
parsoid=html2wt
language=ar
#------------------------------
!!test
-Bug 54262: New entities
+T56262: New entities
!! options
parsoid=html2wt
!! html/parsoid