I thought maybe it was because I wasn't posting, but that doesn't seem to be working either. It says it requires read rights (which is weird, since an upload is a write), but maybe its because I haven't logged in? wget -O- --post-data 'action=upload&filename=blah.txt&file=blah' http://grey.colorado.edu/UploadTestWiki/api.php
On Mon, May 11, 2009 at 12:06 PM, Brian <[email protected]> wrote: > 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&ignorewarnings<http://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 <[email protected]> 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/skins/ >> (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}<http://localhost/%7Bpath_to_skins_dir%7D/add_media_wizard.js?urid=%7B$utime%7D> >> \"></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 >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
