Page MenuHomePhabricator

TemplateData: Add property to indicate in which namespaces a template should be used
Closed, DuplicatePublic

Description

Author: prlpz

Description:
I suggest including in TemplateData a field about the namespaces where the template is intended to be used. VisualEditor should use this field to suggest the template only in the right namespaces.

For example, nowadays VisualEditor suggest using template documentation templates while editing articles, but such templates should only be used in template namespace. TemplateData could make VisualEditor know that those templates shouldn't be suggested there.

Details

Reference
bz58656