Re: MediaWiki API v1.19.7; edit token, request; empty response

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: MediaWiki API v1.19.7; edit token, request; empty response

tom schulze
> Date: Tue, 1 May 2018 15:46:20 -0400
> From: "Brad Jorsch (Anomie)" <[hidden email]>
> To: "MediaWiki API announcements & discussion"
> <[hidden email]>
> Subject: Re: [Mediawiki-api] MediaWiki API v1.19.7; edit token
> request; empty response
>
>
> On Tue, May 1, 2018 at 3:38 PM, tom schulze <[hidden email]> wrote:
>
>
>> however all I get is an empty response.
>>
>> I created a gist
>> <https://gist.github.com/tomschulze/16fcdf8b88f285ab29365e4e558cb5f5>
>> with my python code.
>>
> You're missing parameters in params_edit_token. Try adding 'titles' with at
> least one title (doesn't have to exist) and 'intoken' with value 'edit'.
>
>
That did it! Thanks so much!


_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api