Skip to content

Commit

Permalink
xfd: Adjust edit summary for "Files for discussion"
Browse files Browse the repository at this point in the history
Requested at WT:TW.
  • Loading branch information
atlight committed Nov 5, 2015
1 parent 98f24d8 commit 681f7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/twinklexfd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ Twinkle.xfd.callbacks = {
text = text.replace(/\{\{(mtc|(copy |move )?to ?commons|move to wikimedia commons|copy to wikimedia commons)[^}]*\}\}/gi, "");

pageobj.setPageText("{{ffd|log=" + params.date + "}}\n" + text);
pageobj.setEditSummary("Nominated for deletion; see [[" + params.logpage + "#" + Morebits.pageNameNorm + "]]." + Twinkle.getPref('summaryAd'));
pageobj.setEditSummary("Listed for discussion at [[" + params.logpage + "#" + Morebits.pageNameNorm + "]]." + Twinkle.getPref('summaryAd'));
switch (Twinkle.getPref('xfdWatchPage')) {
case 'yes':
pageobj.setWatchlist(true);
Expand Down

0 comments on commit 681f7bc

Please sign in to comment.