Commons:User scripts/users namespace/reports/User:Merlissimo/monobook.js

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

jshint edit

  1. ISSUE: line 9 character 2: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence: function addcategoriestoarray (getcategories){ // schreibe gefundene Kategorien in Array; Hilfsfunktion
  2. ISSUE: line 18 character 2: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence: function getimages(){
  3. ISSUE: line 22 character 34: Expected a conditional expression and instead saw an assignment. - Evidence: if (req2 = sajax_init_object()) {
  4. ISSUE: line 31 character 38: Expected a conditional expression and instead saw an assignment. - Evidence: if (req3 = sajax_init_object()) {
  5. ISSUE: line 32 character 19: 'text' is already defined. - Evidence: var text = '/w/api.php?action=query&format=xml&prop=imageinfo&iiprop=mime&titles='+getnewimages[i].getAttribute('title').replace(/\s/g, "_").replace(/\&/g, "%26").replace(/\"/g, "%22").replace(/\+/g, "%2B").replace(/\#/g, "%23");
  6. ISSUE: line 53 character 2: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function. - Evidence: function createcategorytree() {
  7. ISSUE: line 55 character 33: Expected a conditional expression and instead saw an assignment. - Evidence: if (req = sajax_init_object()) {