Last modified: 2011-08-30 22:18:11 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 T28049, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26049 - No suggestions appear for files with bad file name.
No suggestions appear for files with bad file name.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.prototype.wikimedia.or...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-22 07:11 UTC by Calcey QA
Modified: 2011-08-30 22:18 UTC (History)
3 users (show)

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


Attachments

Description Calcey QA 2010-11-22 07:11:34 UTC
Steps to reproduce:

1) Upload a file (say taken from a digital camera) with bad file name (e.g.P7260266)

3) Go to the Describe page and notice that title has been set to the file name (P7260266)

There is no indication that title has been directly taken from file name (bad file name) and user has to change that.
Comment 1 Mark A. Hershberger 2011-02-12 04:19:53 UTC
I agree that bad filenames like these should be spotted and warned, but should that be core MW or an extension?  Certainly this is something for the UploadWizard, though.
Comment 2 Neil Kandalgaonkar 2011-02-14 18:31:04 UTC
It should be a feature of core MW, but we are the only project so far that needs it.

Anyway, to my knowledge, the only way to really know whether a filename is acceptable or not is to actually try to publish a file with that name. (There are many different reasons why the server might reject it, and any number of extensions can use certain hooks. We can't simulate it on the client effectively.)

This is obviously unacceptable for us, especially since we are working on files that aren't published yet.

So we will need to write another API method, or, rewrite the appropriate extensions, to do this properly.

The main extensions I'm aware of are TitleBlacklist and TitleWhitelist.
Comment 3 Bugmeister Bot 2011-08-19 19:12:34 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 4 Erik Moeller 2011-08-30 22:18:11 UTC
This is resolved with the title blacklist API implementation.

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


Navigation
Links