Difference between revisions of "User:Fbstj/gadget/history-test.js"

Jump to navigation Jump to search
m (ahhhhhhh ok, stupid error messages)
m (fix the reason setting)
const add = row.querySelector('.diff-addedline')
const msg = rem.innerText.trim() +' => '+ add.innerText.trim()
;(new mw.Api).postWithToken('csrf', { action: 'tag', revid: mw.config.get('wgRevisionId'), add: 'status-change', messagereason: msg, })
})
}