On 18 February 2010 15:06, Conrad Irwin conrad.irwin@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=%5B%5Bhello%5D%5D&a...
Yours
Conrad
:-O
Thanks Mr. Conrad. This is really awesome!.