Last modified: 2007-04-01 16:48:29 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 9470 - ExpandTemplates for template substitution
ExpandTemplates for template substitution
Status: RESOLVED DUPLICATE of bug 2777
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-04-01 06:59 UTC by Mets501
Modified: 2007-04-01 16:48 UTC (History)
0 users

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


Description Mets501 2007-04-01 06:59:03 UTC
I think it would be quite simple to be able to add a magic word to some
templates so that when they are substituted they exhibit
[[Special:ExpandTemplates]]-like behavior.

For example, the [[Category:User warning templates|User warning templates]] on
the English Wikipedia all need to be substituted, and when they are substituted
there is a ton of unnecessary residue from optional parameters, parserfunctions,
etc.  Being able to place __EXPANDALL__ or something similar on the template so
that when substituted all of this residue would be gone would be an amazing new
Comment 1 Rob Church 2007-04-01 16:18:28 UTC
(In reply to comment #0)
> I think it would be quite simple

I look forward to reviewing your patch.
Comment 2 Mets501 2007-04-01 16:29:31 UTC
I don't have a patch.
If it's not simple, then I'm sorry.

First you scold me on bug 8799 with "Smart-ass comments like these are not
helpful, nor welcome on this bug tracker." after I didn't make any sort of
offensive comment, and then this.
Comment 3 Rob Church 2007-04-01 16:40:11 UTC

*** This bug has been marked as a duplicate of 2777 ***
Comment 4 Mets501 2007-04-01 16:47:16 UTC
This is not a duplicate of 2777.  2777 calls for a new syntax when substituting
the templates, this calls for a line in the template itself, a very different thing.
Comment 5 Rob Church 2007-04-01 16:48:29 UTC
However, it's for the same basic functionality, and bug 2777 is easier to
implement since it requires less pre-processing of the template chain.

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

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