Author: mediazilla
Description:
In the following example, the template parameter displays incorrectly in edit preview mode.
The edit preview should show a TABLE followed by a LINK, but instead it shows a TABLE follwed by {{{ followed by a
LINK.
This error shows on my 1.5.5 installation but does NOT happen on the current MediaWiki site (where the templates
are). I don't know whether this was a known bug which has been fixed and MediaWiki uses a newer version than 1.5.5,
or whether this is a regression, or some other reason.
I have a template (shown in the Mediawiki workspace):
[[Template:Dmoz]]
containing
{| align="center"
{{ODPAttribution | cat={{{cat}}}}} |
- | |
[http://dmoz.org/{{{cat}}} http://dmoz.org/{{{cat}}}] | |
} | |
which includes a template:
[[Template:ODPAttribution]]
containing:
<table border="1" bgcolor="#336600" cellpadding="3" cellspacing="0">
<tr>
<td>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr align="center">
<td>Help build the largest human-edited directory on the web.</td>
</tr>
<tr bgcolor="#CCCCCC" align="center">
<td><font face="sans-serif, Arial, Helvetica" size="2">
[http://dmoz.org/cgi-bin/add.cgi?where={{{cat}}} Submit a Site] -
'''[http://dmoz.org/about.html Open Directory Project]''' -
[http://dmoz.org/cgi-bin/apply.cgi?where={{{cat}}} Become an Editor] </font>
</td></tr>
</table>
</td>
</tr>
</table>
Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC