Page MenuHomePhabricator

Clean up validation exclusion on translatewiki.net
Closed, ResolvedPublic1 Estimated Story Points

Description

While going through some config files for TWN, I noticed that there are many messages that are excluded from various validators – many more than there should be. Many messages are excluded from PLURAL or GENDER validation. When GENDER support, especially, was added to MediaWiki, a lot of translators would complain that their language didn't have gender differences, and so they shouldn't have to use {{GENDER:}} in certain messages at all. With time, however, the convention has developed that even in languages that don't need that distinction, we still translate things as {{GENDER:$1|something}} with only one parameter that is used for any gender.

A lot of messages were added to validation exclusion in the start, but I don't think that's necessary any more. Removing them from those lists would simplify maintenance overhead a bit.

Event Timeline

Change #1195726 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/CentralAuth@master] Use GENDER explicitly in one message

https://gerrit.wikimedia.org/r/1195726

Change #1195741 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/Babel@master] Use GENDER explicitly in messages

https://gerrit.wikimedia.org/r/1195741

Change #1195714 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[translatewiki@master] Remove validation exclusion for PLURAL/GENDER in MW messages

https://gerrit.wikimedia.org/r/1195714

Change #1195726 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Use GENDER explicitly in one message

https://gerrit.wikimedia.org/r/1195726

Change #1195741 merged by jenkins-bot:

[mediawiki/extensions/Babel@master] Use GENDER explicitly in messages

https://gerrit.wikimedia.org/r/1195741

Change #1195714 merged by jenkins-bot:

[translatewiki@master] Remove validation exclusion for PLURAL/GENDER in MW messages

https://gerrit.wikimedia.org/r/1195714

Nikerabbit changed the task status from Open to In Progress.Oct 23 2025, 11:06 AM
Nikerabbit moved this task from Backlog to In Progress on the LPL Essential (2025 Jul-Oct) board.
Nikerabbit set the point value for this task to 1.

@jhsoby are you planning to do more cleanup, or is this all for this task?

No, I think that's it for now, I haven't identified any other obvious candidates for improvement in this area.

Not sure if this was deployed already, assuming so.

Not sure if this was deployed already, assuming so.

They have been deployed.