Last modified: 2010-05-15 15:33:08 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 T2870, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 870 - Is this a bug? Multilayer templates without all parameters specified
Is this a bug? Multilayer templates without all parameters specified
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
PC Windows XP
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-11-12 15:30 UTC by lɛʁi לערי ריינהארט
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Description lɛʁi לערי ריינהארט 2004-11-12 15:30:08 UTC
Dear friends,

With the examples at
28using_templates.29 it is possible to generate three versions of 
signatures in 10 Wikipedia projects.

However when you invoke the main template [[test:Template:sign]] 
three "|" MUST be used. Please look at the "unexpected examples" at 
the bottom of the section. Thanks!

Regards Reinhardt
Comment 1 Rowan Collins [IMSoP] 2004-11-16 13:20:47 UTC
Right, having ploughed through yet another of your complex sets of examples, I
can see no bug here; or rather nothing very surprising: [[test:Template:Sign]]
uses three variables, called '1', '2', and '3', and you are only supplying one
unnamed parameter, which is assigned the name '1'. The behaviour for missing
parameters, in the version running on [[test:]], is simply to output the text as
though it wasn't valid syntax (as I explained at bug 364#c2) - so "{{{2}}}" is
just output as "{{{2}}}". So your template is behaving as expected.

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