Last modified: 2011-03-13 18:06:26 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 T3160, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1160 - Default template parameters do not appear to work anymore.
Default template parameters do not appear to work anymore.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.4.x
PC All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-23 05:57 UTC by Cool Hand Luke
Modified: 2011-03-13 18:06 UTC (History)
0 users

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


Attachments

Description Cool Hand Luke 2004-12-23 05:57:56 UTC
According to m:Template, inserting a template parameter in three braces will
pull up a default value of whatever template is contained in the center two
braces. I used this to some effect in [[Abu Ghraib prisoner abuse]]. This
feature no longer appears to work. Instead, parameters show as plain text.
Comment 1 SJ 2005-05-13 05:58:44 UTC
Please clarify...
Comment 2 Rowan Collins [IMSoP] 2005-06-09 19:32:53 UTC
This was a case of exploiting a bug rather than using a deliberate feature:
undefined parameters were at one stage [mis]interpretted as nested templates, so
that a template containing "{{{1}}}" called with no unnamed arguments would
instead interpret this as "{{Template:1}}" (Or possibly
"{"+"{{Template:1}}"+"}", I forget). Some people took advantage of this as a
method of creating "default parameters", but this was only ever a hack: to use
it properly, every template parameter would have to have a globally unique name,
such as "{{{common name of plant species}}}" rather than the much more natural
"{{{common name}}}".

I'm marking this bug as WONTFIX because it's asking for a previous bug to be
reintroduced just so it can be used in what is anyway a non-ideal hack.
Meanwhile, bug 364 is a request for / discussion about a "proper" way of doing
default template parameters.

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


Navigation
Links