Why
- find double escaped messages more quickly
What
- add a special language code called ?uselang=x-double-escape or similar, that changes every message to <test>key-name</test>. then the user can look for <test>key-name</test> to indicate a key that needs fixing.
Notes
- I got the idea when reviewing https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/1168241, which fixes a double escape that was happening due to a lack of ->text()
- this would be similar to T340201: Use custom language code to find i18n XSS issues
- we could bundle this into the existing $wgUseXssLanguage setting instead of making a new setting
