Content deleted Content added
Waldyrious (talk | contribs) even milder |
Waldyrious (talk | contribs) m expand summary, check minor edit if non-vertical |
||
Line 34:
// Update the edit summary
var sum = document.editform.wpSummary;
var summary = vertical ? "
summary += "(using [[User:Waldir/formatcitations.js|Regex citation formatter]])";
if (sum.value.indexOf(summary) == -1) {
if (sum.value.match(/[^\*\/\s][^\/\s]?\s*$/)) {
Line 41 ⟶ 42:
sum.value += summary;
}
if(!vertical) document.editform.wpMinoredit.checked = true;
}
|