On Tue, Jan 24, 2012 at 1:46 AM, Shahar Prish
<sha...@prish.onmicrosoft.com> wrote:
> 1.       Is this the preferred way to ask questions? Is there a web-based
> forum I can use to ask questions/search for answers?
>
Yes.

> 2.       My questions: I am using the api’s action=parse operation and am
> getting HTML that corresponds to said article.
>
> a.       Is there a way to avoid redirect in pages (automatically get
> all-resolved URLs)
>
No.

> b.      Which CSS should I include in my HTML so that the formatting of the
> HTML will work properly? Not all styles are inlined. I could not find any
> info about this (really hard to search for Wikipedia-related programming
> elements – you keep hitting, well, Wikipedia. J)
>
Use &prop=text|headitems , like so:

https://en.wikipedia.org/w/api.php?action=parse&page=San_Francisco&prop=text|headitems&format=xml

Roan

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to