Does this branch work? I just tried the demo link provided in api.php but it does not work.
api.php?action=upload&filename=Wiki.png&url=http%3A//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png&ignorewarningshttp://grey.colorado.edu/UploadTestWiki/api.php?action=upload&filename=Wiki.png&url=http%3A//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png&ignorewarnings
On Thu, May 7, 2009 at 2:41 PM, Michael Dale mdale@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/skin... (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/%7Bpath_to_skins_dir%7D/add_media_wizard.js?urid=%7B$utime%... "></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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l