Page MenuHomePhabricator

Support all the paired tags whitelisted by Sanitizer.php in jQueryMsg
Closed, ResolvedPublic

Description

These are basically $htmlpairsStatic and the tags that are in $htmlsingle but not $htmlsingleonly ( $htmlpairsStatic + $htmlsingle - $htmlsingleonly).

This will allow using all of the paired HTML tags that can be used in normal wikitext (and thus can be used in parsed messages).

There is an in-progress patch for this at https://gerrit.wikimedia.org/r/#/c/85153/ . However, it needs to be amended, and the suggestion is to export this tag list to JavaScript.


Version: 1.24rc
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:25 AM
bzimport set Reference to bz64740.
bzimport added a subscriber: Unknown Object (MLST).

Change 85153 had a related patch set uploaded by Mattflaschen:
jqueryMsg: Allow the same paired tags allowed by Sanitizer.php

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

Change 85153 had a related patch set uploaded (by Anomie):
Export allowed tags from Sanitizer to mediawiki.jqueryMsg

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

Change 85153 merged by jenkins-bot:
Export allowed tags from Sanitizer to mediawiki.jqueryMsg

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

matmarex assigned this task to Anomie.
matmarex removed a project: Patch-For-Review.
matmarex removed subscribers: gerritbot, Unknown Object (MLST).