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 similar activity around XML in the MediaWiki development community. Or, put differently, the same reason Wikibase is using JSON. On Mon, Apr 10, 2017 at 11:06 AM Daniel Kinzler <[email protected]> wrote: > 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 fragments of wikitext than fragments of HTML, but some > > things are almost impossible with HTML - e.g. making internal links red > or > > blue depending on the existence of the article, etc. > > Why JSON? JSON is an absolute pain to edit by hand. HTML/XML, as annoying > as it > is, is still much better for that than JSON is. And Wikitext is designed > to mix > well with HTML. > > -- > Daniel Kinzler > Principal Platform Engineer > > Wikimedia Deutschland > Gesellschaft zur Förderung Freien Wissens e.V. > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
