Page MenuHomePhabricator

Adjust meta tags handling for annotations
Closed, ResolvedPublic

Description

Context
To support the <translate> extension in Parsoid (T261181), we're introducing annotations, which are represented in the rendered HTML as <meta> tags with an Annotation type (<meta typeof="mw:Annotation/translate">, for instance).

Issue
Meta tags can currently be moved outside of the text content, which is an assumption that would not hold for annotation meta items. Additionally, they are not visible for editors; displaying them explicitly would make it easier to not accidentally delete them.

VE adjustments

  • Update the handling of Annotation meta tags to handle them similarly to <noinclude> - see 595052
  • Update the UX so that Annotation meta tags are visible (probably in the same way as <noinclude> tags as well).

Note
This task is a prerequisite for T261181 and will be handled that context.

Related Objects

StatusSubtypeAssignedTask
OpenReleaseNone
OpenNone
OpenNone
OpenNone
OpenFeatureNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedEsanders
OpenFeatureNone
Resolvedihurbain
Resolvedihurbain
Resolvedihurbain
Resolvedihurbain