Since the introduction of mw.user in I708006fd6733cac89128bc76a1cd34c0d091c371
Calling:
mw.user.tokens.get( 'editToken' )
Returns an edit token.
We should probably now be able to reduce or kill our getToken code..
Version: unspecified
Severity: enhancement