אונטערשייד צווישן ווערסיעס פון "מעדיעוויקי:Gadget-Checkty.js"

קיין ענדערונג אין גרייס ,  פֿאַר 2 יאָר
קומט ביים צולייגן צו ערעי
(להפיס דעתו של תנא קמא...)
(קומט ביים צולייגן צו ערעי)
שורה 561: שורה 561:
  if (/\\{\\{/.test(this.regexes[i][0]) && this.regexes[i][0].test(t)) {
  if (/\\{\\{/.test(this.regexes[i][0]) && this.regexes[i][0].test(t)) {
  t = t.replace(this.regexes[i][0], this.regexes[i][1]);
  t = t.replace(this.regexes[i][0], this.regexes[i][1]);
  actual_replaced.push($.trim(this.regexes[i][1].replace(/\$\d*/g, '')));
  actual_replaced.push($.trim(this.regexes[i][1].replace(/\$\d*/g, '').replace(/^\[\[/, '')));
  actual_replaced_details.push(i + ': ' + $.trim(this.regexes[i][1].replace(/\$\d*/g, '')));
  actual_replaced_details.push(i + ': ' + $.trim(this.regexes[i][1].replace(/\$\d*/g, '')));
  }
  }
שורה 607: שורה 607:
  this.writeMsg($('<div></div>').append(msg), 'info');
  this.writeMsg($('<div></div>').append(msg), 'info');


  if (actual_replaced.length) chectTyTool.addSummary(mw.msg('checkty-replace-summary', actual_replaced.replace(/^\[\[/, '').join(', ')));
  if (actual_replaced.length) chectTyTool.addSummary(mw.msg('checkty-replace-summary', actual_replaced.join(', ')));
},
},
fetchDisambigLinks: function (next) {
fetchDisambigLinks: function (next) {