Last modified: 2007-04-01 16:48:29 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 T11470, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9470 - ExpandTemplates for template substitution
ExpandTemplates for template substitution
Status: RESOLVED DUPLICATE of bug 2777
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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
feature.
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.


Navigation
Links