Permalink
Browse files

warn: fix double colon problem

All the {{uw-...}} templates now seem to include [[:{{{1}}}]] (or at least the ones I looked at did.) So we don't need to add it ourselves.
  • Loading branch information...
atlight committed Aug 5, 2011
1 parent 5c158be commit 8453e5dc1911dca788af9d9932642aeb30e38425
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/twinklewarn.js
View
@@ -1583,7 +1583,7 @@ Twinkle.warn.callback.evaluate = function twinklewarnCallbackEvaluate(e) {
reason: e.target.reason.value,
main_group: e.target.main_group.value,
sub_group: e.target.sub_group.value,
article: e.target.article.value.replace( /^(Image|Category):/i, ':$1:' ),
article: e.target.article.value, // .replace( /^(Image|Category):/i, ':$1:' ), -- apparently no longer needed...
block_timer: e.target.block_timer ? e.target.block_timer.value : null
};

0 comments on commit 8453e5d

Please sign in to comment.