Last modified: 2014-08-27 17:52:47 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 24217 - Rework Special:Upload JS to use api and serverside upload checks
Rework Special:Upload JS to use api and serverside upload checks
Status: NEW
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 23583
  Show dependency treegraph
Reported: 2010-07-01 20:00 UTC by Derk-Jan Hartman
Modified: 2014-08-27 17:52 UTC (History)
3 users (show)

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


Description Derk-Jan Hartman 2010-07-01 20:00:33 UTC
It would be best if we retooled upload.js into a single ajax/api call.

one that checks for:
-name exists
-name allowed (file extensions checks)
-name normalization (think $wgCapitalizedNamespaces)

Better to do these checks serverside, then to reproduce them (often incompletely) in Javascript on the clientside.
Comment 1 Alex Monk 2014-08-27 17:52:47 UTC
Is this still valid?

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