There is a list of (some) problematic messages that slow down localisation updates because they need manual review each time translation is added or updated: https://etherpad.wikimedia.org/p/i18n-check
The goal of this task is to reduce the number of such messages by ~10.
There are multiple options how to avoid false positives and the best action is determined case by case basis:
- Remove HTML from the message. E.g. <span class="foo">bar</span> should be just bar and the wrapping HTML should be produced by the code
- Make the HTML-lookalike content a variable, e.g. There is unbalanced <translate> tag can be changed to There is unbalanced $1 tag and <translate> is a message parameter.
- Make the HTML-lookalike characters use a different symbol, e.g. < Go back can be ใ Go back.
- Add the HTML-lookalike tag to the checker allow list. E.g. <pagelist> should always be safe. See T222216: Improve i18n CI checker for an example.
Message Items
- Social profile
- Wikimedia Messages
- MediaWiki core
- Collection
- DonationInterface
- Math
- PrivateDomains
- ProofreadPage
- TemlateData
- Wikimedia portals
- HeaderScript
- Timeline
- Flow
- Babel
- Translate
- CirrusSearch
- map-of-monuments
- PGFTikZ
- WikiEditor
- mediawiki/extensions/Collection
- CiteDrawer
- LinkAttributes
- UserStatus