Commons:User scripts/users namespace/reports/User:LeaW~commonswiki/monobook.js

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

This is the report page for User:LeaW~commonswiki/monobook.js. It is bot-maintained. All manual changes might be overwritten.

jshint[edit]

  1. ISSUE: line 77 character 2: Missing semicolon. - Evidence: }
  2. ISSUE: line 92 character 19: 'e' is already defined. - Evidence: if (!e) var e = window.event;
  3. ISSUE: line 93 character 72: 'targ' is already defined. - Evidence: if (e.target) var targ = e.target; else if (e.srcElement) var targ = e.srcElement;
  4. ISSUE: line 94 character 28: 'targ' used out of scope. - Evidence: inProgress = getPgName(targ);
  5. ISSUE: line 97 character 19: 'targ' used out of scope. - Evidence: var action = (targ.innerHTML == 'x') ? 'u' : 'w';
  6. ISSUE: line 110 character 21: Missing semicolon. - Evidence: state = true
  7. ISSUE: line 112 character 22: Missing semicolon. - Evidence: state = false
  8. ISSUE: line 117 character 40: Missing semicolon. - Evidence: name2 = name.substring(idx + 1)
  9. ISSUE: line 121 character 16: Use '===' to compare with '0'. - Evidence: if (ns == 0) name2 = name; // guess : was a part of the page name
  10. ISSUE: line 53 character 17: Weird construction. Is 'new' necessary? - Evidence: var wlUnwatch = new function(){
  11. ISSUE: line 135 character 1: Missing '()' invoking a constructor. - Evidence: }//obj
  12. ISSUE: line 135 character 2: Missing semicolon. - Evidence: }//obj
  13. ISSUE: line 138 character 42: Missing semicolon. - Evidence: else addOnloadHook (wlUnwatch.onLoad)
  14. ISSUE: line 217 character 27: The array literal notation [] is preferable. - Evidence: var qeSections = new Array();
  15. ISSUE: line 278 character 64: Expected a conditional expression and instead saw an assignment. - Evidence: if (match = /[?&]action=([a-z]+)/.exec(window.location.href))
  16. ISSUE: line 342 character 23: The array literal notation [] is preferable. - Evidence: var ret = new Array();
  17. ISSUE: line 373 character 32: The array literal notation [] is preferable. - Evidence: qeSections[0] = new Array();
  18. ISSUE: line 375 character 41: Use '===' to compare with '0'. - Evidence: var nosections = (sections.length == 0);
  19. ISSUE: line 378 character 19: Use '!==' to compare with 'null'. - Evidence: while (node != null && node.className != 'editsection'
  20. ISSUE: line 394 character 52: Script URL. - Evidence: newlink.href = 'javascript:qeEditSection(0)';
  21. ISSUE: line 416 character 48: Expected a conditional expression and instead saw an assignment. - Evidence: if (match = /section=([0-9]+)/.exec(link))
  22. ISSUE: line 417 character 22: 'section' is already defined. - Evidence: var section = +match[1];
  23. ISSUE: line 425 character 50: Script URL. - Evidence: newnode.href = 'javascript:qeEditSection(' + section + ')';
  24. ISSUE: line 445 character 38: The array literal notation [] is preferable. - Evidence: qeSections[section] = new Array();
  25. ISSUE: line 447 character 16: 'node' is already defined. - Evidence: var node = hx.nextSibling;
  26. ISSUE: line 448 character 19: Use '!==' to compare with 'null'. - Evidence: while (node != null && node.className != 'editsection'
  27. ISSUE: line 569 character 53: Script URL. - Evidence: a.href = 'javascript:qeSwitch(0)';
  28. ISSUE: line 585 character 50: Script URL. - Evidence: li2.firstChild.href = 'javascript:qeSwitch(1)';
  29. ISSUE: line 598 character 53: Script URL. - Evidence: li2a.firstChild.href = 'javascript:qeSwitch(2)';
  30. ISSUE: line 606 character 53: Script URL. - Evidence: li4.firstChild.href = 'javascript:qeSubmit(0)';
  31. ISSUE: line 615 character 53: Script URL. - Evidence: li5.firstChild.href = 'javascript:qeSubmit(1)';
  32. ISSUE: line 622 character 55: Script URL. - Evidence: li6.firstChild.href = 'javascript:qeAbortEdit()';
  33. ISSUE: line 641 character 13: 'a' is already defined. - Evidence: var a = document.createElement('a');
  34. ISSUE: line 654 character 57: Script URL. - Evidence: li7.firstChild.href = 'javascript:qePreferences()';
  35. ISSUE: line 781 character 4: 'newnode' used out of scope. - Evidence: newnode = document.createElement('div');
  36. ISSUE: line 782 character 4: 'newnode' used out of scope. - Evidence: newnode.style.paddingTop= '5px';
  37. ISSUE: line 783 character 4: 'newnode' used out of scope. - Evidence: newnode.style.borderTop = '1px dotted #aaa';
  38. ISSUE: line 792 character 12: 'img' is already defined. - Evidence: var img = document.createElement('img');
  39. ISSUE: line 800 character 12: 'img' is already defined. - Evidence: var img = img.cloneNode(false);
  40. ISSUE: line 809 character 12: 'img' is already defined. - Evidence: var img = img.cloneNode(false);
  41. ISSUE: line 817 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(span);
  42. ISSUE: line 821 character 45: Script URL. - Evidence: c.href = 'javascript:qeSubmit(0)';
  43. ISSUE: line 825 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(c);
  44. ISSUE: line 828 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(document.createTextNode(' '));
  45. ISSUE: line 831 character 49: Script URL. - Evidence: c.href = 'javascript:qeSubmit(1)';
  46. ISSUE: line 836 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(c);
  47. ISSUE: line 839 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(document.createTextNode(' '));
  48. ISSUE: line 848 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(c);
  49. ISSUE: line 851 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(document.createTextNode(' '));
  50. ISSUE: line 901 character 4: 'newnode' used out of scope. - Evidence: newnode.appendChild(checkboxes);
  51. ISSUE: line 901 character 4: Too many errors. (50% scanned). - Evidence: undefined