Commons:User scripts/users namespace/reports/User:Manuelt15/FastButtons/Main.js
Jump to navigation
Jump to search
This is the report page for User:Manuelt15/FastButtons/Main.js. It is bot-maintained. All manual changes might be overwritten.
jshint
[edit]- ISSUE:
line 59 character 35
: 'typeParam' is already defined. - Evidence:if (!typeParam) var typeParam = buttonLabel;
- ISSUE:
line 60 character 37
: 'wikiAction' is already defined. - Evidence:if (!wikiAction) var wikiAction = 'edit';
- ISSUE:
line 73 character 36
: 'wikiAction' is already defined. - Evidence:if (!wikiAction) var wikiAction='edit';
- ISSUE:
line 75 character 14
: Use '!==' to compare with 'null'. - Evidence:if (input!=null) location.href=wikiURL+wikiAction+'&'+buttonType+'='+encodeURI(input);
- ISSUE:
line 104 character 12
: Use '===' to compare with 'false'. - Evidence:if (isSysop==false)
- ISSUE:
line 107 character 12
: Use '!==' to compare with ''. - Evidence:if (tmp!='') FBList = FBList + 'Speedy: ' + tmp + '<br>';
- ISSUE:
line 111 character 12
: Use '===' to compare with 'true'. - Evidence:if (isSysop==true)
- ISSUE:
line 114 character 12
: Use '!==' to compare with ''. - Evidence:if (tmp!='') FBList = FBList + 'Sysop: ' +tmp+'<br>';
- ISSUE:
line 123 character 56
: Use '!==' to compare with ''. - Evidence:if (document.getElementById('contentSub').innerHTML!='') document.getElementById('contentSub').innerHTML += '<br>';
- ISSUE:
line 134 character 23
: 'plantilla' is already defined. - Evidence:var plantilla = decodeURI(location.href.substring(location.href.indexOf("FBplant=")+8));