[Mediawiki-api] (HTML) rendered articles via api

Victor Vasiliev vasilvv at gmail.com
Mon Aug 18 16:03:01 UTC 2008


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 at 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=text
--vvv



More information about the Mediawiki-api mailing list