Difference between revisions of "User:Fbstj/gadget/history-test.js"
Jump to navigation
Jump to search
m (try this now) |
m (try this now) |
||
const page_name = mw.config.get('wgPageName')
if (!page_name.startsWith('Coppermind:
const api = new mw.Api()
const edit = document.querySelector('textarea')
lhnamespace: "6", // File: namespace only
}).then(function(resp) {
console.log(resp.query.pages['-1'].linkshere.map(o => o.title))
})
|