Re: [Wikitech-l] rvtoken deprecated

2014-10-31 Thread Petr Bena
Hi, You are right I am not subscribed to that list, however that doesn't change my opinion that documentation should be correct, otherwise you can't expect other devs to write their code properly, if you don't give them proper information how they should write it. This should be responsibility of

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread Legoktm
On 10/30/14 2:11 AM, Petr Bena wrote: > Hello, > > I am receiving lot of these warnings: > > WARNING: API query (revisions): The rvtoken parameter has been deprecated. > > According to current documentation for mediawiki at > https://www.mediawiki.org/wiki/API:Rollback which I follow, in order >

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread Petr Bena
Indeed, that was it, thanks On Thu, Oct 30, 2014 at 1:40 PM, Grunny wrote: > On 30 October 2014 21:42, Petr Bena wrote: >> Btw, I don't know if it's a bug or not, but >> http://www.mediawiki.org/w/api.php?action=query&meta=tokens&rawcontinue=1&type=watch|patrol|rollback&format=xml >> returns no

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread Grunny
On 30 October 2014 21:42, Petr Bena wrote: > Btw, I don't know if it's a bug or not, but > http://www.mediawiki.org/w/api.php?action=query&meta=tokens&rawcontinue=1&type=watch|patrol|rollback&format=xml > returns no tokens even when I am logged in. According to > always-up-to-date api.php I don't

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread Petr Bena
't forget to update the MW >> version the doc page refers to). >> >> Freundliche Grüße / Kind regards, >> Florian Schmidt >> >> -Original-Nachricht- >> Betreff: [Wikitech-l] rvtoken deprecated >> Datum: Thu, 30 Oct 2014 10:13:11 +0100 >>

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread Petr Bena
e API documentation, so, if you know, how to > do a rollback, you can fix the doc on mw.org (don't forget to update the MW > version the doc page refers to). > > Freundliche Grüße / Kind regards, > Florian Schmidt > > -Original-Nachricht- > Betreff: [Wikitech-l] r

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread florian.schmidt.wel...@t-online.de
c on mw.org (don't forget to update the MW version the doc page refers to). Freundliche Grüße / Kind regards, Florian Schmidt -Original-Nachricht- Betreff: [Wikitech-l] rvtoken deprecated Datum: Thu, 30 Oct 2014 10:13:11 +0100 Von: Petr Bena An: Wikimedia developers Hello, I am rece

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread Petr Bena
More ranting: proper deprecated-message should look like this: "foo is deprecated. Please use bar instead (see http://awesomedocs.net/how-to-use-bar.htm)" It would be cool if mw devs who keep deprecating things would consider this. Thanks On Thu, Oct 30, 2014 at 10:12 AM, Petr Bena wrote: > B

Re: [Wikitech-l] rvtoken deprecated

2014-10-30 Thread Petr Bena
Before someone come with something like: if documentation is wrong, fix it I don't know what the correct way is, because I am following the documentation which is wrong, so until someone who knows how to do this right fix it, I won't know that either. On Thu, Oct 30, 2014 at 10:11 AM, Petr Bena

[Wikitech-l] rvtoken deprecated

2014-10-30 Thread Petr Bena
Hello, I am receiving lot of these warnings: WARNING: API query (revisions): The rvtoken parameter has been deprecated. According to current documentation for mediawiki at https://www.mediawiki.org/wiki/API:Rollback which I follow, in order to get a rvtoken I should use this query: https://en.w