Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Denny Vrandečić
Good points. All too familiar from trying to parse and understand the ways the templating system has been used :) Unfortunately, I am unsure whether I can restrict the usage this tightly, and whether I'd rather let the users shoot themselves in the foot or restrict them from doing so... age old

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Bartosz Dziewoński
On 2017-04-10 06:17, Denny Vrandečić wrote: On Sat, Apr 8, 2017 at 11:30 PM James Hare wrote: Why, exactly, do you want a wikitext intermediary between your JSON and your HTML? The value of wikitext is that it’s a syntax that is easier to edit than HTML. But if it’s not

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Denny Vrandečić
Uh, that sounds nifty. Thanks for that! On Mon, Apr 10, 2017 at 12:15 PM C. Scott Ananian wrote: > More related functionality: Parsoid supports JSON as a contenttype, and > emits a special type of table (the same as the HTML table generated by the > HTML handler for JSON

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Denny Vrandečić
Ah, just an internal data structure. In the end, the UI will be form-based anyway. But in these forms, the user will be able to enter some wikitext fragments. Yucky, I know. I prefer JSON over XML only because it is the Zeitgeist, and I expect the tool support for JSON to grow whereas I don't see

Re: [Wikitech-l] Editing JSON with VisualEditor (was: Editing JSON in MediaWiki)

2017-04-10 Thread C. Scott Ananian
I was thinking of the pre-WIkimania hackathon. There are a *lot* of extensions installed on WMF wikis. Ideally we'd start getting extension maintainers to take over the Parsoid/VE support for their extensions. --scott On Mon, Apr 10, 2017 at 3:37 PM, James Hare wrote: >

Re: [Wikitech-l] Editing JSON with VisualEditor (was: Editing JSON in MediaWiki)

2017-04-10 Thread James Hare
This upcoming hackathon might be too soon, considering we have more urgent priorities that need to be addressed first (like having it not be broken on the Beta Cluster). Beyond that, it’s something that can be considered, but how many people are actually interested in this? On April 10, 2017 at

Re: [Wikitech-l] Editing JSON with VisualEditor (was: Editing JSON in MediaWiki)

2017-04-10 Thread C. Scott Ananian
I *believe* so. Both Parsoid and Visual Editor have extension interfaces. However, they haven't really been used by folks outside WMF yet. I'm eager to have that change. We're thinking about proposing a "Workshop" session at wikimania for "How to write extensions for Parsoid and Visual Editor".

[Wikitech-l] Editing JSON with VisualEditor (was: Editing JSON in MediaWiki)

2017-04-10 Thread James Hare
On April 10, 2017 at 12:15:34 PM, C. Scott Ananian (canan...@wikimedia.org) wrote: More related functionality: Parsoid supports JSON as a contenttype, and emits a special type of table (the same as the HTML table generated by the HTML handler for JSON in mediawiki). You can edit this in VE,

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread C. Scott Ananian
More related functionality: Parsoid supports JSON as a contenttype, and emits a special type of table (the same as the HTML table generated by the HTML handler for JSON in mediawiki). You can edit this in VE, although w/o any special support, and Parsoid will serialize it back to JSON. This

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Daniel Kinzler
Am 10.04.2017 um 06:17 schrieb Denny Vrandečić: > Ah, good question indeed. The reason is that users would be actually > putting fragments of wikitext into the JSON structure, and then the JSON > structure gets assembled into wikitext. Not only would I prefer to have the > users work with

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Denny Vrandečić
Thanks Brad, that's perfect! I'll proceed as suggested. Thanks list, that was really helpful and saved me plenty of trial and errors! On Mon, Apr 10, 2017 at 7:07 AM Brad Jorsch (Anomie) wrote: > On Sun, Apr 9, 2017 at 11:38 AM, Daniel Kinzler < >

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Brad Jorsch (Anomie)
On Sun, Apr 9, 2017 at 11:38 AM, Daniel Kinzler wrote: > Generating wikitext from some other thing is what Scribunto does. Not really. What Scribunto does is let you run a program to generate wikitext. If you wanted to write code that took some JSON and turned it

[Wikitech-l] ArchCom Radar, 2017-04-05

2017-04-10 Thread Daniel Kinzler
Hi all! Here are the minutes from this week's ArchCom meeting. You can also find the minutes at . See also the ArchCom status page at and the RFC board