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 <[email protected]> wrote: > 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 <[email protected]> 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 >> to get a rvtoken I should use this query: >> >> https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvtoken=rollback&titles=Main%20Page&format=xml >> >> 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
