Last modified: 2010-05-15 15:33:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4743, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2743 - Template parameters inside HTML tags/attributes stopped working
Template parameters inside HTML tags/attributes stopped working
Status: RESOLVED DUPLICATE of bug 2309
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-07 16:33 UTC by Tels
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tels 2005-07-07 16:33:13 UTC
I have setup some templates that use their parameters in something like:

<pre style="width={{{w}}}em">{{{txt}}}</pre>

With Mediawiki 1.3.x, this worked fine both for "w" and "txt". With 1.4.x,
the first parameter (w) gets replaced by HTML-escaping of the { (aka &#123;
or something) and thus the template breaks because "w" is no longer included.

The resulting source looks like:

<pre style="width=&#123;&#123;&#123;w}}}em">My Text</pre>

which is neither valid HTML nor the Right Thing[tm].

I would like to get the behaviour of 1.3.x back because my wiki relies on it
in a great number of templates; for instance a percentage bar that you can
call like:

 {{percentage|n=35}}

Note: Bug #591 might be about the same case.

Thanx,

Tels
Comment 1 Tels 2005-07-07 16:39:22 UTC
Uhm, of course I just read that bug 2309 probably fixed exactly my problem. I
did not include fixed bugs in my search. *sigh*

Sorry!
Comment 2 Zigger 2005-07-07 21:21:12 UTC

*** This bug has been marked as a duplicate of 2309 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links