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

m
oops
m (try this)
m (oops)
const edit_box = document.querySelector('.editButtons');
// check that there is an edit box
if (!edit_box || mw.config.get('wgCanonicalNamespace') !== 'Cite') return -1;
 
// check that it's a page creation