Can I get articles rendered as HTML from the API, and if so, how?
I want to get something similar to what you get if you use the action=render parameter on a normal MediaWiki url, like: http://en.wikipedia.org/wiki/Main_Page?action=render
I want to do this via the api though, because of the possibility to automatically login. (I'm accessing a wiki which requires login).
Best Regards // Samuel Lampa
On 18.08.2008, 19:55 Samuel wrote:
Can I get articles rendered as HTML from the API, and if so, how?
I want to get something similar to what you get if you use the action=render parameter on a normal MediaWiki url, like: http://en.wikipedia.org/wiki/Main_Page?action=render
I want to do this via the api though, because of the possibility to automatically login. (I'm accessing a wiki which requires login).
Best Regards // Samuel Lampa
http://www.mediawiki.org/wiki/API:Parsing_wikitext
Samuel Lampa wrote:
Can I get articles rendered as HTML from the API, and if so, how?
I want to get something similar to what you get if you use the action=render parameter on a normal MediaWiki url, like: http://en.wikipedia.org/wiki/Main_Page?action=render
I want to do this via the api though, because of the possibility to automatically login. (I'm accessing a wiki which requires login).
Best Regards // Samuel Lampa
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Yes. Use http://en.wikipedia.org/w/api.php?action=parse&page=Main_Page&prop=t... --vvv
Thanks Victor and Max, exactly what I was looking for. // Samuel
Victor Vasiliev skrev:
Samuel Lampa wrote:
Can I get articles rendered as HTML from the API, and if so, how?
I want to get something similar to what you get if you use the action=render parameter on a normal MediaWiki url, like: http://en.wikipedia.org/wiki/Main_Page?action=render
I want to do this via the api though, because of the possibility to automatically login. (I'm accessing a wiki which requires login).
Best Regards // Samuel Lampa
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Yes. Use http://en.wikipedia.org/w/api.php?action=parse&page=Main_Page&prop=t... --vvv
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org