Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use [[CSD:G12]] and [[CSD:G13]] shortcuts

  • Loading branch information...
commit 3fd6ee53ec810437ba4dae1e11981df616b6a440 1 parent aa4b5cc
@Technical-13 Technical-13 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/submissions.js
View
6 src/submissions.js
@@ -476,7 +476,7 @@ function afcHelper_act(action) {
afcHelper_editPage(usertalkpage, usertext, 'Notification: [[WP:G13|G13]] speedy deletion nomination of [[' + afcHelper_PageName + ']]', false);
}
// Log the CSD nomination
- afcHelper_logcsd(afcHelper_PageName,"[[WP:CSD#G13|CSD G13]] ({{tl|db-afc}})",uniqueUsers);
+ afcHelper_logcsd(afcHelper_PageName,"[[CSD:G13]] ({{tl|db-afc}})",uniqueUsers);
} else if (action === 'submit') {
var typeofsubmit = $("input[name=afcHelper_submit]:checked").val();
var customuser = $("#afcHelper_custom_submitter").val();
@@ -886,14 +886,14 @@ function afcHelper_act(action) {
} else {
if (blank_csd) {
if (code === 'cv') {
- // If article is a copyvio add db-g13 to the top
+ // If article is a copyvio add db-g12 to the top
if (extra != "http://" || extra != "") {
pagetext = "\{\{Db-g12|url=" + extra + "\}\}\n" + newtemplate + '\n\{\{afc cleared\}\}';
} else {
pagetext = "\{\{Db-g12\}\}\n" + newtemplate + '\n\{\{afc cleared\}\}';
}
// And for good measure log the CSD nomination
- afcHelper_logcsd(afcHelper_PageName,"[[WP:CSD#G12|CSD G12]] ({{tl|db-copyvio}})",[afcHelper_authorusername]);
+ afcHelper_logcsd(afcHelper_PageName,"[[CSD:G12]] ({{tl|db-copyvio}})",[afcHelper_authorusername]);
} else {
// Just add {{afc cleared|csd}}
pagetext = newtemplate + '\n' + newcomment + '\n\{\{afc cleared|csd\}\}';
Please sign in to comment.
Something went wrong with that request. Please try again.