630
edits
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
const resultDiv = document.getElementById(\"result\"); \ | const resultDiv = document.getElementById(\"result\"); \ | ||
const api = new mw.Api(); \ | const api = new mw.Api(); \ | ||
let date = $(\'#date input\').value; \ | let date = $(\'#date input[type=hidden]\').value; \ | ||
api.get({ \ | api.get({ \ | ||
action: \'expandtemplates\', \ | action: \'expandtemplates\', \ |