https://bugzilla.wikimedia.org/show_bug.cgi?id=64922

            Bug ID: 64922
           Summary: Should not throw errors towards the JS error console
                    if invalid title is specified
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Uploading
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 15300
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=15300&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to