Because I am doing a C++ implementation of the mediawiki api I was
distraight to see that upload had not been implemented and I would have to
simulate Special:Upload. Thanks for doing this!
On Thu, May 7, 2009 at 2:41 PM, Michael Dale <mdale(a)wikimedia.org> wrote:
The new-upload branch includes a good set of new
features is available
here:
http://svn.wikimedia.org/svnroot/mediawiki/branches/new-upload/phase3/
Major Additions:
* action=upload added to the api
* Supports New upload Interfaces (dependent on mv_embed / jQuery libs )
** supports upload over http with reporting progress to user.
** support for chunks upload with progress indicators and client side
transcoding for videos (chunks for other large flies types "almost
there") (dependent on the firefogg extension)
** supports upload-api error msg lookup and report back.
To test the new upload /interfaces/ you need the latest copy of mv_embed
/ add_media_wizard.js You can get by checking out:
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/MetavidWiki/ski…
(add then adding something like the following to localSettings.php :
$wgExtensionFunctions[] = 'addMediaWizard';
function addMediaWizard(){
global $wgOut;
$utime = time();
$wgOut->addScript( "<script type=\"{$wgJsMimeType}\"
src=\"
http://localhost/{path_to_skins_dir}/add_media_wizard.js?urid={$utime}<h…
\"></script>"
);
}
Comments or references to new bugs can be reported to the following bug
18563 which is tracking its inclusion.
== Things already on the TOOD list ==
* Deprecate upload.js (destination checks, filename checks etc) in favor
of the jQuery / mv_embed style upload interface. (this is dependent on
getting the script-loader branch into the trunk bug 18464 (along with
base mv_embed / jQuery libs) ) will have a separate email with call for
feedback on that branch shortly once I finish up the css style sheet
grouping and mv_embed lib merging.
--mv_embed upload interfaces--
* Support pass though mode for firefogg (passthough mode only in
development branches of firefogg ... should be released soon)
* Support remote iframe driver ( for uploading to commons with progress
indicators while editing an article on another site (like wikipedia) )
(will be an upload "tab" in the add_media_wizard)
peace,
michael
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l