Commons:User scripts/users namespace/reports/User:Esrever/monobook.js

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

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

jshint[edit]

  1. ISSUE: line 10 character 149: Missing semicolon. - Evidence: document.editform.wpTextbox1.value+='{'+'{flickrreview|Esrever|{{sub'+'st:CURRENTDAY}}-{{sub'+'st:CURRENTMONTHNAME}}-{{sub'+'st:CURRENTYEAR}}}}'
  2. ISSUE: line 23 character 7: document.write can be a form of eval. - Evidence: document.write("<script type='text/javascript'>addOnloadHook(function() {eval('"+functionNameString+"()');})</SCRIPT>");
  3. ISSUE: line 29 character 5: document.write can be a form of eval. - Evidence: document.write('<script type="text/javascript">addOnloadHook(' +
  4. ISSUE: line 38 character 5: document.write can be a form of eval. - Evidence: document.write('<script type="text/javascript">addOnloadHook(' +
  5. ISSUE: line 71 character 24: Use '===' to compare with 'false'. - Evidence: if(window.nfd_autosave == false){}else if(window.nfd_autosave){}else{ nfd_autosave = true; }
  6. ISSUE: line 72 character 24: Use '===' to compare with 'false'. - Evidence: if(window.mnx_autosave == false){}else if(window.mnx_autosave){}else{ mnx_autosave = true; }
  7. ISSUE: line 109 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)
  8. ISSUE: line 140 character 15: 'na' is already defined. - Evidence: var na = document.createElement('a');
  9. ISSUE: line 163 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) {
  10. ISSUE: line 168 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() {
  11. ISSUE: line 172 character 50: Missing semicolon. - Evidence: var el = document.getElementById('filehistory')
  12. ISSUE: line 202 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() {
  13. ISSUE: line 219 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() {
  14. ISSUE: line 227 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) {
  15. ISSUE: line 236 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) {
  16. ISSUE: line 244 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) {
  17. ISSUE: line 252 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() {
  18. ISSUE: line 254 character 49: Script URL. - Evidence: addLink('p-tb', 'javascript:nfd_nomForDel()', nfd_text, 'nom-for-del', nfd_tooltip);
  19. ISSUE: line 268 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) {
  20. ISSUE: line 284 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) {
  21. ISSUE: line 301 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) {
  22. ISSUE: line 307 character 14: 'txt' is already defined. - Evidence: var txt = '{{subst:image source' + (getParamValue('mnx_lang') ? '/' + getParamValue('mnx_lang') : '' ) + '|' + imagetarget + '}}';
  23. ISSUE: line 310 character 48: 'txt' used out of scope. - Evidence: document.editform.wpTextbox1.value += '\n' + txt + '~~' + '~~\n';
  24. ISSUE: line 317 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() {
  25. ISSUE: line 319 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);
  26. ISSUE: line 319 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);
  27. ISSUE: line 320 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);
  28. ISSUE: line 320 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);
  29. ISSUE: line 321 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);
  30. ISSUE: line 321 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);