Page MenuHomePhabricator

Move TemplateData into core
Open, Needs TriagePublic

Description

Basic idea is:

  1. add a core hook for looking up TranclusionData (including from a parser function or magic word)
  2. Move TD specification to docs/TransclusionData.md
  3. Add an MCR content type, TransclusionData extends Json
  4. Currently Extension:TemplateData will be the provider of TransclusionData using its existing mechanism, but eventually we would be able to fetch/store it in an MCR slot.
  5. Probably ship transclusion data for core parser functions etc (T55414)

This plan is sketched out in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/TemplateData/+/921583/1/includes/Hooks.php and mentioned in the comments to https://gerrit.wikimedia.org/r/c/mediawiki/extensions/TemplateData/+/819740.