https://bugzilla.wikimedia.org/show_bug.cgi?id=48581
Web browser: ---
Bug ID: 48581
Summary: refactor upload code a bit for use with extensions
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: File management
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
I'm thinking of developing a new version of Extension:MultiUpload and using it
as a base for a more specialized upload interface for another extension's use.
All this (including the current MultiUpload) would work better if there were
more of a distinction in the code between the Special:Upload page and its HTTP
request, and a single file-upload operation, since you need that distinction in
order to do multiple file uploads in a single request.
I'd like to split up a few functions in SpecialUpload.php, upload.js, and
UploadBase.php, so that they don't assume a single upload per page view and can
be called more flexibly. I'm working on a prototype, which I'll put into
Gerrit when it's more ready.
I'm opening this bug now in case people want to discuss it.
--
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