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.