Commons:User scripts/users namespace/reports/User:Jlorenz1/monobook.js
Jump to navigation
Jump to search
This is the report page for User:Jlorenz1/monobook.js. It is bot-maintained. All manual changes might be overwritten.
jshint
[edit]- ISSUE:
line 6 character 5
: document.write can be a form of eval. - Evidence:document.write('<script type="text/javascript" src="http://commons.wikimedia.org/w/index.php?title=' + s
- ISSUE:
line 22 character 1
: document.write can be a form of eval. - Evidence:document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s"><\/script>');
- ISSUE:
line 177 character 15
: Implied eval. Consider passing a function instead of a string. - Evidence:timerID = setTimeout('showtime()', 100);
- ISSUE:
line 226 character 68
: Use '===' to compare with '0'. - Evidence:if(document.title.indexOf("Editing Commons:Deletion requests") == 0)
- ISSUE:
line 228 character 65
: Script URL. - Evidence:addlilink(tabs, 'javascript:closedel(prompt("Result?"))', 'close deletion request', '');
- ISSUE:
line 253 character 47
: Use '===' to compare with 'null'. - Evidence:if (document.getElementById("wpTextbox1") == null && getParamValue("action") != "delete") {
- ISSUE:
line 265 character 31
: Unexpected escaped character '<' in regular expression. - Evidence:content = content.replace(/([^\[])\[{2}([^\[\]\|\<\>\n]*)([^\[\]\<\>\n]*?)?\]{2}([^\]])/g, '$1<a class="autolink" href="/wiki/$2">[[$2$3]]</a>$4'); // Make wikilink code into links
- ISSUE:
line 265 character 31
: Unexpected escaped character '<' in regular expression. - Evidence:content = content.replace(/([^\[])\[{2}([^\[\]\|\<\>\n]*)([^\[\]\<\>\n]*?)?\]{2}([^\]])/g, '$1<a class="autolink" href="/wiki/$2">[[$2$3]]</a>$4'); // Make wikilink code into links
- ISSUE:
line 266 character 31
: Unexpected escaped character '<' in regular expression. - Evidence:content = content.replace(/([^\{])\{{2}(subst\:|msg\:)?([^\{\}\|\<\>\n]*)([^\{\}\<\>\n]*?)?\}{2}([^\}])/g, '$1<a class="autolink" href="/wiki/Template:$3">{{$2$3$4}}</a>$5'); // Make template code into links
- ISSUE:
line 266 character 31
: Unexpected escaped character '<' in regular expression. - Evidence:content = content.replace(/([^\{])\{{2}(subst\:|msg\:)?([^\{\}\|\<\>\n]*)([^\{\}\<\>\n]*?)?\}{2}([^\}])/g, '$1<a class="autolink" href="/wiki/Template:$3">{{$2$3$4}}</a>$5'); // Make template code into links
- ISSUE:
line 1 character 11
: Missing semicolon. - Evidence:showtime()