Commons:User scripts/users namespace/reports/User:OsamaK/Quick-delete.js
Jump to navigation
Jump to search
This is the report page for User:OsamaK/Quick-delete.js. It is bot-maintained. All manual changes might be overwritten.
jshint
[edit]- ISSUE:
line 10 character 24
: Use '===' to compare with 'false'. - Evidence:if(window.nfd_autosave == false){}else if(window.nfd_autosave){}else{ nfd_autosave = true; }
- ISSUE:
line 11 character 24
: Use '===' to compare with 'false'. - Evidence:if(window.mnx_autosave == false){}else if(window.mnx_autosave){}else{ mnx_autosave = true; }
- ISSUE:
line 43 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 74 character 15
: 'na' is already defined. - Evidence:var na = document.createElement('a');
- ISSUE:
line 97 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 102 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 106 character 50
: Missing semicolon. - Evidence:var el = document.getElementById('filehistory')
- 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 nfd_nomForDel() {
- ISSUE:
line 153 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 161 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 170 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 178 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 186 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 188 character 49
: Script URL. - Evidence:addLink('p-tb', 'javascript:nfd_nomForDel()', nfd_text, 'nom-for-del', nfd_tooltip);
- 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 mnx_mark(imagepage_fakeaction, usertalk_fakeaction, message_lang) {
- ISSUE:
line 218 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 235 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 239 character 38
: Use '===' to compare with ''. - Evidence:if(document.editform.wpTextbox1.value=="")
- ISSUE:
line 241 character 13
: Expected '}' to match '{' from line 241 and instead saw '{'. - Evidence:txt = {{subst:welcome}};
- ISSUE:
line 241 character 14
: Missing semicolon. - Evidence:txt = {{subst:welcome}};
- ISSUE:
line 241 character 20
: Label 'subst' on welcome statement. - Evidence:txt = {{subst:welcome}};
- ISSUE:
line 241 character 29
: Unnecessary semicolon. - Evidence:txt = {{subst:welcome}};
- ISSUE:
line 257 character 1
: Expected '(end)' and instead saw '}'. - Evidence:}
esprima
[edit]- ERROR: Cannot parse
line 241 column 13
: Unexpected token {