Last modified: 2009-07-15 19:23:46 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 591 - Allow use of templates and variables in <html> tags
Allow use of templates and variables in <html> tags
Status: RESOLVED DUPLICATE of bug 2257
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-09-28 03:54 UTC by Suisui
Modified: 2009-07-15 19:23 UTC (History)
2 users (show)

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


Description Suisui 2004-09-28 03:54:25 UTC
I make a template on for Quarto's navigation. This might
be needs each version (NL-1, NL-2 to be continue...) and each langage (now 5 or
6 but it will be 140!?) Now it is made each of each as

And, see
I make this one put up good for editors and servers,  ease to make index for new
language, cashed template effcts server responce, and less space on HDD.

and put this
for test.

It looks good but the source, {{{Lang}}} does not rendaring as variable. like

<a href="/wiki/Wikimedia_Quarto/0409/{{{Lang}}}-1">

Is it a bug or spec?
Comment 1 Brion Vibber 2004-09-28 06:53:30 UTC
This is according to current spec; <html> sections are raw HTML.
Comment 2 Brion Vibber 2004-10-10 09:31:13 UTC
Changed to enhancement. Not sure if this would be a good idea or not; from a
security perspective I really don't like it. as it opens more points where
malicious code could be inserted, particularly given the possibility that we
might one day allow raw html on only some pages on a semi-open wiki (bug 261).
Comment 3 Brion Vibber 2008-12-30 02:29:16 UTC
This is currently handled with nasty hacks like this:

...<a href="/wiki/Wikimedia_Quarto/0409/</html>{{{Lang}}}<html>-1">...

Under the circumstances, it probably makes sense to allow some sensible expansion. :P

Deciding how best to handle things like escaping might be worth considering though.
Comment 4 Chad H. 2009-07-15 19:23:46 UTC
Duping up because the other bug has _way_ more comments + patches, etc.

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

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