Permalink
Browse files

speedy: fix edit summary for history merge tagging

  • Loading branch information...
atlight committed Jun 4, 2011
1 parent a2cdabc commit d9899f2dece3a0df6d6b0e38d8cb106b99003709
Showing with 6 additions and 0 deletions.
  1. +6 −0 modules/twinklespeedy.js
View
@@ -996,6 +996,12 @@ Twinkle.speedy.callbacks = {
editsummary = editsummary.substr(0, editsummary.length - 2); // remove trailing comma
editsummary += ').';
break;
case 'g6':
if (params.value === 'histmerge') {
editsummary = "Requesting history merge with [[" + parameters["1"] + "]] ([[WP:CSD#G6|CSD G6]]).";
break;
}
// fall through
default:
editsummary = "Requesting speedy deletion ([[WP:CSD#" + params.normalized.toUpperCase() + "|CSD " + params.normalized.toUpperCase() + "]]).";
break;

0 comments on commit d9899f2

Please sign in to comment.