Last modified: 2011-04-14 15:10:23 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 T24064, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22064 - New template facilities to iterate on argument list
New template facilities to iterate on argument list
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-09 09:24 UTC by Liangent
Modified: 2011-04-14 15:10 UTC (History)
1 user (show)

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


Attachments

Description Liangent 2010-01-09 09:24:10 UTC
Example:
----
[[Template:A]]
{{eacharg|value=val|#{{{val}}}#}}
----
[[Template:B]]
{{eachkwarg|prefix={{{1}}}|key={{{k}}}|value={{{v}}}|({{{k}}},{{{v}}})}}
----
Page:
{{A|a|b|c|d}}
{{B|X|Xa=1|Xb=2|Yc=3}}
----
Render as:
#a##b##c##d#
(a,1)(b,2)
Comment 1 Chad H. 2010-01-09 13:42:30 UTC
Sounds like best handled by http://www.mediawiki.org/wiki/Extension:Loops or Lua. As I pointed out in bug 18199, we're not looking to expand the core parser or ParserFunctions to include *more* programmatic-like features. Suggest WONTFIX.

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


Navigation
Links