https://bugzilla.wikimedia.org/show_bug.cgi?id=44063

       Web browser: ---
            Bug ID: 44063
           Summary: this.params is undefined
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
               URL: https://en.wikipedia.org/wiki/Special:ApiSandbox?debug
                    =true
                OS: All
            Status: NEW
          Keywords: javascript
          Severity: normal
          Priority: Unprioritized
         Component: ApiSandbox
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Steps to reproduce:

* Open https://en.wikipedia.org/wiki/Special:ApiSandbox?debug=true
* Select "Action" -> "watch"

In the JavaScript Console occurs:

 TypeError: this.params is undefined
 for ( i = 0, length = this.params.length; i < length; i += 1 ) {
 ext.apiSandbox.js (line 483)

In line 482 a semicolon is missing:
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/ApiSandbox.git;a=blob;f=modules/ext.apiSandbox.js;h=7f2aca2f4c705f81a7d1d8949a17cdb60a920152;hb=HEAD#l482

And http://www.jshint.com/ finds some defined but never used variables.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to