Code of Conduct

= Page: Code of conduct for technical spaces/Policy =

This is a code of conduct for all participants in Wikimedia technical spaces both physical, such as hackathons and other technical gatherings, and virtual (MediaWiki.org, wikitech.wikimedia.org, Phabricator, Gerrit, technical mailing lists, technical IRC channels, and Etherpad).

Principles
In the interest of fostering an open and welcoming community, we are committed to making participation in Wikimedia technical projects a respectful and harassment-free experience for everyone, regardless of gender, gender identity and expression, sex, sexual orientation, disability, neuro(a)typicality, physical appearance, body size, race, ethnicity, national origin, age, political affiliation, or religion.

Our community strives to:
 * Be friendly and patient.
 * Be welcoming to people of all backgrounds and identities.
 * Be considerate with those affected by decisions and changes.
 * Be aware that English is not everybody's primary language.
 * Be respectful regardless of disagreement.
 * Be kind and careful in the words we choose.
 * Try to understand why we disagree.
 * Focus on being productive, resolving issues and learning from mistakes.

Technical skills and community status make no difference to the right to be respected and the obligation to respect others. Newcomers and other contributors with limited experience in our community deserve a welcoming attitude and constructive feedback. Prolific contributions and technical expertise are not a justification for lower standards of behavior.

Unacceptable behavior
Harassment and other types of inappropriate behavior are unacceptable in all public and private Wikimedia technical spaces. Examples include but are not limited to:


 * Personal attacks, violence, threats of violence, or deliberate intimidation.
 * Offensive, derogatory, or discriminatory comments.
 * Gratuitous or off-topic use of sexual language or imagery.
 * Inappropriate or unwanted attention, touching, or physical contact (sexual or otherwise).
 * Inappropriate or unwanted communication, following, or any form of stalking.
 * Unwanted photography or recording.
 * Disclosure of a person's identity or other private information without their consent.
 * Trolling, for example by sustained disruption, interruption, or blocking of community collaboration.

Project administrators and maintainers have the right and responsibility to edit, revert, reject or hide any comments, commits, code, wiki edits, tasks, and other contributions that violate this code of conduct.

Report a problem
Victims and observers of unacceptable behavior may ask abusers to stop, making them aware of this Code of Conduct. If they are not comfortable doing so, they may contact the administrators of the related technical space or the maintainers of the related project, asking them to handle the problem. If they prefer, they can report the problem directly to the Committee, who will process all reports with confidentiality.

Go to Code of conduct for technical spaces/Reporting to learn about the processes to handle reports, resolutions and appeals.

Attribution and re-use
This Code of Conduct is adapted from the Contributor Covenant (revision 49054013), the jQuery Code of Conduct (revision 91777886), and the Open Code of Conduct (v1.0), along with the WMF Friendly space policy. Text from the Contributor Covenant and the jQuery Code of Conduct is used under the MIT License. The text from the Open Code of Conduct is used under a Creative Commons Attribution license. The overall text is under MediaWiki.org's standard license (CC BY-SA 3.0).

We value each other's contributions and each contributor's commitment to making our technical spaces friendly spaces for everyone. We encourage other projects to adopt and adapt this code of conduct regardless of whether they use Wikimedia technical infrastructure.

Enforcement
The response to a report of a violation of this policy is as follows:


 * 1) After receiving an initial report, the committee (and its members) are empowered to contact any individuals involved (including the alleged offender) to get a more complete account of events.  This may be required to investigate certain cases.  However, before revealing any confidential information from the report, they must get consent from the reporter.
 * 2) For a simple case (e.g. a first offense or a minor violation in a single space), a single committee member can (see below under 'Possible responses' for details):
 * 3) * Defer to the space itself.
 * 4) * Issue a reprimand directly.
 * 5) * Decide not to take action.
 * 6) For a more complicated case (e.g. a repeat offense, a case when a ban looks like it will be required, a cross-space incident, or a case where the committee disagrees with the response by a single member), either the initial responder or the committee can decide to have the committee address it.  The committee 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).
 * 7) 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 delegated.
 * 8) After the initial outcome, the reporter will be notified. The initial outcome must always be logged, even if action is deferred or declined.  Both the notification and logging must be done regardless of whether the initial response is by a single member or the group.
 * 9) After being notified of the outcome, the reporter or alleged offender may raise objections to the resolution. These will be considered by the committee, which may alter the outcome.
 * 10) Appeals and delegations will be handled by the Developer Relations team.

Possible responses by the full committee to a reported breach of the Code of Conduct may include:
 * Taking no further action, if the committee determines no violation occurred.
 * Defer to the space involved (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.
 * 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, copying 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 break (e.g. asking someone to "take a week off" from a technical mailing list or technical IRC channel). The group chair will communicate this imposed break to the individual(s). They'll be asked to take this break voluntarily, but if they don't agree then a temporary ban may be imposed to enforce this break.
 * A temporary or permanent ban from some or all Wikimedia technical spaces. The group will maintain records of all such bans so that they may be reviewed in the future, extended to new Wikimedia technical forums, or otherwise maintained.
 * A request for a public or private apology. The chair will deliver this request.
 * Project maintainers who do not follow the Code of Conduct may be removed from their positions of responsibility, temporarily or permanently.

Only resolutions (such as bans) that last 3 months or longer may be appealed by the reported offender. To appeal a decision of the committee, the reported offender may contact the Developer Relations team at developer-relations@undefinedwikimedia.org and they will review the case. In addition, any member of the community may raise concerns about the committee or a case.

= Page: Code of conduct for technical spaces/Policy/Committee =

The Code of Conduct Committee is a team of five trusted individuals with diverse affiliations responsible for general enforcement of the Code of conduct for Wikimedia technical spaces. Committee members are in charge of processing complaints, discussing with the parties affected, agreeing on resolutions, and following up on their enforcement. At the committee's discretion, it can also delegate complex issues to the Wikimedia Foundation's Developer Relations team, transferring the responsibility of their resolution.

It is required that at all times, at least one member of the committee is neither a WMF staff member nor a WMF contractor.

Confidentiality
Members may not disclose information from their committee work to anyone, except in strict compliance with the procedures given in the Code of Conduct, or when required to comply with a valid government legal process.

Conflict of interest
Members of the committee must not participate in a decision if doing so would place them in a conflict of interest.

Self-nomination of candidates
During nomination periods, any member of the community can nominate themselves; only self-nominations are permitted. The nomination period is one month. During the first two weeks, people can self-nominate and discuss the nominees. During the remainder of the month, only discussion is permitted. Nominees must identify to the Wikimedia Foundation at nomination time. The nomination must also note that the nominee agrees to comply with the full Code of Conduct. Nominees can make an initial statement. During all nomination periods, feedback can be provided publicly, or privately (to the group choosing the next committee), whichever the person giving feedback prefers.

Selection of new members
The initial committee will be selected by the Developer Relations team, after the first nomination period.

11 months after the initial committee is chosen, the second nomination period is opened. The third and later nomination periods open six months after the prior nomination period opened. One month after the beginning of every nomination period (except the first), the committee chooses five new members to replace it. Up to four committee members can be re-elected. There is a majority vote in which at least three committee members must approve of the full replacement committee.

After a new committee is chosen, the committee elects a chair.

Resignation and suspension
Four committee members can remove the remaining member at any time, if that member is unable or unwilling to meet their obligations. Members can resign at any time. In cases of a vacancy, the committee should choose a new member as soon as possible.