Page MenuHomePhabricator

Parsoid renders "invisible" SemanticWiki links
Open, MediumPublic

Description

[[SMW::off]] and [[SMW::on]] are rendered as normal links. But if SemanticMediawiki is installed, this tag should not be rendered (at least it's mot by the PHP render), they are internal magic variables.

Event Timeline

Kelson raised the priority of this task from to Needs Triage.
Kelson updated the task description. (Show Details)
Kelson added a project: Parsoid.
Kelson changed Security from none to None.
Kelson added a subscriber: Kelson.

I don't know what Parsoid does or how it relates to MW hooks but for SMW on the PHP side it is expected that the InternalParseBeforeLinks hook is being executed before the output in order to apply an internal parse of raw text (which may include the [[SMW::off]] and [[SMW::on]] annotation as well). We know that the functionality is working as expected by running several MediaWiki integration tests against MW 1.19 - MW 1.25.