wikimedia / language-data

Language data and utilities
GNU General Public License v2.0
15 stars 22 forks source link

Make language-data available in MediaWiki core #372

Open winstonsung opened 1 month ago

winstonsung commented 1 month ago

Questions

Should we move this repository to Gerrit/GitLab?

Reason for Gerrit: We would like to bring language-data to MediaWiki core, and it would be hard for integration of Depends-On on different platforms.

Problem: There's no CI injection/dependency feature for libraries in Wikimedia Gerrit.

Reason for GitLab: Contributors aren't required to accept third party privacy policies.

Should composer.json be exported?

Looks like we need composer.json to be exported, should it be removed from .gitattributes export-ignore?

https://gerrit.wikimedia.org/r/c/mediawiki/vendor/+/1056254

Nikki wrote:

The language-data format doesn't support all the data they have (multiple scripts, Wikidata IDs, English names, parent language/families, etc), and requires data that is hard to get (autonyms), I think it would need big changes if it's ever going to be useful for things other than selecting a MediaWiki interface language.

Considerations

Bug: T190129

jdforrester commented 1 month ago

We would like to bring language-data to MediaWiki core, and it would be hard for integration of Depends-On on different platforms.

There's no CI injection/dependency feature for libraries in Wikimedia gerrit. It might conceptually get built, but not for a few years.

OTOH, moving this to Wikimedia GitLab, so contributors aren't required to accept third party privacy policies, would be very easily do-able.

winstonsung commented 1 month ago

There's no CI injection/dependency feature for libraries in Wikimedia gerrit.

Oh. Sounds bad.

jdforrester commented 1 month ago

You didn't respond to my second point, or wait for the owners of this repo to decide before closing. Let's give them the opportunity

winstonsung commented 1 month ago

Given that jquery.i18n is still on GitHub, I think we could keep this repository on GitHub until we consider moving most of them.

winstonsung commented 1 month ago

Looks like we need composer.json to be exported, should it be removed from .gitattributes export-ignore?

https://gerrit.wikimedia.org/r/c/mediawiki/vendor/+/1056254