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