Commons:User scripts/users namespace/reports/User:BMacZero/AjaxCfdClose.js

This is the report page for User:BMacZero/AjaxCfdClose.js. It is bot-maintained. All manual changes might be overwritten.

jshint edit

  1. ISSUE: line 25 character 27: Use '===' to compare with 'undefined'. - Evidence: if (jQuery.ui == undefined) {
  2. ISSUE: line 30 character 85: Script URL. - Evidence: mw.util.addPortletLink('p-tb', 'javascript:AjaxCfdClose.closeCfd();', this.i18n.toolboxLinkCloseCfd, 't-ajaxcfdclose', null);
  3. ISSUE: line 70 character 17: ['prependtext'] is better written in dot notation. - Evidence: edit['prependtext'] = "{{cfdh}}\n";
  4. ISSUE: line 71 character 17: ['appendtext'] is better written in dot notation. - Evidence: edit['appendtext'] = "\n----\n" + AjaxCfdClose.reason + " ~~" + "~~\n{{cfdf}}";
  5. ISSUE: line 134 character 66: Use '!==' to compare with 'false'. - Evidence: if (event.keyCode == '13' && v.enterToSubmit != false) submitButton.click();