Commons:User scripts/users namespace/reports/User:Armbrust/hidetopcontrib.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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

jshint[edit]

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