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.
Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/wiki/Special:ApiSandbox?debug=true