Page MenuHomePhabricator

Move Wikimedia-specific i18n messages to WikimediaCustomizations extension
Open, Stalled, Needs TriagePublic

Description

Per T401939: Create a Wikimedia* extension for site customizations we want to collect Wikimedia-specific code in a single place, and as part of that, we want to transfer i18n messages from WikimediaMessages and certain messages from WikimediaEvents (there are currently no plans to migrate instrumentation) to the newly created WikimediaCustomizations extension. What would be the least disruptive way to do this?

Presumably we'd keep the existing message keys, create separate i18n subfolders for at least WikimediaMessages (WikimediaEvents has 20 or so messages so might not be worth it); do we need to do something special with regards to Translatewiki?

Event Timeline

A_smart_kitten subscribed.

(swapping tags, IIUC this tag might be more fitting here as there might be work needed on the translatewiki side of things)

As shown in T412073: Remove dependency of WikimediaMessages from SearchVue, files in https://phabricator.wikimedia.org/diffusion/EWME/browse/master/i18n/wikimediaprojectnames/ contains localized names for Wikimedia projects in different languages. This is potentially useful for 3rd party wikis (if they are using somthing from Wikidata), for example showing "article in XX Wikipedia". Probably we need to find a better place for such information.

Alternative we can have a more systematic way to generate such information. Though special Wikimedia projects still needs such a message.

for example showing "article in XX Wikipedia".

They cannot be used in a sentence context due to localization issues. Also similar labels are available in Wikidata itself, e.g. https://www.wikidata.org/wiki/Q328

WikimediaEvents has 20 or so messages so might not be worth it

It sounds a bit confusing to move things from an existing wikimedia-specific extension, that're already specific to that extension, to a new extension? What's the benefit here?

Does this mean you want to move all messages from WikimediaMessages and WikimediaEvents? I don't really understand why, either. It would make sense to do it for any messages that will be used by WikimediaCustomizations code, but otherwise, they seem fine in their current places.

matmarex changed the task status from Open to Stalled.Mar 4 2026, 8:23 PM