Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4657
bug12974.html
Public
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:03 PM
2014-11-21 22:03:25 (UTC+0)
Size
2 KB
Referenced Files
None
Subscribers
None
bug12974.html
View Options
<
html
>
<
head
>
<
style
type
=
"text/css"
>
.
wikitable
,
.
wikitable
td
,
.
wikitable
th
{
border
:
1
px
solid
black
;
}
</
style
>
</
head
>
<
body
>
<
h1
>
Input
</
h1
>
<
pre
>
{| class="wikitable"
|-
! 1
!
<
code
><
nowiki
>
{{foo}}
</
nowiki
></
code
>
| {{foo}}
|-
! 2
!
<
code
><
nowiki
>
\n{{foo}}
</
nowiki
></
code
>
|
{{foo}}
|-
! 3
!
<
code
><
nowiki
>
{{PAGENAME:{{foo2}}}}
</
nowiki
></
code
>
| {{PAGENAME:{{foo2}}}}
|-
! 4
!
<
code
><
nowiki
>
\n{{PAGENAME:{{foo2}}}}
</
nowiki
></
code
>
|
{{PAGENAME:{{foo2}}}}
|-
! 5
!
<
code
><
nowiki
>
xxx{{PAGENAME:{{foo2}}}}yyy
</
nowiki
></
code
>
| xxx{{PAGENAME:{{foo2}}}}yyy
|-
! 6
!
<
code
><
nowiki
>
[[:{{PAGENAME}}]]
</
nowiki
></
code
>
| [[:{{PAGENAME}}]]
|-
! 7
!
<
code
><
nowiki
>
xxx{{#if:1|:foo|:bar}}yyy
</
nowiki
></
code
>
| xxx{{#if:1|:foo|:bar}}yyy
|-
! 8
!
<
code
><
nowiki
>
\n{| style="background:{{foo}}" \n | Foo \n |}
</
nowiki
></
code
>
|
{| style="background:{{foo}}"
| Foo
|}
|}
</
pre
>
<
h1
>
[[Template:Foo]]
</
h1
>
<
pre
>
#aaa
</
pre
>
<
h1
>
[[Template:Foo2]]
</
h1
>
<
pre
>
*aaa
</
pre
>
<
h1
>
Output with bug529 hack
</
h1
>
<
table
class
=
"wikitable"
>
<
tr
>
<
th
>
1
</
th
><
th
>
<
code
>
{{foo}}
</
code
>
</
th
><
td
>
<
ol
><
li
>
aaa
</
li
></
ol
>
</
td
></
tr
>
<
tr
>
<
th
>
2
</
th
><
th
>
<
code
>
\n{{foo}}
</
code
>
</
th
><
td
>
<
ol
><
li
>
aaa
</
li
></
ol
>
</
td
></
tr
>
<
tr
>
<
th
>
3
</
th
><
th
>
<
code
>
{{PAGENAME:{{foo2}}}}
</
code
>
</
th
><
td
>
<
ul
><
li
>
aaa
</
li
></
ul
>
</
td
></
tr
>
<
tr
>
<
th
>
4
</
th
><
th
>
<
code
>
\n{{PAGENAME:{{foo2}}}}
</
code
>
</
th
><
td
>
<
ul
><
li
>
aaa
</
li
></
ul
>
</
td
></
tr
>
<
tr
>
<
th
>
5
</
th
><
th
>
<
code
>
xxx{{PAGENAME:{{foo2}}}}yyy
</
code
>
</
th
><
td
>
xxx
<
ul
><
li
>
aaayyy
</
li
></
ul
>
</
td
></
tr
>
<
tr
>
<
th
>
6
</
th
><
th
>
<
code
>
[[:{{PAGENAME}}]]
</
code
>
</
th
><
td
>
[[:
<
ul
><
li
>
Page]]
</
li
></
ul
>
</
td
></
tr
>
<
tr
>
<
th
>
7
</
th
><
th
>
<
code
>
xxx{{#if:1|:foo|:bar}}yyy
</
code
>
</
th
><
td
>
xxx
<
dl
><
dd
>
fooyyy
</
dd
></
dl
>
</
td
></
tr
>
<
tr
>
<
th
>
8
</
th
><
th
>
<
code
>
\n{| style=
"
background:{{foo}}
"
\n | Foo \n |}
</
code
>
</
th
><
td
>
<
table
>
<
ol
><
li
>
aaa"
</
li
></
ol
>
<
tr
>
<
td
>
Foo
</
td
></
tr
></
table
>
</
td
></
tr
></
table
>
<
h1
>
Output without bug529 hack
</
h1
>
<
table
class
=
"wikitable"
>
<
tr
>
<
th
>
1
</
th
><
th
>
<
code
>
{{foo}}
</
code
>
</
th
><
td
>
#aaa
</
td
></
tr
>
<
tr
>
<
th
>
2
</
th
><
th
>
<
code
>
\n{{foo}}
</
code
>
</
th
><
td
>
<
ol
><
li
>
aaa
</
li
></
ol
>
</
td
></
tr
>
<
tr
>
<
th
>
3
</
th
><
th
>
<
code
>
{{PAGENAME:{{foo2}}}}
</
code
>
</
th
><
td
>
*aaa
</
td
></
tr
>
<
tr
>
<
th
>
4
</
th
><
th
>
<
code
>
\n{{PAGENAME:{{foo2}}}}
</
code
>
</
th
><
td
>
<
ul
><
li
>
aaa
</
li
></
ul
>
</
td
></
tr
>
<
tr
>
<
th
>
5
</
th
><
th
>
<
code
>
xxx{{PAGENAME:{{foo2}}}}yyy
</
code
>
</
th
><
td
>
xxx*aaayyy
</
td
></
tr
>
<
tr
>
<
th
>
6
</
th
><
th
>
<
code
>
[[:{{PAGENAME}}]]
</
code
>
</
th
><
td
>
<
strong
class
=
"selflink"
>
*Page
</
strong
>
</
td
></
tr
>
<
tr
>
<
th
>
7
</
th
><
th
>
<
code
>
xxx{{#if:1|:foo|:bar}}yyy
</
code
>
</
th
><
td
>
xxx:fooyyy
</
td
></
tr
>
<
tr
>
<
th
>
8
</
th
><
th
>
<
code
>
\n{| style=
"
background:{{foo}}
"
\n | Foo \n |}
</
code
>
</
th
><
td
>
<
table
style
=
"background:#aaa"
>
<
tr
>
<
td
>
Foo
</
td
></
tr
></
table
>
</
td
></
tr
></
table
>
</
body
></
html
>
File Metadata
Details
Attached
Mime Type
text/html
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4222
Default Alt Text
bug12974.html (2 KB)
Attached To
Mode
T14974: The newline added to a template, magic word, variable, or parser function that returns line-start wikicode formatting (*#:; {|) causes unexpected parsing
Attached
Detach File
Event Timeline
Log In to Comment