Code of Conduct

As contributors to and maintainers of Wikimedia technical projects, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation on- and off-wiki, writing tools and libraries, submitting pull requests or patches, and other activities. We also pledge to communicate about MediaWiki/Wikimedia technology in public where possible. All written non-security-related discussion about changes to MediaWiki core and extensions and skins which are deployed to Wikimedia sites or included in the MediaWiki tarball releases must be public.

We are committed to making participation in Wikimedia technical projects a respectful experience for everyone, free of harassment, regardless of level of experience, gender, gender identity and expression, sex, sexual orientation, disability, personal appearance, body size, race, ethnicity, national origin, age, political affiliation, or religion.

Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment (whether online or in person), insults, or other unprofessional conduct.

"Harassment" includes but is not limited to the following behaviors:
 * Inappropriate or unwanted communication, including but not limited to on-wiki messages, private or public IRC messages, email, texts, and chats.
 * Sustained disruption of discussion, talks or work, for example by personal attacks, constant interruption, or consistent and unwarranted rejection of patches.
 * Offensive, derogatory, or discriminatory comments regarding any of a person's characteristics listed above.
 * Violence, threats of violence, deliberate intimidation, and personal attacks.
 * Sexual imagery or language in public technical spaces (online or off).
 * Inappropriate or unwanted attention, touching, or physical contact (sexual or otherwise).
 * Unwanted photography, recording or following, and any form of stalking.
 * Deliberate “outing” and/or doxxing of any person’s identity without their consent.

Project administrators and maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.

A committee of three to five trusted individuals, ideally consisting both of WMF staff and volunteers and with one representative from the Engineering Community Team, will be responsible for general enforcement of this Code of Conduct. In the interests of transparency, the response to a report of a violation of this policy is as follows:


 * 1) For a simple case (e.g. first offense, minor harassment in a single space), a single committee member could:
 * Defer to the space itself (e.g. MediaWiki.org admins in the case of an incident on MediaWiki.org, or event organizers for a hackathon), if they seem best-equipped to handle it.
 * Issue a public or private warning directly.
 * Decide to take no action (logging why and notifying the reporter)
 * 1) For a more complicated case (e.g. repeat offense, when a ban looks like like it will be required, or where there is cross-space harassment), the initial responder could ask other members of the group for feedback, and can also bring in people from the spaces involved (e.g. if it happens on both MediaWiki.org and IRC, bring in involved admins and IRC contacts).
 * 2) In case of even more complicated or urgent matters, or if the group is unable to reach a decision (e.g. the minority in the group objects to the decision), it can be escalated.
 * 3) After the initial outcome (which must always be logged, even if action is deferred or declined), the reporter will be notified.
 * 4) The reporter always will be notified of the initial outcome, and may raise objections to the resolution. These will be considered but may not be acted on.
 * 5) If public action is taken on the basis of the CoC (whether by the group or by local maintainers of the space), the reported offender also has the right to appeal.
 * 6) Appeals, objections, and escalations will be handled by the Engineering Community Team.

Possible responses to a breach of the Code of Conduct may include:
 * Taking no further action (if the committee determines no violation occurred).
 * A private reprimand from the committee to the individual(s) involved. In this case, the group chair will deliver that reprimand to the individual(s) over email, cc'ing the group.
 * A public reprimand. In this case, the group chair will deliver that reprimand in the same venue that the violation occurred (e.g. in IRC for an IRC violation; email for an email violation). The group may choose to publish this message elsewhere for posterity.
 * An imposed vacation (e.g. asking someone to "take a week off" from a mailing list or IRC). The group chair will communicate this "vacation" to the individual(s). They'll be asked to take this vacation voluntarily, but if they don't agree then a temporary ban may be imposed to enforce this vacation.
 * A permanent or temporary ban from some or all Wikimedia technical spaces (including mailing lists and IRC). The group will maintain records of all such bans so that they may be reviewed in the future, extended to new Wikimedia fora, or otherwise maintained.
 * A request for a public or private apology. The chair will deliver this request. The group may, if it chooses, attach "strings" to this request: for example, the group may ask a violator to apologize in order to retain their membership on a mailing list or their Phabricator privileges.
 * Project maintainers who do not follow the Code of Conduct may be removed from their positions of responsibility temporarily or permanently.

Only permanent resolutions (such as bans) may be appealed. To appeal a decision of the committee or if you have concerns about how it was resolved, contact the Engineering Community Team at ect@wikimedia.org and they will review the case.

This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Project spaces include the physical (hackathons and other technical gatherings) and virtual (mediawiki.org, Phabricator, Gerrit, technical mailing lists, technical IRC channels, and Etherpad).

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting one or more of the project maintainers or designated contacts. If you are comfortable doing so, you can contact the individual and ask them to stop: describe the problems with their behavior, make them aware of this policy, and recommend to them what to do instead. If you observe or are otherwise made aware of violations of this policy, we ask that you report it to the Code of Conduct Committee for Wikimedia technical spaces by emailing techconduct@wikimedia.org. All reports will be kept confidential. In some cases we may determine that a public statement will need to be made. If that is the case, the identities of all victims and reporters will remain confidential unless those individuals instruct us otherwise.

If you believe anyone is in physical danger, please notify appropriate law enforcement first and email emergency@wikimedia.org. If you are unsure what law enforcement agency is appropriate, please include this in your report and we will attempt to notify them.

In your report please include:
 * Your contact information (so we can get in touch with you if we need to follow up).
 * Names (legal names, nicknames, or pseudonyms) of any individuals involved. If there were other witnesses besides you, please try to include them as well.
 * When and where the incident occurred. Please be as specific as possible.
 * Your account of what occurred. If there is a publicly available record (e.g. a mailing list archive or a public IRC logger) please include a link. Screenshots or diffs can be useful in case something is edited or deleted before action is taken.
 * Any extra context you believe existed for the incident.
 * If you believe this incident is ongoing.
 * Any other information you believe we should have.

Reports will receive urgent and immediate attention from the Code of Conduct Committee.

We value each other's contributions and each contributor's commitment to making our technical spaces friendly spaces for everyone. We encourage related projects to adopt this policy regardless of whether they use Wikimedia technical infrastructure, with modifications to the reporting structure and policies as needed.

This Code of Conduct is adapted from the Contributor Covenant, imported from https://github.com/CoralineAda/contributor_covenant/blob/490540137a39fa746a1708a2188015b12b17249b/CODE_OF_CONDUCT.md and the jQuery Code of Conduct, imported from https://github.com/jquery/jquery.org/commit/9177788605c1846c14326ed0074f1bafac480dbd. Text from the Contributor Covenant and the jQuery Code of Conduct is used under the MIT License. The overall text is under MediaWiki.org's standard license.