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