Page MenuHomePhabricator

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

Details

Reference
bz12737

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:01 PM
bzimport set Reference to bz12737.
bzimport added a subscriber: Unknown Object (MLST).

nvervelle wrote:

At least it is fixed with r30064. Thanks