Wikidata deployment

Enhancements

 * use backend globe coordinate and time formatters
 * now using i18n json format

Deployment notes

 * add sites and site_identifiers tables
 * populate sites table
 * config change

Enhancements

 * Javascript config variables (wbEntity and wbUsedEntities) are now cached in parser cache
 * Reduce use of EntityContent in various places in the code

Bug fixes

 * Fixed wbsearchentities api continue param 62959
 * Fixed issue of Wikibase changes not appearing in client watchlist 62149
 * Fixed inaccurate edit summary (mentioned badges for non-badge edits) in Special:SetSiteLink 62546
 * Special:DispatchStats now displays timestamps adjusted to users' timezone 62428
 * Don't use ULS heuristics in choosing languages for the "other languages / terms" box on item pages, if a user has babel boxes 61446

Deployment notes

 * Rights have been changed, probably requires changes (OAuth) - change is not required immediately and can be done anytime.

Enhancements

 * New Lua interface
 * Moving formatters to backend
 * JS performance improvements
 * Enable data use on Wikisource

needed for wikisource

 * Enable data transclusion for Wikisource on the 25th.

Enhancements

 * quantities!
 * performance improvements
 * “in other languages” box also show up for people who have not configured a babel box 49079

Bug fixes

 * revisions of items that have been RevDeled or suppressed (by oversighters) cannot be viewed 58027
 * claim index out of bounds

needed for test.wikidata

 * purge the parser cache by bumping $wgCacheEpoch
 * make sure wikidata-shortcopyright message is handled properly ✅
 * add new data rights url / text settings
 * update config to load new extension-list-wikidata / old list conditionally

needed for wikidata

 * stop/update cron jobs to use code in new location
 * old client code compatible with new repo code - with cache key varying on $wmfExtendedVersionNumber, should be fine. ✅

Not required for deployment, but should be done soon

 * schema updates - check that they don't depend on deployment... i think they can be done before/after/whatever
 * https://gerrit.wikimedia.org/r/#/c/99637/ - (bug 47135) Make row IDs use BIGINT, db schema change, see repo/sql/MakeRowIDsBig.sql
 * https://gerrit.wikimedia.org/r/#/c/99660/ - (bug 45529) use composite indexes on wb_terms, db schema change, see repo/sql/UpdateTermIndexes.sql

Deployment notes

 * add sites table and populate for wikisource

Changes

 * data type in json / api output
 * table of contents
 * sorting
 * ranks

Other

 * improvements to the link item widget in the client
 * using parser cache now
 * improvements to page loading in backend

Bug fixes

 * diff=0 works - 49434