Why not use the always up-to-date API documentation returned by api.php itself? Rollback
should be this doc-page:
http://www.mediawiki.org/w/api.php?action=help&modules=rollback
Maybe you can help us fixing the 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] rvtoken deprecated
Datum: Thu, 30 Oct 2014 10:13:11 +0100
Von: Petr Bena <benapetr(a)gmail.com>
An: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
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.wikipedia.org/w/api.php?action=query&prop=revisions&rvto…
however that very query returns this warning. Is this a bug in
documentation? Why do you first deprecate things and then, ages later,
update the docs? Shouldn't it be the other way? Mediawiki has worst
backward compatibility support I have ever seen and this is one of the
reasons for it.
Thanks
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l