Page MenuHomePhabricator

Un-parsed block message shown in MobileFrontend
Closed, DuplicatePublic

Description

Event Timeline

Esanders created this task.Mar 29 2019, 6:30 PM
Restricted Application added subscribers: MGChecker, Aklapper. · View Herald TranscriptMar 29 2019, 6:30 PM

According to Special:Blocklist we don't allow all wikitext, similar to commit messages, basically just links and comments:

{{echo|Template}} [[reason]] ''italics'' '''bold''' you're blocked! /* comment */

The message we show in desktop is parsed with the full wikitext parser, so every except the comment is parsed:

I would like to say the edit summary parser used on Special:Blocklist is the correct one, but given that in the original screenshot users are currently putting templates in the commit messages ({{rangeblock}}) "fixing" this would be an unpopular breaking change, so will probably have to go with full parsing everywhere.

@dbarratt Could we merge the two tickets as there are some useful examples and detail here?