Last modified: 2014-08-27 17:52:47 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 T26217, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
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: ---


Attachments

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.


Navigation
Links