Difference between revisions of "User:Fbstj/gadget/history-test.js"
Jump to navigation
Jump to search
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
|