40,275
edits
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
|