Page MenuHomePhabricator

Add TemplateData means to mark template as "meta" or "internal" to discourage their direct use (e.g. in VisualEditor)
Closed, DuplicatePublic


I don't know if this is a feature already, but i don't find it right know, so i go the lazy way and ask.

Some pages in the template namescape are not supposed to be transcluded directly on articles (e.g., they are parts of another templates, documentation subpages). There should be some kind of magic word that when is present on a page, the template selector on Visual Editor don't show them.

See also

Event Timeline

TheDJ created this task.May 1 2015, 11:35 AM
TheDJ raised the priority of this task from to Needs Triage.
TheDJ updated the task description. (Show Details)
TheDJ added a subscriber: TheDJ.
Restricted Application added a project: VisualEditor. · View Herald TranscriptMay 1 2015, 11:35 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Ltrlg added a subscriber: Ltrlg.May 1 2015, 4:22 PM

A set of categories will do better than a magic word. In de.wp, documentation templates are in the category Kategorie:Vorlage:nur Dokumentation.

nshahquinn-wmf triaged this task as Low priority.May 12 2015, 10:04 PM
nshahquinn-wmf set Security to None.
He7d3r updated the task description. (Show Details)May 13 2015, 12:38 PM
Elitre added a comment.EditedMay 22 2015, 5:17 PM

I think this is a duplicate of T54448. Or T58516.

See for a screenshot that shows (with red dots) a list of pages in the Template: namespace that shouldn't be transcluded (directly; some are meta templates). It would be nice if these could be filtered out of the search results somehow.

Restricted Application added a subscriber: Luke081515. · View Herald TranscriptJul 3 2015, 2:30 AM
Wostr added a subscriber: Wostr.Aug 31 2016, 10:11 PM
Krinkle renamed this task from TemplateData could mark meta templates, so they can be filtered out from autosuggest to Add TemplateData means to mark template as "meta" or "internal" to discourage their direct use (e.g. in VisualEditor).Jul 14 2018, 10:56 PM