Page MenuHomePhabricator

VisualEditor template dialog does not load TemplateData from other namespaces
Closed, ResolvedPublic

Description

When you create templates with TemplateData outside of the template namespace (e.g User: / MediaWiki:) the template data will not be retrieved and in the template dialog it seems that the template does not have any TemplateData.

Note that this is different from the MediaWiki-extensions-TemplateWizard. There it does not seem to matter in what namespace the template is located. TemplateData will be retrieved and used if present.

Event Timeline

Change 725031 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/VisualEditor@master] Pages outside of Template: namespace can have TemplateData

https://gerrit.wikimedia.org/r/725031

WMDE-Fisch renamed this task from TemplateData is not seen in the visual editor for templates that are located in userspace to VisualEditor template dialog does not load TemplateData from other namespaces.Sep 30 2021, 4:10 PM
WMDE-Fisch updated the task description. (Show Details)

Change 725031 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Pages outside of Template: namespace can have TemplateData

https://gerrit.wikimedia.org/r/725031

matmarex assigned this task to thiemowmde.