Page MenuHomePhabricator

CODE_OF_CONDUCT.md should link to the mediawiki.org page in user's preferred language
Closed, ResolvedPublic

Description

The process of adding CODE_OF_CONDUCT.md was very opinionated in terms of how it was added to the Wikimedia repositories, as well as many other details like whether markdown should be used, which repositories should have the file, filename itself, etc.
See T165540: Add CODE_OF_CONDUCT.md to Wikimedia repositories for much more.

The content of markdown files added to the Wikimedia repositories is following:

The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Code_of_Conduct).

The link to the mediawiki.org page should be https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct, so that a page is shown in user's preferred language.
Due to the sheer amount of repositories that have CoC file now, we need to agree how this should be changed/pushed/reviewed, not to end up in the same situation like in T165540.

The question of mediawiki.org links in user's preferred language is deeper than CoC files and some efforts are made for API links in T104518, but that is the topic for another ticket.

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 467095 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[pywikibot/core@master] CODE_OF_CONDUCT.md should link to the mediawiki.org page in user's preferred language

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

In Pywikibot we think translation of the CoC page can be outdated and also we believe the user sometimes doesn't want to read it in the language we think. So better to link to the original page and let the user choose the language from the box above the page, not force him to the language he maybe doesn't want.

Change 467095 abandoned by Zoranzoki21:
CODE_OF_CONDUCT.md should link to the mediawiki.org page in user's preferred language

Reason:
Per comment of Dvorapa

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

In Pywikibot we think translation of the CoC page can be outdated and also we believe the user sometimes doesn't want to read it in the language we think. So better to link to the original page and let the user choose the language from the box above the page, not force him to the language he maybe doesn't want.

It's not "the language we think". It's currently solely based on logged in users' interface language. Outdated sections in translations are surface to the readers.

Change 487614 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[mediawiki/extensions/RandomArea@master] Added CODE_OF_CONDUCT.md and removed README

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

Change 487614 merged by jenkins-bot:
[mediawiki/extensions/RandomArea@master] Added CODE_OF_CONDUCT.md and removed README

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