FF RC; Screenshot illustrating the issue
Issue: Uplaod form throws errors towards the JS error console if invalid title is specified
Reproducing:
- Go to https://commons.wikimedia.org/wiki/Special:Preferences#mw-prefsection-gadgets
- Disable the gadget "ImprovedUploadForm"
- Go to https://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ownwork&debug=true
- Enter a title as the "Destination filename:" that is invalid e.g. containing a square bracket
Result:
Error: Unable to parse title
https://bits.wikimedia.org/static-1.24wmf2/resources/src/mediawiki/mediawiki.Title.js
Line 24
Version: 1.24rc
Severity: minor
Attached: