On 18 February 2010 15:06, Conrad Irwin <conrad.ir...@googlemail.com> wrote:
>
> On 02/18/2010 01:42 PM, Tei wrote:
>> I can imagine this url:
>>
>> http://someserver.com/wiki/api.php?wikicode=code here
>> urlencoded&format=json&device=handheld
>>
>> as a way to ask MediaWiki installed in someserver.com  to render has
>> html inside json the wikicode provided.
>>
>> Do mediawiki already support something like this?
>>
>> Is somewhat interesting, as make the engine "portable", so any device
>> can render wikicode in html, even clientside javascript (with a single
>> ajax call).
>>
>
> Yes, the API ( http://www.mediawiki.org/wiki/API ) has a parse method:
>
> http://en.wiktionary.org/w/api.php?action=parse&text=[[hello]]&format=jsonfm
>
> Yours
>
> Conrad

:-O

Thanks Mr. Conrad. This is really awesome!.





-- 
--
ℱin del ℳensaje.

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to