1. Visit a talk page (e.g., http://localhost:8080/wiki/User:Stephen?debug=true#/talk)
1. Press "add discussion"
1. Enter some text
1. Press "save"
The following warning is printed to the console:
```
Use of the "edit" token is deprecated. Use "csrf" instead. http://localhost:8080/w/resources/src/mediawiki/api.js?8308a
mapLegacyToken @ api.js?8308a:47
getToken @ api.js?8308a:367
postWithToken @ api.js?8308a:315
save @ TalkSectionAddOverlay.js?5f060:160
onSaveClick @ TalkSectionAddOverlay.js?5f060:101
proxy @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1mi7wed:496
dispatch @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1mi7wed:5206
elemData.handle @ load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1mi7wed:5014
```
We should migrate this code so it doesn't break unexpectedly when the old way is no longer supported.
= Acceptance criteria
[] Category, Talk and Edit overlays should make use of the csrf token rather than the edit token