Commons:User scripts/users namespace/reports/User:Érico/cleanup.js
This is the report page for User:Érico/cleanup.js. It is bot-maintained. All manual changes might be overwritten.
jshint edit
- ISSUE:
line 689 character 174
: Unreachable ';' after 'return'. - Evidence:var nextcat = cleanup.replace(re_cat, function($0, $1, $2, $3, $4, $5) {return "[[Category:"+$2.toUpperCase()+$3+($4===undefined?"":$4)+"]]"+($5===undefined?"":$5)+"\n";;});
- ISSUE:
line 689 character 174
: Unnecessary semicolon. - Evidence:var nextcat = cleanup.replace(re_cat, function($0, $1, $2, $3, $4, $5) {return "[[Category:"+$2.toUpperCase()+$3+($4===undefined?"":$4)+"]]"+($5===undefined?"":$5)+"\n";;});
- ISSUE:
line 689 character 176
: Don't make functions within a loop. - Evidence:var nextcat = cleanup.replace(re_cat, function($0, $1, $2, $3, $4, $5) {return "[[Category:"+$2.toUpperCase()+$3+($4===undefined?"":$4)+"]]"+($5===undefined?"":$5)+"\n";;});
- ISSUE:
line 851 character 15
: 'cleanup' is already defined. - Evidence:var cleanup = bot_move_checked(cleanup);
- ISSUE:
line 903 character 9
: eval can be harmful. - Evidence:eval(functionNameString+"(true)");
- ISSUE:
line 910 character 27
: Script URL. - Evidence:{_href = "javascript:"+functionNameString+"(true)";}
- ISSUE:
line 931 character 91
: Script URL. - Evidence:addOnloadHook(function (){add_toolbox_button("cleanup TS", "javascript:mto_cleanup_ts()");});