Last modified: 2014-11-06 19:50:24 UTC
Created attachment 15300 [details] 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
Change 131971 had a related patch set uploaded by Rillke: mw.Title: Add new static method `newFromFileName` https://gerrit.wikimedia.org/r/131971
Change 131971 merged by jenkins-bot: mw.Title: Add new static methods `newFromFileName`, `newFromUserInput` https://gerrit.wikimedia.org/r/131971
Change 171546 had a related patch set uploaded by MarkAHershberger: mw.Title: Add new static methods `newFromFileName`, `newFromUserInput` https://gerrit.wikimedia.org/r/171546
Change 171546 merged by jenkins-bot: mw.Title: Add new static methods `newFromFileName`, `newFromUserInput` https://gerrit.wikimedia.org/r/171546