Special:ExpandTemplates not correctly expanding templates
Closed, ResolvedPublic

Description

Author: nvervelle

Description:
Hi,

I first saw this problem in the API (see http://www.mediawiki.org/wiki/API:Expanding_templates_and_rendering ), but the problem is also present for Special:ExpandTemplates

  • expandtemplates seems to work for only one level of templates (templates inside templates are not expanded)
  • expandtemplates doesn't take into account <includeonly> or <noinclude>

For example, on the French Wikipedia, [http://fr.wikipedia.org/w/api.php?action=expandtemplates&text=%7B%7Be%7D%7D expandtemplates] for [[:fr:Template:e|<nowiki>{{e}}</nowiki>]] gives <nowiki><includeonly>{{exp|e}}</includeonly><noinclude>
{{/Documentation}}
</noinclude></nowiki>


Version: unspecified
Severity: minor
URL: http://fr.wikipedia.org/w/api.php?action=expandtemplates&text=%7B%7Be%7D%7D

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz12737.
bzimport created this task.Via LegacyJan 22 2008, 2:52 PM
Raymond added a comment.Via ConduitJan 22 2008, 2:57 PM

Dupe of bug 12726?

bzimport added a comment.Via ConduitJan 23 2008, 5:55 PM

nvervelle wrote:

At least it is fixed with r30064. Thanks

Add Comment