Commons:User scripts/users namespace/reports/User:Guanaco/markblocked.js

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

This is the report page for User:Guanaco/markblocked.js. It is bot-maintained. All manual changes might be overwritten.

jshint[edit]

  1. ISSUE: line 55 character 41: Expected a conditional expression and instead saw an assignment. - Evidence: if ( ma = articleRX.exec( url ) ) {
  2. ISSUE: line 57 character 47: Expected a conditional expression and instead saw an assignment. - Evidence: } else if ( ma = scriptRX.exec( url ) ) {
  3. ISSUE: line 81 character 23: Use '===' to compare with '0'. - Evidence: if ( users.length == 0 ) {
  4. ISSUE: line 139 character 28: Use '===' to compare with '0'. - Evidence: if ( --apiRequests == 0 ) { // last response
  5. ISSUE: line 185 character 51: Use '===' to compare with '0'. - Evidence: if ( mw.config.get( 'wgNamespaceNumber' ) == 0 ) {
  6. ISSUE: line 187 character 9: Expected a 'break' statement before 'default'. - Evidence: }
  7. ISSUE: line 193 character 85: Script URL. - Evidence: mw.util.addPortletLink( 'p-cactions', 'javascript:markBlocked()', 'XX', 'ca-showblocks' );