Page MenuHomePhabricator

Support meta tags if $wgAllowMicrodataAttributes is set to true
Open, MediumPublic

Description

When $wgAllowMicrodataAttributes is set to true, <meta /> tags are allowed in wikitext. However, Visual Editor doesn't support them (they're rendered as plain text in Visual Editor).

We use meta tags to add structured content through templates, and it renders badly with Visual Editor.

See for example this page: https://www.wikidex.net/wiki/P19

Trying to edit it with Visual Editor make <meta /> tags visible (apparently it doesn't cause any harm when saving)

imagen.png (628×979 px, 171 KB)

Event Timeline

Vvjjkkii renamed this task from Support meta tags if $wgAllowMicrodataAttributes is set to true to r1caaaaaaa.Jul 1 2018, 1:10 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from r1caaaaaaa to Support meta tags if $wgAllowMicrodataAttributes is set to true.Jul 2 2018, 4:14 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
LGoto triaged this task as Medium priority.Mar 27 2020, 4:28 PM
LGoto moved this task from Backlog to Non-Wikimedia Parsoid usecases on the Parsoid board.