On Tue, Jan 24, 2012 at 1:54 AM, Roan Kattouw <[email protected]>wrote:
> On Tue, Jan 24, 2012 at 1:46 AM, Shahar Prish > <[email protected]> wrote: > > 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 > > Looks like stylesheet aren't part of 'headitems'. Core skin and site stylesheets are linked in of the 'headhtml' property value. Although that's not very usable as a drop-in piece of html. Module loader call is in neither.. Krinkle
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
