User:Timtrent/common.js

new mw.Api.postWithToken('csrf', {action:'echomarkread', all:1});