Page MenuHomePhabricator

Add MediaWiki translators to 'authors' property in composer.json
Closed, DeclinedPublic

Description

MediaWiki translators should add to 'authors' property as 'translator' role in composer.json. Because, the translator is one of the important members of mediawiki-core project. Although the page link of the translator list at end of the developer list page, but it is not obvious.

Event Timeline

Why? To do what with? Where would it be displayed?

Why? To do what with? Where would it be displayed?

Used to improve the authors attribute. composer official suggestion.

The authors attribute can be further refined into developer and translator.

Most extensions aren't published on packagist/similar... And many extensions don't list authors in composer.json

These lists could potentially be huge. Not that that is a reason not to do it. We should do it automatically as part of the export process, if we're going to do it... Then the list can be sorted and uniqued

Oh, I just wanted to refine the authorship of mediawiki-core. The code like:

"authors": [
		{
			"name": "MediaWiki Developer Community",
			"homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits",
                        "role": "Developer"
		},
		{
			"name": "MediaWiki Translator Community",
			"homepage": "https://translatewiki.net/wiki/Translating:MediaWiki/Credits",
                        "role": "Translator"
		},
	],

I personally oppose this, because not all of translators are code maintainers. Anyway, shouldn't this have at least consensus?

I personally oppose this, because not all of translators are code maintainers. Anyway, shouldn't this have at least consensus?

It does not matter if the translators are maintainers. In fact, the translator is one of the important members of mediawiki-core project.

Although the page link of the translator list at end of the developer list page, but it is not obvious.

I do note that adding them to the composer.json authors won't do much for visibility

Installing via composer isn't a recommended solution, nor do we parse/show that anywhere either

As you said, this visibility is very low. But refining it is not a bad thing, although composer.json will be longer and complicated. :)

Legoktm subscribed.

We don't maintain authorship information in composer.json. Efforts would be better spent figuring out how to improve the listing of translators on https://www.mediawiki.org/wiki/Special:Version/Credits. We could probably create a script to get information out of the @metadata blocks to create a full listing.

We don't maintain authorship information in composer.json. Efforts would be better spent figuring out how to improve the listing of translators on https://www.mediawiki.org/wiki/Special:Version/Credits. We could probably create a script to get information out of the @metadata blocks to create a full listing.

https://gerrit.wikimedia.org/r/#/c/409642/