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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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