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
Restricted Repository Identity mentioned this in rEPNFbc838dd7d684: build: Updating grunt to 1.3.0.
Restricted Repository Identity mentioned this in rEUPE84e4f174b8cd: build: Updating grunt to 1.3.0.

Change 710402 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/tools/cookiecutter-library@master] Update Code of conduct links to use Special:MyLanguage

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

Change 710402 abandoned by Jforrester:

[mediawiki/tools/cookiecutter-library@master] Update Code of conduct links to use Special:MyLanguage

Reason:

Done in C. Scott's patch.

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