Difference between revisions of "User:Fbstj/gadget/history-test.js"
Jump to navigation
Jump to search
m (TRY A FOURTH TIME) |
m (it's not important) |
||
const rem = row.querySelector('.diff-deletedline')
const add = row.querySelector('.diff-addedline')
const msg = rem.innerText
(new mw.Api).postWithToken('csrf', { action: 'tag', revid: mw.config.get('wgRevisionId'), add: 'status-change', message: msg, })
})
|