Last modified: 2013-03-10 20:33:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 43009 - "This title contains some undesirable characters. Please remove them." is not helpful
"This title contains some undesirable characters. Please remove them." is not...
Status: RESOLVED DUPLICATE of bug 38303
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: messages
  Show dependency treegraph
Reported: 2012-12-12 14:19 UTC by Željko Filipin
Modified: 2013-03-10 20:33 UTC (History)
5 users (show)

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

screen shot with the error message (196.76 KB, image/png)
2012-12-12 14:19 UTC, Željko Filipin

Description Željko Filipin 2012-12-12 14:19:26 UTC
Created attachment 11494 [details]
screen shot with the error message

- upload an image
- at "Describe" step enter "test: test" (without quotes) as image title
- "This title contains some undesirable characters. Please remove them." error message appears
- the error message should be more specific about undesirable characters
- for example, the list of undesirable characters could be added to the error message 

- this bug is similar to Bug 38303 - confusing error message when uploading a file with filename is not allowed.
Comment 1 Nischay Nahata 2012-12-12 16:45:08 UTC
The number of undesirable characters can be too long to display with the error message, there has to be a better way to describe what is not allowed. Maybe use tipsy?
Comment 2 Željko Filipin 2012-12-13 11:08:50 UTC
The error message could then contain only undesirably characters from the title, not the entire list.
Comment 3 Nischay Nahata 2012-12-20 17:23:53 UTC
I am willing to fix this but not sure if there is an easy way to do it, waiting for some qualified person to comment. Since most of the checking is based on regexes there has to be a message associated with each of the regex used in jquery.validate.wmCommonsBlacklist
Comment 4 Nischay Nahata 2013-02-15 20:46:37 UTC
Lowering priority as Title Blacklist is supposed to show "higher-quality error messages" and hence wmCommonsBlacklist is likely to be deprecated.
Comment 5 Nischay Nahata 2013-02-26 19:27:47 UTC
Setting lowest as Title Blacklist is used on Commons so this error message won't appear now.
Comment 6 Nischay Nahata 2013-03-05 20:09:36 UTC
I would wait for to get merged and then find a way to use the message provided by TitleBlacklist to show. Hopefully Validate plugin has something for that.
Comment 7 Nischay Nahata 2013-03-10 20:33:13 UTC

*** This bug has been marked as a duplicate of bug 38303 ***

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