Hello, Can sombody help me to solve the problem
I tried to upoad the image with mwclient
Site.upload(open('c:/test.jpg'),'test.jpg','testing') but doenst get uploaded and when I see the image c:/test.jpg ..it is blank
whats going wrong here?
Herulee wrote:
Hello,
Doest it mean that I should query mediawiki through mwclient to upload images?
On Thu, Feb 25, 2010 at 10:34 AM, Herulee heramb.forums@googlemail.comwrote:
Hello Bryan,
Thanx for the reply Do you know where can I find a good example to use it so that I can try using it
Bryan Tong Minh wrote:
On Mon, Feb 15, 2010 at 5:14 PM, Herulee heramb.forums@googlemail.com wrote:
ahh ok
So titll the time mediawiki 1.16 is not out Need to do uploads by hand
RIGHT?
No, you can emulate the stuff your browser is sending to SpecialUpload. There are certain libraries such as mwclient and pywikipedia that can do this for you.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
-- View this message in context: http://old.nabble.com/Image-uploading-tp27544560p27714382.html Sent from the WikiMedia API mailing list archive at Nabble.com.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api