Author: mdale
Description:
Once you upload your file, release rights, then get to describe. If you put a ] in the categories input box invokes the error "data.query" is undefined
you should ( of course ) check properties before assuming success. ie: instead of line 135 of jquery.mwCoolCats.js
var pages = data.query.allpages;
// you should do something like:
if( data && data.query && data.query.allpages ){
var pages = data.query.allpages;
} else{
// error handling goes here.
}
There are several other places in the code base where you make assignments of decedent properties without checking for their existence, these should be fixed.
Version: unspecified
Severity: minor
URL: http://commons.prototype.wikimedia.org/wiki/Special:UploadWizard?debug=true