Last modified: 2014-11-06 19:50:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66922, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64922 - Should not throw errors towards the JS error console if invalid title is specified
Should not throw errors towards the JS error console if invalid title is spec...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.24rc
All All
: Low minor (vote)
: 1.24.0 release
Assigned To: Rainer Rillke @commons.wikimedia
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 21:32 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-11-06 19:50 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
FF RC; Screenshot illustrating the issue (38.68 KB, image/png)
2014-05-05 21:32 UTC, Rainer Rillke @commons.wikimedia
Details

Description Rainer Rillke @commons.wikimedia 2014-05-05 21:32:51 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
Comment 1 Gerrit Notification Bot 2014-05-07 13:24:25 UTC
Change 131971 had a related patch set uploaded by Rillke:
mw.Title: Add new static method `newFromFileName`

https://gerrit.wikimedia.org/r/131971
Comment 2 Gerrit Notification Bot 2014-11-04 18:48:17 UTC
Change 131971 merged by jenkins-bot:
mw.Title: Add new static methods `newFromFileName`, `newFromUserInput`

https://gerrit.wikimedia.org/r/131971
Comment 3 Gerrit Notification Bot 2014-11-06 16:20:43 UTC
Change 171546 had a related patch set uploaded by MarkAHershberger:
mw.Title: Add new static methods `newFromFileName`, `newFromUserInput`

https://gerrit.wikimedia.org/r/171546
Comment 4 Gerrit Notification Bot 2014-11-06 16:30:12 UTC
Change 171546 merged by jenkins-bot:
mw.Title: Add new static methods `newFromFileName`, `newFromUserInput`

https://gerrit.wikimedia.org/r/171546

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links