On Sat, Jan 30, 2016 at 10:46 AM, Gabriel Wicke <gwicke(a)wikimedia.org> wrote:
Basic multi-line input support for wikitext / html
transforms turned
out to be quite straightforward to implement:
https://phabricator.wikimedia.org/T110712#1984226
Production should have multi-line inputs some time next week.
On Sat, Jan 30, 2016 at 9:11 AM, Subramanya Sastry
<ssastry(a)wikimedia.org> wrote:
On 01/30/2016 09:50 AM, Bartosz Dziewoński
wrote:
So what is the replacement for
http://parsoid-lb.eqiad.wikimedia.org/_wikitext/ if I just want to see how
Parsoid renders a piece of wikitext? It seems the fancy forms at
https://en.wikipedia.org/api/rest_v1/?doc don't actually allow me to do the
same simple thing.
I figured out I must use "/transform/wikitext/to/html{/title}{/revision}"
(that's a mouthful), but the 'wikitext' field there allows only a single
line. It's also fairly inconvenient that the page displays escaped HTML
code.
https://phabricator.wikimedia.org/T110712 is where you can ask support for
it. :)
Alternatively, as a developer, if you installed Parsoid, you will find the
CLI parse.js tool a lot more convenient to use. YMMV.
Subbu.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Gabriel Wicke
Principal Engineer, Wikimedia Foundation