Page MenuHomePhabricator

Allow wiki markup in messages: repoadmin-edit-bug, and repoadmin-edit-view
Closed, DeclinedPublic

Description

Messages
repoadmin-edit-bug
repoadmin-edit-view
contain english names that may be not translated to some languages,
when localized. Thus they need to be properly tagged as English,
else screen readers, search engines, etc. will fail on them.
Trying <span lang="en">ViewVC</span> and <span lang="en">BugZilla</span>,
however, render the html verbatim on screen by incorrectly escaping the <>'s.
This is likely a bug showing up at other places as well.


Version: unspecified
Severity: minor

Details

Reference
bz17579

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:33 PM
bzimport set Reference to bz17579.

Changed summary. <span lang=foo">..</span> is allowed in wiki text and we are not making message to accept raw html.

FWIW: these messages are passed to Xml::buildForm() which uses wfMsgExt and 'parseinline'. Does that not allow for <span>?

Works on my test wiki (on /trunk)