Commons:User scripts/users namespace/reports/User:Armbrust/hidetopcontrib.js
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]- ISSUE:
line 14 character 15
: The array literal notation [] is preferable. - Evidence:a=new Array();
- ISSUE:
line 21 character 73
: Use '===' to compare with 'undefined'. - Evidence:if(li[i].innerHTML.match(/<abbr +[^>]*class *= *(['"])?newpage\1/i)==undefined) b++;
- ISSUE:
line 22 character 73
: Use '!==' to compare with 'undefined'. - Evidence:if(li[i].innerHTML.match(/class *= *(['"])?mw-revdelundel-link\1/i)!=undefined) b++;
- 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)
- ISSUE:
line 34 character 13
: Use '!==' to compare with 'undefined'. - Evidence:if(a[t]!=undefined)
- ISSUE:
line 39 character 10
: Use '!==' to compare with ''. - Evidence:if(s!="")
- ISSUE:
line 47 character 72
: Script URL. - Evidence:mw.util.addPortletLink('p-cactions', 'javascript:hidetopcontrib()', 'show/hide top', 'ca-hidetop',