User:Ahecht/Scripts/refresh.js: Difference between revisions

Content deleted Content added
detect target namespace instead of current namespace
continue after post error
Line 38:
console.error(error);
alert("Error performing " + action + ":" + code + "!");
count -= 1;
postDone();
}
function postDone(p) {
mw.notify((count + 1) + " of " + totalCount + " page(s) were updated", { tag: "bubble"+count } );
count += 1;