Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-06 Thread Brad Jorsch (Anomie)
On Mon, Apr 6, 2020 at 1:06 PM Jeroen De Dauw wrote: > Related question: is it possible to edit existing slots and add new ones > via the API? > Not yet. That's tracked as T208801 . -- Brad Jorsch (Anomie) Senior Software Engineer Wikimedia Foundation

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-06 Thread Jeroen De Dauw
Hey, Related question: is it possible to edit existing slots and add new ones via the API? Cheers -- Jeroen De Dauw | www.EntropyWins.wtf Professional wiki hosting and services: www.Professional.Wiki Entrepreneur | Software Crafter | Open Sou

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-06 Thread Brad Jorsch (Anomie)
On Mon, Apr 6, 2020 at 10:51 AM Petr Bena wrote: > Or is that this part of result which indicates they are being > supported? > > ... > > "limit": 500, > "deprecatedvalues": [ > "parsetree" > ] >

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-06 Thread Petr Bena
That is interesting. I guess that's indeed the correct way, and now I noticed (or maybe I am reading it wrong) that mediawiki.org doesn't seem to support them? Or at least I don't see the word rvslot anywhere in the output of that very query. If that's the case does it mean that rvslots is optiona

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-06 Thread Brad Jorsch (Anomie)
On Sun, Apr 5, 2020 at 5:24 PM Daniel Kinzler wrote: > Am 05.04.20 um 23:18 schrieb Petr Bena: > > But still, I am curious what is the recommended approach for someone > > who wants to develop their application "properly" in a way that it's > > backward compatible? First query the MediaWiki versi

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-05 Thread Daniel Kinzler
Am 05.04.20 um 23:18 schrieb Petr Bena: > But still, I am curious what is the recommended approach for someone > who wants to develop their application "properly" in a way that it's > backward compatible? First query the MediaWiki version via API, and > based on that decide how to call APIs? I can'

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-05 Thread Petr Bena
Aha thanks for the update. To give you some context, I would like to fix https://phabricator.wikimedia.org/T249460 the main problem as I see now, is that this looks like a seriously breaking change to me (but maybe I am overlooking something). If I change the API call to work with rvslots, I doubt

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-05 Thread Daniel Kinzler
Thanks for bringing this up. I have made some updates to the documentation in mediawiki.org to make clear that MCR is not work in progress. While support is not complete in all parts of MediaWiki, the storage layer has been implemented and the database has been migrated to the new system. Am 05.0

Re: [Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-05 Thread Brian Wolff
It is where a page can have multiple content handlers associated with it. The most common example is commons file pages. They have normal wikitext page, but they also have a slot containing wikidata-style data structured data. Whether or not you have to worry about this depends on what you're doi

[Wikitech-l] What is "revision slot" and why is it necessary to specify it now?

2020-04-05 Thread Petr Bena
Hello, https://www.mediawiki.org/wiki/API:Revisions mentions "revision slots" multiple times, but fails to explain what it is? I noticed that some queries that were running fine in the past now have warning: "Because "rvslots" was not specified, a legacy format has been used for the output. This