Last modified: 2009-03-17 04:29:18 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 2357 - Parser function to provide loop functionality
Parser function to provide loop functionality
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 6794 (view as bug list)
Depends on:
Blocks: 2376
  Show dependency treegraph
 
Reported: 2005-06-08 20:43 UTC by Marius
Modified: 2009-03-17 04:29 UTC (History)
1 user (show)

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


Attachments

Description Marius 2005-06-08 20:43:25 UTC
I would like to produce templates with lists. E.g. I want to create a page that
lists the courses that professors teach. Professor A might have 3 courses,
professor B might have 5. It would be easy to have a template that accepts a
random number of variables instead of a set number.
For example, the template could look like the following:
processall x*: '''x*'''
a template call such as {{name|x1=IT101|x2=IT114|x3=SLA442|...|xn=??????}}
should print out all the variables in bold.
Comment 1 Minh Nguyễn 2006-03-06 00:43:16 UTC
You might be interested in [[m:Template:Foreach]].
Comment 2 Rob Church 2006-12-27 10:14:09 UTC
*** Bug 6794 has been marked as a duplicate of this bug. ***

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


Navigation
Links