User:Quarl/___location canonicalize.js: Difference between revisions

Content deleted Content added
〈"match(/^{{Infobox( |\n)*?\n}}/))" → "match(/^{{Infobox(?: |\n)*?\n}}/i))", -"var changes = []"〉
join ';' instead of ','
Line 39:
if (changes.length) {
editor.wpTextbox1 = result;
editor.wpSummary = '___location canonicalization: ' + changes.join(',; ');
editor.wpMinoredit = true;
editor.submit('wpDiff');