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 Wicke <[email protected]> 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
> <[email protected]> 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
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
>
> --
> Gabriel Wicke
> Principal Engineer, Wikimedia Foundation



-- 
Gabriel Wicke
Principal Engineer, Wikimedia Foundation

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to