Hi -
In the extension development I'm doing, I need a custom file-upload interface. I'm building it around the existing Special:Upload, and as a side benefit I've been building a rewritten version of Extension:MultiUpload.
In order to do this in what seems to me a reasonable, future-compatible way - particularly by calling Special:Upload's methods rather than duplicating their code in extension classes - I've needed to split out some of Special:Upload's code into separate functions that can be overridden in subclasses. Those changes are in gerrit and bugzilla now: https://gerrit.wikimedia.org/r/#/c/67173/ https://bugzilla.wikimedia.org/show_bug.cgi?id=48581
I'm posting here in case people want to discuss those changes. Ideally I'd like to backport that to 1.19 so I can support LTS users.
Also, I'd like to submit my MultiUpload code for review, but I'm not sure how to do that, because it looks like Extension:MultiUpload hasn't been brought over from svn to gerrit. I'd either submit it as a commit that replaces most of the extension's code, or propose it as a separate extension. Please advise me...
Thanks! Lee Worden
On 06/10/2013 04:55 PM, Lee Worden wrote:
Hi -
In the extension development I'm doing, I need a custom file-upload interface. I'm building it around the existing Special:Upload, and as a side benefit I've been building a rewritten version of Extension:MultiUpload.
In order to do this in what seems to me a reasonable, future-compatible way - particularly by calling Special:Upload's methods rather than duplicating their code in extension classes - I've needed to split out some of Special:Upload's code into separate functions that can be overridden in subclasses. Those changes are in gerrit and bugzilla now: https://gerrit.wikimedia.org/r/#/c/67173/ https://bugzilla.wikimedia.org/show_bug.cgi?id=48581
I'm posting here in case people want to discuss those changes. Ideally I'd like to backport that to 1.19 so I can support LTS users.
Only bug fixes are backported to released versions of MediaWiki - not new features. https://www.mediawiki.org/wiki/Backporting_fixes
Also, I'd like to submit my MultiUpload code for review, but I'm not sure how to do that, because it looks like Extension:MultiUpload hasn't been brought over from svn to gerrit. I'd either submit it as a commit that replaces most of the extension's code, or propose it as a separate extension. Please advise me...
https://www.mediawiki.org/wiki/Git/New_repositories/Requests seems to be the place to request that a new repo be created. When creating a new repo in Gerrit, Demon/Chad can import the SVN history for you.
Thanks! Lee Worden
wikitech-l@lists.wikimedia.org