Commons:User scripts/reports/MediaWiki:Delete.js

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

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

jshint

[edit]
  1. ISSUE: line 8 character 658: Missing semicolon. - Evidence: var deletereasons = "copyright violation, see [[Commons:Licensing]]|copyvio; fair use, see [[Commons:Licensing]]|fair use; copyrighted logo, see [[Commons:Licensing]]|logo; duplicate; [[Commons:Derivative works]]: copyright violation, it depicts a copyrighted work which is not published under a free license]]|derivative work; see request for deletion|regular deletion; see [[Commons:Project scope]]|project scope; vandalism or spam; replaced by template, orphaned|replaced; incompatible flickr image, see [[Commons:Licensing]]|flickr ink; no proper source|no source; no license; no permission; no [[Commons:Freedom of panorama]] in origin country|no FOP" // Delete without linking
  2. ISSUE: line 27 character 116: Use '===' to compare with ''. - Evidence: if ( (getParamValue("action") == "delete") || ( (getParamValue("deletereason") > "") && (getParamValue("linking") == '') ) ) {