Commons:User scripts/users namespace/reports/User:Mike.lifeguard/Gadget-autodel.js

This is the report page for User:Mike.lifeguard/Gadget-autodel.js. It is bot-maintained. All manual changes might be overwritten.

jshint edit

  1. ISSUE: line 6 character 118: Use '===' to compare with 'true'. - Evidence: if ("Contributions Whatlinkshere Log Prefixindex Newpages".indexOf(wgCanonicalSpecialPageName) != -1 || (wgIsArticle == true && (wgAction == "submit" || wgAction == "view" || wgAction == "purge")))
  2. ISSUE: line 8 character 62: Script URL. - Evidence: mw.util.addPortletLink('p-cactions', 'javascript:deleteLinkify()', 'AutoDelete', 'ca-dellink', 'generate deletion links');
  3. ISSUE: line 16 character 35: Use '===' to compare with '0'. - Evidence: var arp2 = (arp.indexOf('//') == 0) ? document.location.protocol + arp : null; // Protocol relative wgServer?
  4. ISSUE: line 18 character 36: Use '===' to compare with '0'. - Evidence: if (this.href.indexOf(arp) == 0 || arp2 && this.href.indexOf(arp2) == 0) {
  5. ISSUE: line 18 character 76: Use '===' to compare with '0'. - Evidence: if (this.href.indexOf(arp) == 0 || arp2 && this.href.indexOf(arp2) == 0) {
  6. ISSUE: line 28 character 144: Missing semicolon. - Evidence: var sub = (document.getElementById('wpConfirmB')) ? document.getElementById('wpConfirmB') : document.getElementById('mw-filedelete-submit')
  7. ISSUE: line 29 character 144: Use '===' to compare with '0'. - Evidence: if (document.getElementById('ca-talk').className.indexOf('new') == -1 && queryString('deletetalkalso') == 'true' && (wgNamespaceNumber % 2 == 0)) {
  8. ISSUE: line 34 character 3: Missing semicolon. - Evidence: })
  9. ISSUE: line 39 character 3: Missing semicolon. - Evidence: })
  10. ISSUE: line 44 character 45: Expected a conditional expression and instead saw an assignment. - Evidence: if (matches = re.exec(document.location)) {