Commons:User scripts/users namespace/reports/User:Manuelt15/FastButtons/Main.js

From Wikimedia Commons, the free media repository
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]

  1. ISSUE: line 59 character 35: 'typeParam' is already defined. - Evidence: if (!typeParam) var typeParam = buttonLabel;
  2. ISSUE: line 60 character 37: 'wikiAction' is already defined. - Evidence: if (!wikiAction) var wikiAction = 'edit';
  3. ISSUE: line 73 character 36: 'wikiAction' is already defined. - Evidence: if (!wikiAction) var wikiAction='edit';
  4. ISSUE: line 75 character 14: Use '!==' to compare with 'null'. - Evidence: if (input!=null) location.href=wikiURL+wikiAction+'&'+buttonType+'='+encodeURI(input);
  5. ISSUE: line 104 character 12: Use '===' to compare with 'false'. - Evidence: if (isSysop==false)
  6. ISSUE: line 107 character 12: Use '!==' to compare with ''. - Evidence: if (tmp!='') FBList = FBList + 'Speedy: ' + tmp + '<br>';
  7. ISSUE: line 111 character 12: Use '===' to compare with 'true'. - Evidence: if (isSysop==true)
  8. ISSUE: line 114 character 12: Use '!==' to compare with ''. - Evidence: if (tmp!='') FBList = FBList + 'Sysop: ' +tmp+'<br>';
  9. ISSUE: line 123 character 56: Use '!==' to compare with ''. - Evidence: if (document.getElementById('contentSub').innerHTML!='') document.getElementById('contentSub').innerHTML += '<br>';
  10. ISSUE: line 134 character 23: 'plantilla' is already defined. - Evidence: var plantilla = decodeURI(location.href.substring(location.href.indexOf("FBplant=")+8));