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
>> [email protected]
>> 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
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
>   


_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to