Last modified: 2005-09-05 20:20:55 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 3363 - template arguments lack default values
template arguments lack default values
Status: RESOLVED DUPLICATE of bug 364
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-05 09:34 UTC by Andrius Ramanauskas
Modified: 2005-09-05 20:20 UTC (History)
0 users

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


Attachments

Description Andrius Ramanauskas 2005-09-05 09:34:10 UTC
Adding default values in form {{{arg|val}}} would enhance templates without adding much complexity. This would 
solve several issues and ease use of templates in many situations:

- Adding a new argument to the existing template would not be so painfull (currently you have to add argument to 
every place template is used, but that may be very long process)
- Usage of templates for infoboxes with many optional arguments could be more readable (no need to assign empty 
value for every not used argument - these values would be inlcluded in template definition)

Extending a format this way would be safe enough to include in existing wiki sites as '|' character was never used in 
{{{ parentheses, so nothing will be broken.
Comment 1 Brion Vibber 2005-09-05 20:20:55 UTC

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

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


Navigation
Links