Problem with different versions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with different versions

Czuma, Marek
Hi,
I work on project using API of portal based on Media Wiki.
Unfortunately they changed media wiki version from 1.16 to 1.30.

Earlier in endpoint list: logevents I got response with field move. Unfortunately, we don't have 'move' field in response now. I don't know what is it (one thing I know: move field had 2 fields: new_ns and new_title).
I now also that now in response we can find 'params' field, which has also 2 fields: target_ns and target_title.

So I have a few questions:
1) What was 'move'
2) What is 'params' - is it the same thing as 'move'?
3) Can I get documentation for another version of Media Wiki than current?

Thanks,


_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: Problem with different versions

Brad Jorsch (Anomie)
On Wed, Jan 23, 2019 at 3:22 AM Czuma, Marek <[hidden email]> wrote:
Hi,
I work on project using API of portal based on Media Wiki.
Unfortunately they changed media wiki version from 1.16 to 1.30.

The output format for some log events' parameters was changed in MediaWiki 1.25, as part of making the formatting more regularized and allowing extensions to format their event parameters.

The original announcement of this change can be read at https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2015-April/000079.html
 
Earlier in endpoint list: logevents I got response with field move. Unfortunately, we don't have 'move' field in response now. I don't know what is it (one thing I know: move field had 2 fields: new_ns and new_title).
I now also that now in response we can find 'params' field, which has also 2 fields: target_ns and target_title.

Yes, that is the change that was made. You should be able to switch from using the 'move' field to the 'params' field.

--
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation

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