Commons:User scripts/reports/MediaWiki:UserMessages-dev.js

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

This is the report page for MediaWiki:UserMessages-dev.js. It is bot-maintained. All manual changes might be overwritten.

jshint

[edit]
  1. ISSUE: line 25 character 31: Use '===' to compare with 'false'. - Evidence: if (!window.template_autosave == false) {
  2. ISSUE: line 25 character 5: Confusing use of '!'. - Evidence: if (!window.template_autosave == false) {
  3. ISSUE: line 81 character 22: Use '===' to compare with 'null'. - Evidence: if (media_name == null) return;
  4. ISSUE: line 83 character 22: Use '===' to compare with ''. - Evidence: if (media_name == '' && can_handle_empty_parameter != 1) return;
  5. ISSUE: line 110 character 69: Script URL. - Evidence: mw.util.addPortletLink('p-tb', 'javascript:template_mark(' + i + ',' + cur[3] + ')', cur[1], cur[4], cur[0], null, null);
  6. ISSUE: line 112 character 69: Script URL. - Evidence: mw.util.addPortletLink('p-tb', 'javascript:template_mark(' + i +')', cur[1], cur[3], cur[0], null, null);
  7. ISSUE: line 114 character 8: Unnecessary semicolon. - Evidence: };
  8. ISSUE: line 124 character 48: Missing semicolon. - Evidence: $(document).ready(function() {template_onload()});