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

m
try this
m (try this)
m (try this)
link.href = row.querySelector('.mw-changeslist-title').href
;(new mw.Api).get({ action: 'query', prop: 'revisions', pageids: link.href, rvprop: 'ids', }).then(function (resp) {
console.log('page', link.href, 'history:', resp.query.pages[0])
})
row.firstChild.replaceWith('(', link, ' | ')
40,275

edits