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
> <[email protected]>wrote:
>
>>
>> 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 <[email protected]>
>> > 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
>> > [email protected]
>> > 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
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
--
View this message in context:
http://old.nabble.com/Image-uploading-tp27544560p27718062.html
Sent from the WikiMedia API mailing list archive at Nabble.com.
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api