Commons:User scripts/users namespace/reports/User:Marcus Cyron/sdc tool.js

This is the report page for User:Marcus Cyron/sdc tool.js. It is bot-maintained. All manual changes might be overwritten.

jshint edit

  1. ISSUE: line 39 character 19: Use '===' to compare with ''. - Evidence: if ( html == '' ) html = '<div style="margin:2px;"><i>No results found on Wikidata</i></div>' ;
  2. ISSUE: line 52 character 6: Missing semicolon. - Evidence: }
  3. ISSUE: line 81 character 23: Use '===' to compare with ''. - Evidence: if ( query=='' || query==me.last_query ) return ;
  4. ISSUE: line 127 character 38: Use '===' to compare with '0'. - Evidence: if ( $('a.image').length == 0 ) return ; // No possible thumbnails
  5. ISSUE: line 140 character 77: Use '===' to compare with ''. - Evidence: if ( typeof wgWikibaseItemId == 'undefined' || wgWikibaseItemId == '' ) return ;
  6. ISSUE: line 167 character 53: Missing semicolon. - Evidence: $('#sdc_main').css({bottom:bottom+'px'})
  7. ISSUE: line 179 character 61: Use '===' to compare with '0'. - Evidence: if ( $('input.sdc_checkbox:checked').length == 0 ) {
  8. ISSUE: line 209 character 29: Use '===' to compare with '0'. - Evidence: if ( cbs.length == 0 ) return me.show_action_button(); // All done
  9. ISSUE: line 342 character 59: Missing semicolon. - Evidence: html += "<div style='margin:0.2em;'>Property "
  10. ISSUE: line 433 character 30: Use '===' to compare with '0'. - Evidence: if ( mids.length == 0 ) return ;
  11. ISSUE: line 461 character 33: Use '===' to compare with '0'. - Evidence: if ( to_load.length == 0 ) return ;
  12. ISSUE: line 509 character 29: Use '===' to compare with '0'. - Evidence: if ( out.length == 0 ) {