Permalink
Browse files

Change redirect edit summary to link to target (fix #43)

  • Loading branch information...
theopolisme committed Jul 12, 2013
1 parent e2de1c7 commit 1b7b1b7a97b270d21eb1656b10da1e1dfd6e9ceb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/afch.js
@@ -361,7 +361,7 @@ if ((wgPageName.indexOf('Wikipedia:Articles_for_creation') !== -1) || (wgPageNam
var redirect = sub.from[j];
if (redirect.action === 'accept') {
var redirecttext = '#REDIRECT \[\[' + redirect.to + '\]\]\n' + redirect.append;;
afcHelper_redirect_editPage(redirect.title, redirecttext, token, 'Created via \[\[WP:AFC|Articles for Creation\]\] (\[\[WP:WPAFC|you can help!\]\])', true);
afcHelper_redirect_editPage(redirect.title, redirecttext, token, 'Redirected page to \[\[' + redirect.to + '\]\] via \[\[WP:AFC|Articles for Creation\]\] (\[\[WP:WPAFC|you can help!\]\])', true);
var talktext = '\{\{subst:WPAFC/redirect\}\}';
var talktitle = 'Talk:' + redirect.title;
afcHelper_redirect_editPage(talktitle, talktext, token, 'Placing WPAFC project banner', true);

0 comments on commit 1b7b1b7

Please sign in to comment.