==== Error ====
You need to have mediawiki.org as one of the sites in your global watchlist. Since nothing has changed in the global watchlist code in weeks, I believe that this indicates something has changed with the API
```name=message
An API error occurred while interacting with "www.mediawiki.org":
⧼badtoken⧽
```
```name=trace,lines=10
Debug.js:62 Error: GlobalWatchlistError: www.mediawiki.org:API.actuallyGetWatchlist #1 badtoken
at Debug.js.GlobalWatchlistDebugger.error (Debug.js:56:18)
at SiteBase.js.GlobalWatchlistSiteBase.error (SiteBase.js:84:19)
at eval (SiteBase.js:107:9)
at mightThrow (jquery.js:3489:29)
at process (jquery.js:3557:12)
```
==== Impact ====
Changes cannot be fetched for mediawiki.org
==== Notes ====
Thanksfully global watchlist has some client-side JS logging. `mw.globalwatchlist.debug.debugLog.filter( ( m ) => m.includes( 'mediawiki.org:' ) )` shows for me:
```
"7: www.mediawiki.org:API.actuallyGetWatchlist #1 (called), with func & content: ["get",{"action":"query","formatversion":2,"list":"watchlist","wllimit":"max","wlprop":"ids|title|flags|loginfo|parsedcomment|timestamp|user|tags|expiry","wlshow":"unread","wltype":"edit|new|log","wlallrev":true}]"
"92: ERROR: www.mediawiki.org:API.actuallyGetWatchlist #1 badtoken {"error":{"code":"badtoken","info":"⧼badtoken⧽","docref":"See https://www.mediawiki.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."},"servedby":"mw-api-ext.codfw.main-586d55f64d-hn5l5"}"
"93: www.mediawiki.org:getWatchlist - error"
```
The same problem happens with test.wikipedia.org.
See also [[https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/NX2RSNOYCMOYFPLHL7WUFMA2LDED4UVM/|wikitech-l]].