Move TemplateData to its own JSON-content namespace and associate with Template-namespace


e.g. Template:Information could be documented at TemplateData:Information instead of inside the source code of Template:Information.


1. More standard use of ContentHandler for JSON across projects
2. Document templates without needing to make edits to templates that are potentially transcluded across large swaths of pages
3. Easier to implement custom editors for ContentHandler pages than for portions of wikitext pages.


1. Would need to have two separate systems - one for the JSON storage, then another to transclude the generated documentation onto template doc pages, e.g. with <templatedata /> or {{#templatedata}} or so (no params needed, because the TemplateData namespace page can be of the same name, like a talk page)
2. Would need to rework the existing editor (sorry, mooeypoo) to work with the new system

Version: master
Severity: enhancement
See Also: T52512: TemplateData: Page properties should not be stored twice (both Template and Template/doc)

bzimport added a project: TemplateData.Via ConduitNov 22 2014, 1:48 AM
bzimport set Reference to bz54140.
MarkTraceur created this task.Via LegacySep 15 2013, 5:36 AM
MarkTraceur added a comment.Via ConduitSep 18 2013, 1:50 PM

I talked about that briefly on IRC, we decided that since this is specifically about the namespace proposal, until we decided what to do about it, we'd leave both open. And closing that bug may not necessarily close this bug.

Jdforrester-WMF added a comment.Via ConduitMay 27 2014, 4:32 PM

Re-wording; this is blocked by being implemented.

Ricordisamoa added a subscriber: Ricordisamoa.Via WebJan 12 2015, 8:32 PM
He7d3r edited the task description. (Show Details)Via WebFeb 22 2015, 10:07 PM
DanielFriesen added a subscriber: DanielFriesen.Via WebMar 6 2015, 6:34 PM
Krinkle changed the title from "TemplateData: Store TemplateData in its own namespace ("Template data:") with a JSON content type and associated to the Template: namespace" to "Move TemplateData to its own JSON-content namespace and associate with Template-namespace".Via WebMay 8 2015, 3:55 AM
Lokal_Profil added a subscriber: Lokal_Profil.Via WebWed, Nov 4, 2:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptVia HeraldWed, Nov 4, 2:10 PM

Add Comment