**Project Information **
* Name of tool/project: #mediawiki-extensions-globalwatchlist
* Project home page: https://www.mediawiki.org/wiki/Extension:GlobalWatchlist
* Name of team requesting review: @DannyS712 / WMF Project Grants (extension is being developed as part of [a grant](https://meta.wikimedia.org/wiki/Grants:Project/DannyS712/Create_a_global_watchlist_extension))
* Primary contact: @DannyS712
* Target date for deployment: October 1, 2020
* Link to code repository / patchset: [Extension code on gerrit](https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/GlobalWatchlist/) - patchset: 4c23e46cda4ad1a1d8f3f322aa80b89ada8084be ([on gerrit](https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/GlobalWatchlist/+/4c23e46cda4ad1a1d8f3f322aa80b89ada8084be))
**Description of the tool/project: ** This extension creates a "global" watchlist display at Special:GlobalWatchlist, configurable at Special:GlobalWatchlistSettings and displayed via javascript. The watchlist is retrieved via the [Watchlist API](https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/includes/api/ApiQueryWatchlist.php) and is "global" in the sense that it can interact with multiple sites, but also works with a just a single site
**Description of how the tool will be used at WMF:** To be deployed on Meta as part of the grant
**Dependencies** MediaWiki core (1.35+), as well as CentralAuth and a wiki running WikibaseRepo (both optional, see below)
**Has this project been reviewed before?** No
**Working test environment**
Install MediaWiki core and this extension
Foreign wikis are handled the same as local ones, via `mw.ForeignApi`. To test this functionality, install CentralAuth and add a connected wiki to the list of sites to query
To test the special handling of wikibase wikis, set `wgGlobalWatchlistWikibaseSite` to that site's address and add it to the list of wikis to display (using Special:GlobalWatchlistSettings)
**Post-deployment**
Contact @DannyS712