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

m
fix message
m (try this)
m (fix message)
// don't change the page if there's nothing to change
if (new_files.length == 0) { mw.notify('no new files link to '+ page_name); return; }
mw.notify(new_files.countlength +' new files link to '+ page_name);
if (edit.value.includes('</gallery>')) {
// add the lines to the end of the current gallery