It appears that the "unqualified-error" field is not rendering wikicode (or HTML). Would it be possible to make sure that this and other fields render wikicode?
Example of how wikicode is rendered from 2015 elections error page:
Varnent | |
May 20 2015, 7:42 AM |
F167144: 2015-05-20_0340.png | |
May 20 2015, 7:42 AM |
It appears that the "unqualified-error" field is not rendering wikicode (or HTML). Would it be possible to make sure that this and other fields render wikicode?
Example of how wikicode is rendered from 2015 elections error page:
Easiest way is to set up an election, put a custom unqualified-error message that uses wikitext in (you can do it through the translation interface) set up a voter list or voter requirements that you (or a sock) don't meet and then attempt to vote.
The problem here is that the custom error from the SecurePoll translation system is converted to a message via parameter replacement (from en.json: "securepoll-custom-unqualified": "$1"). 'unqualified-error' is passed in as that parameter. Wikitext in parameters for status messages is not parsed.
This isn't a problem for the other custom strings from the SecurePoll translation system because they are added to normal page display through the special page's OutputPage.
As in T99920, I'm wondering if this custom error is needed.
Change 228431 had a related patch set uploaded (by Fhocutt):
T99768: Render wikicode in custom error messages, display multiple errors
Change 228431 merged by jenkins-bot:
T99768: Render wikicode in custom error messages, display multiple errors