"Bryan Tong Minh" bryan.tongminh@gmail.com wrote in message news:fd5886130910291329p338a1600paf8fefa7e64fc42a@mail.gmail.com...
On Thu, Oct 29, 2009 at 8:53 PM, Russell Blau russblau@hotmail.com wrote:
Has anyone been able to successfully upload a file to any wiki by URL, *through the API*?
There was a slight problem with I fixed in r58337 and just got synced. I tested it and it works now. For your information, I used the following query: site.api(token = img.get_token('edit'), action = 'upload', url = 'http://www.mediawiki.org/images/wikimedia-button.png', filename = 'Wikimedia-button.png') using mwclient.
Thanks - it works now in my testing, too.
Russ