Page MenuHomePhabricator

Wrap indicators in mw-parser-output class
Closed, ResolvedPublic

Event Timeline

Deskana added a subscriber: Deskana.

This is not an immediate priority for the initial deployment of TemplateStyles.

This comment was removed by Izno.

As a note, this can be worked around wiki-side by including an element that has the class as part of the indicator e.g.

<indicator>
  <span class="mw-parser-output">
    <templatestyles src=foo/>
    <span class="some-class">stuff</span>
  </span>
</indicator>

will output the styles into the indicator as expected. Clearly a workaround but it works ~.

Change 749284 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/core@master] WIP: Wrap all indicators with mw-parser-output

https://gerrit.wikimedia.org/r/749284

Change 770666 had a related patch set uploaded (by C. Scott Ananian; author: TheDJ):

[mediawiki/core@master] parse: Wrap indicators with a div.mw-parser-output element

https://gerrit.wikimedia.org/r/770666

Change 770666 merged by jenkins-bot:

[mediawiki/core@master] parse: Wrap indicators with a div.mw-parser-output element

https://gerrit.wikimedia.org/r/770666

Change 749284 abandoned by Bartosz Dziewoński:

[mediawiki/core@master] parse: Wrap indicators with a div.mw-parser-output element

Reason:

Superseded by https://gerrit.wikimedia.org/r/c/mediawiki/core/+/770666

https://gerrit.wikimedia.org/r/749284

matmarex assigned this task to cscott.