Hello everyone,
The public Parsoid endpoint http://parsoid-lb.eqiad.wikimedia.org is being decommissioned [1] once we migrate over all straggler references to that endpoint [1] possibly as soon as 3 weeks from now.
As far as we know, there are very few requests to that endpoint right now, but if you have been using that endpoint, please switch over to using the RESTbase service instead. You can access Parsoid HTML for the wikimedia wikis via their REST API endpoint. For example, https://en.wikipedia.org/api/rest_v1/?doc is the REST API url for English Wikipedia content.
Thanks, Subbu.
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.
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.
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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Multi-line input for transform end points is now live: https://en.wikipedia.org/api/rest_v1/?doc#!/Transforms/post_transform_wikite...
On Sat, Jan 30, 2016 at 10:46 AM, Gabriel Wicke gwicke@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Gabriel Wicke Principal Engineer, Wikimedia Foundation
wikitech-l@lists.wikimedia.org