Commons:User scripts/users namespace/reports/User:Smallman12q/cal.js

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

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

jshint[edit]

  1. ISSUE: line 246 character 20: Use '===' to compare with 'null'. - Evidence: if (result == null) {
  2. ISSUE: line 260 character 47: ['timestamp'] is better written in dot notation. - Evidence: timestamp = pages[id].revisions[0]['timestamp'];
  3. ISSUE: line 460 character 14: Don't make functions within a loop. - Evidence: });
  4. ISSUE: line 466 character 18: Don't make functions within a loop. - Evidence: });
  5. ISSUE: line 471 character 18: Don't make functions within a loop. - Evidence: });
  6. ISSUE: line 476 character 18: Don't make functions within a loop. - Evidence: });
  7. ISSUE: line 482 character 78: 'add' used out of scope. - Evidence: if (list[i] != wgTitle && this.searchmode) li.append(' ').append(add);
  8. ISSUE: line 483 character 84: 'move' used out of scope. - Evidence: else if (list[i] != wgTitle && !this.searchmode) li.append(' ').append(move).append(' ').append(copy);
  9. ISSUE: line 483 character 109: 'copy' used out of scope. - Evidence: else if (list[i] != wgTitle && !this.searchmode) li.append(' ').append(move).append(' ').append(copy);