Wikidata deployment/guide

Configuration changes
Wikidata configuration is in https://git.wikimedia.org/summary/operations/mediawiki-config.git


 * wmf-config/Wikibase.php
 * wmf-config/InitialiseSettings.php
 * wmf-config/CommonSettings.php

People listed on https://gerrit.wikimedia.org/r/#/admin/groups/21,members can approve changes and deploy them.

Normally aude or hoo handles these, but one can also ask Reedy, Greg G. or sign up for a SWAT deploy (where someone will deploy for you).

There no deploys on Fridays (and weekends) except for emergencies.

Document stuff

 * Ahead of time, document important changes and bug fixes that are in the new branch on Wikidata deployment. This helps keep a record of what changed /when, things to announce to the community, and be on look out for any issues after deployment related to those changes.
 * On Wikidata deployment, important to document any deployment notes (e.g. config changes needed).

To help search for things to document, you can search commit messages via git log, with the --grep option:

Deployment time

 * Make sure all config changes and other todos in the deployment notes section of Wikidata deployment (for the relevant branch) are done.

Update Wikidata submodule

 * How to update extension submodule in MediaWiki core deployment branch: How to deploy code

Checklist

 * make sure all relevant repositories have been branched
 * make sure the branch to be deployed has been tested with the correct branch of core
 * update the relevant submodule pointers on the wmf deployment branch
 * find all mentioned of "DEPLOY" in commit messages of any changes that are new on the branch being deployed, and build a pre/post-deployment checklists from these.