Commons:User scripts/users namespace/reports/User:Filnik/monobook.js
Jump to navigation
Jump to search
This is the report page for User:Filnik/monobook.js. It is bot-maintained. All manual changes might be overwritten.
jshint
[edit]- ISSUE:
line 44 character 1
: document.write can be a form of eval. - Evidence:document.write('<script type="text/javascript" src="'
- ISSUE:
line 65 character 21
: Missing semicolon. - Evidence:popupAdminLinks=true
- ISSUE:
line 68 character 1
: document.write can be a form of eval. - Evidence:document.write('<script type="text/javascript" src="'
- ISSUE:
line 73 character 1
: document.write can be a form of eval. - Evidence:document.write('<script type="text/javascript" src="'
- ISSUE:
line 74 character 88
: Bad operand. - Evidence:+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/diff.js' <!--wikEdSpaceLine-->
- ISSUE:
line 78 character 1
: document.write can be a form of eval. - Evidence:document.write('<script type="text/javascript" src="'
- ISSUE:
line 79 character 90
: Bad operand. - Evidence:+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/editor.js' <!--wikEdSpaceLine-->
- ISSUE:
line 98 character 24
: Use '===' to compare with 'false'. - Evidence:if(window.nfd_autosave == false){}else if(window.nfd_autosave){}else{ nfd_autosave = true; }
- ISSUE:
line 99 character 24
: Use '===' to compare with 'false'. - Evidence:if(window.mnx_autosave == false){}else if(window.mnx_autosave){}else{ mnx_autosave = true; }
- ISSUE:
line 136 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function addLink(where, url1, name1, id, title, key, after, url2, name2)
- ISSUE:
line 167 character 15
: 'na' is already defined. - Evidence:var na = document.createElement('a');
- ISSUE:
line 190 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function openWindow(url) {
- ISSUE:
line 195 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function getUploader() {
- ISSUE:
line 199 character 50
: Missing semicolon. - Evidence:var el = document.getElementById('filehistory')
- ISSUE:
line 229 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function nfd_nomForDel() {
- ISSUE:
line 246 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function nfd_addDeleteTemplate() {
- ISSUE:
line 254 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function nfd_addIdwTemplate(target) {
- ISSUE:
line 263 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function nfd_updateDelReq(target, reason) {
- ISSUE:
line 271 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function nfd_updateDelReq2(target) {
- ISSUE:
line 279 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function nfd_onload() {
- ISSUE:
line 281 character 49
: Script URL. - Evidence:addLink('p-tb', 'javascript:nfd_nomForDel()', nfd_text, 'nom-for-del', nfd_tooltip);
- ISSUE:
line 295 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function mnx_mark(imagepage_fakeaction, usertalk_fakeaction, message_lang) {
- ISSUE:
line 311 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function mnx_addTemplate(template, sorl) {
- ISSUE:
line 328 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function mnx_addUserWarningTemplate(imagetarget, template_type) {
- ISSUE:
line 334 character 14
: 'txt' is already defined. - Evidence:var txt = '{{subst:image source' + (getParamValue('mnx_lang') ? '/' + getParamValue('mnx_lang') : '' ) + '|' + imagetarget + '}}';
- ISSUE:
line 337 character 48
: 'txt' used out of scope. - Evidence:document.editform.wpTextbox1.value += '\n' + txt + '~~' + '~~\n';
- ISSUE:
line 344 character 1
: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence:function mnx_onload() {
- ISSUE:
line 346 character 77
: Script URL. - Evidence:addLink('p-tb', 'javascript:mnx_mark(\'mns_mns\', \'mnx_warn\', \'en\')', mns_text, 'mark-no-source', mns_tooltip, null, null, 'javascript:mnx_mark(\'mns_mns\', \'mnx_warn\', prompt(\'' + mnx_langquery + '\', wgUserLanguage))', mnx_lang);
- ISSUE:
line 346 character 190
: Script URL. - Evidence:addLink('p-tb', 'javascript:mnx_mark(\'mns_mns\', \'mnx_warn\', \'en\')', mns_text, 'mark-no-source', mns_tooltip, null, null, 'javascript:mnx_mark(\'mns_mns\', \'mnx_warn\', prompt(\'' + mnx_langquery + '\', wgUserLanguage))', mnx_lang);
- ISSUE:
line 347 character 77
: Script URL. - Evidence:addLink('p-tb', 'javascript:mnx_mark(\'mnp_mnp\', \'mnx_warn\', \'en\')', mnp_text, 'mark-no-permission', mnp_tooltip, null, null, 'javascript:mnx_mark(\'mnp_mnp\', \'mnx_warn\', prompt(\'' + mnx_langquery + '\', wgUserLanguage))', mnx_lang);
- ISSUE:
line 347 character 194
: Script URL. - Evidence:addLink('p-tb', 'javascript:mnx_mark(\'mnp_mnp\', \'mnx_warn\', \'en\')', mnp_text, 'mark-no-permission', mnp_tooltip, null, null, 'javascript:mnx_mark(\'mnp_mnp\', \'mnx_warn\', prompt(\'' + mnx_langquery + '\', wgUserLanguage))', mnx_lang);
- ISSUE:
line 348 character 77
: Script URL. - Evidence:addLink('p-tb', 'javascript:mnx_mark(\'mnl_mnl\', \'mnx_warn\', \'en\')', mnl_text, 'mark-no-license', mnl_tooltip, null, null, 'javascript:mnx_mark(\'mnl_mnl\', \'mnx_warn\', prompt(\'' + mnx_langquery + '\', wgUserLanguage))', mnx_lang);
- ISSUE:
line 348 character 191
: Script URL. - Evidence:addLink('p-tb', 'javascript:mnx_mark(\'mnl_mnl\', \'mnx_warn\', \'en\')', mnl_text, 'mark-no-license', mnl_tooltip, null, null, 'javascript:mnx_mark(\'mnl_mnl\', \'mnx_warn\', prompt(\'' + mnx_langquery + '\', wgUserLanguage))', mnx_lang);