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

Content deleted Content added
better notification
unnecessary
Line 82:
if ( count > 0 ) {
mw.notify(count + " correction" + ( ( count > 1 && "s" ) || "" ) + " made: " + replacements.join());
} else {
mw.notify("No corrections made.");
}
Line 99 ⟶ 97:
if ( isUnchanged )
{
mw.notify("No misplaced footnotes or tagging templates were found.");
}
Line 105 ⟶ 103:
$("#wpSummary").val(function(index, summary)
{
mw.notify(summary);
var addition = "made sure refs are after punctuation with [[User:Erutuon/footnoteCleanup.js|JavaScript]]";