User:Waldyrious/formatcitations.js: Difference between revisions

Content deleted Content added
allow citation templates with more than one word after "cite" (e.g. {{cite press release}})
m rephrase
Line 49:
// Update the edit summary
var sum = document.editform.wpSummary;
var summary = vertical ? "Convert citation templates to vertical format, for readability" : "StandardizeHarmonize whitespace in citation templates" ;
summary += " (using [[User:Waldir/formatcitations.js|Regex citation formatter]])";
if (sum.value.indexOf(summary) == -1) {