Topic on Project:Support desk

API action=parse styles

2
This, that and the other (talkcontribs)

I've been out of the fold for a while, and in the meantime, something appears to have changed with API action=parse.

See the URL https://commons.wikimedia.org/w/api.php?action=parse&text={%7C%20class=%22wikitable%22%0a%7Chi%0a%7C}&title=Something&prop=text%7Cheadhtml&formatversion=2

The text to be parsed contains a styled table. This wikitext would display with the appropriate styles if I placed it on any Wikimedia Commons page. However, the stylesheets included within the headhtml section of the response do not include the wikitable class.

What's more, the returned styles don't even include correct global fonts. The text appears in the browser default serif font.

What is going on here? Why are these styles missing from action=parse's response?


TheDJ (talkcontribs)

i think the this is because the legacy.shared module is missing.. Please file a ticket.

Reply to "API action=parse styles"