Content deleted Content added
oops |
test initial content |
||
Line 56:
);
var
if (
{
mw.notify("No misplaced footnotes were found.");
Line 66:
$("#wpSummary").val(function(index, summary)
{
mw.notify(summary);
var addition = "made sure refs are after punctuation with [[User:Erutuon/footnoteCleanup.js|JavaScript]]";
afterSectionName = summary.match(/^\/\*[^\*]+\*\/\s+(.+)/);
if ( afterSectionName && afterSectionName[1].length > 1 )
{
Line 74 ⟶ 77:
}
if ( !
{
return content + addition;
|