Commons:User scripts/users namespace/reports/User:Train2104/vector.js

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

jshint edit

  1. ISSUE: line 10 character 15: The array literal notation [] is preferable. - Evidence: a=new Array();
  2. ISSUE: line 17 character 65: Use '===' to compare with 'undefined'. - Evidence: if(li[i].innerHTML.match(/<abbr +[^>]*class *= *"newpage"/)==undefined) b++;
  3. ISSUE: line 18 character 65: Use '!==' to compare with 'undefined'. - Evidence: if(li[i].innerHTML.match(/class *= *"mw-revdelundel-link"/)!=undefined) b++;
  4. ISSUE: line 25 character 90: Use '!==' to compare with 'undefined'. - Evidence: if(li[i].getElementsByTagName("strong").length>0||li[i].innerHTML.match(/mw\-uctop/)!=undefined)
  5. ISSUE: line 30 character 13: Use '!==' to compare with 'undefined'. - Evidence: if(a[t]!=undefined)
  6. ISSUE: line 35 character 10: Use '!==' to compare with ''. - Evidence: if(s!="")
  7. ISSUE: line 43 character 64: Script URL. - Evidence: mw.util.addPortletLink('p-cactions', 'javascript:hidetopcontrib()', 'show/hide top', 'ca-hidetop',