Commons:User scripts/reports/MediaWiki:UserMessages-dev.js
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]- ISSUE:
line 25 character 31
: Use '===' to compare with 'false'. - Evidence:if (!window.template_autosave == false) {
- ISSUE:
line 25 character 5
: Confusing use of '!'. - Evidence:if (!window.template_autosave == false) {
- ISSUE:
line 81 character 22
: Use '===' to compare with 'null'. - Evidence:if (media_name == null) return;
- ISSUE:
line 83 character 22
: Use '===' to compare with ''. - Evidence:if (media_name == '' && can_handle_empty_parameter != 1) return;
- 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);
- 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);
- ISSUE:
line 114 character 8
: Unnecessary semicolon. - Evidence:};
- ISSUE:
line 124 character 48
: Missing semicolon. - Evidence:$(document).ready(function() {template_onload()});