Page MenuHomePhabricator

Internationalization for wm-license-cc-by-3.0-za-text and wm-license-cc-by-sa-3.0-za-text are missing
Closed, ResolvedPublic

Description

Currently {{int:wm-license-cc-by-3.0-za-text}} and {{int:wm-license-cc-by-sa-3.0-za-text}} default to "<wm-license-cc-by-3.0-za-text>" and "<wm-license-cc-by-sa-3.0-za-text>", unlike, for example {{int:wm-license-cc-by-3.0-de-text}}. The names of these two licenses can be found at creativecommons.org, specifically: Attribution 3.0 South Africa and Attribution-ShareAlike 3.0 South Africa.

As an example, see Template:Cc-by-sa-3.0-za on Commons.

Event Timeline

RP88 raised the priority of this task from to Needs Triage.
RP88 updated the task description. (Show Details)
RP88 subscribed.

Could you provide links and steps to reproduce to where the problem could be seen, please?

https://commons.wikimedia.org/wiki/MediaWiki:Wm-license-cc-by-3.0-de-text exists.
While https://commons.wikimedia.org/wiki/MediaWiki:Wm-license-cc-by-3.0-za-text does not exist.

Is that a MediaWiki software problem at all (and hence a Phabricator task), or does this just require updating content on Commons pages (and hence no Phabricator task)?

{{int:message name}} is a parser magic word that internationalizes the given interface message into the user language. All messages used in MediaWiki are defined in a messages file. While translations can be done at translatewiki.net, an initial English message and its documentation must be done in the source code (or at least, that is how I understand it).

OK, I found these defined at :
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikimediaMessages.git/044927dfd40df48193814391d0bfffad84360380/i18n%2Fcclicensetexts%2Fen.json

Note that "wm-license-cc-by-3.0-de-text" is in that file, but "wm-license-cc-by-3.0-za-text" and "wm-license-cc-by-sa-3.0-za-text" are not.

Change 571498 had a related patch set uploaded (by Pikne; owner: Pikne):
[mediawiki/extensions/WikimediaMessages@master] Add missing CC license texts (3.0 za)

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

Change 571498 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMessages@master] Add missing CC license texts (3.0 za)

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