Page MenuHomePhabricator

Parser function to render a bare wikitext element
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):

Something like {{#element:foo}} that expands to something like <code><nowiki><foo></nowiki></code> when used.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

There are many references to extension description messages to parser extension tags: https://codesearch-beta.wmcloud.org/search/?q=-desc%22%3A.*%3C&files=en%5C.json%24&excludeFiles=&repos=

Some of these use html escaping, some of them use nowiki, some of them use code, some of them use nothing. By having this element tag, we could make them all consistent.

Benefits (why should this be implemented?):

Usage of plain tags like <audio> slows down translation updates, as those changes are put into manual human review. If using this element syntax, these false positives would be avoided.