User:Erutuon/scripts/footnoteCleanup.js: Difference between revisions

Content deleted Content added
bleh
oops!!!
Line 19:
var i = 0;
contents = contents.replace(
/<ref[^>]+*>[^<]+<\/ref>/g,
function(tag) {
escaped[i] = tag;
Line 48:
mw.notify(i + " corrections made: " + replacements.join());
/*
contents = contents.replace(
/%%(\d+)%%/g,
Line 61 ⟶ 60:
mw.notify("No misplaced footnotes were found.");
}
*/
textbox.val(contents);