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

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

jshint

edit
  1. ISSUE: line 9 character 14: Use '===' to compare with ''. - Evidence: if ( query == "" ) return ;
  2. ISSUE: line 13 character 31: The array literal notation [] is preferable. - Evidence: var found_pages = new Array () ;
  3. ISSUE: line 37 character 19: Use '===' to compare with '0'. - Evidence: if ( best_cnt == 0 ) return ; // No possible language found