Re: [Wikitech-l] Parsoid entrypoint http://parsoid-lb.eqiad.wikimedia.org being decommissioned
Multi-line input for transform end points is now live: https://en.wikipedia.org/api/rest_v1/?doc#!/Transforms/post_transform_wikitext_to_html_title_revision On Sat, Jan 30, 2016 at 10:46 AM, Gabriel Wickewrote: > 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 > 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 -- Gabriel Wicke Principal Engineer, Wikimedia Foundation ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Parsoid entrypoint http://parsoid-lb.eqiad.wikimedia.org being decommissioned
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. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Parsoid entrypoint http://parsoid-lb.eqiad.wikimedia.org being decommissioned
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
Re: [Wikitech-l] Parsoid entrypoint http://parsoid-lb.eqiad.wikimedia.org being decommissioned
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 Sastrywrote: > 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 mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] Parsoid entrypoint http://parsoid-lb.eqiad.wikimedia.org being decommissioned
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. 1. https://phabricator.wikimedia.org/T110474 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l