Vadim Kovalenko

Results 29 comments of Vadim Kovalenko

@kelson42 You can get HTML output using MediaWiki REST API (/rest.php). Check this example: https://en.wikipedia.org/w/rest.php/v1/page/Dog/with_html

In addtion, there is also possibility to fetch HTML from MW core as it was mentioned here - https://phabricator.wikimedia.org/T324866#8811244 Example: https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html

@kelson42 , it looks like your link to MDwiki is no longer valid. I'm wondering whether this wiki exposes any API now. Upd: MDwiki supports MediaWiki Action API ([example link](https://mdwiki.org/w/api.php?action=parse&format=json&prop=text&formatversion=2&page=Gout))

> OK... but do you really need it? Not really, I can test Mediawiki REST API on other wikis

@tim-moody , REST API url for http://offline.mdwiki.org/ returns only wikitext but not page HTML. This one is working - http://offline.mdwiki.org/w/rest.php/v1/page/Gout And this one is not: http://offline.mdwiki.org/w/rest.php/v1/page/Gout/with_html Regarding docs (https://www.mediawiki.org/wiki/API:REST_API/Reference#Get_page_offline), wiki...

Upd: Instead of `/{title}/with_html` it is more convinient to use `{title}/html` for Mediawiki REST API renderer - in that case, we reuse already implemented Desktop render directly inheriting it. Check...

mwoffliner doesn't scrape article with the title `Louis_Antoine,_Duke_of_Enghien`. When I try to set this title to `--articleList`, it tries to scrape two different articles: `Louis_Antoine` and `Duke_of_Enghien`. Tried to encode...

Graph extension is currently disabled for all Wikimedia wikis, see https://phabricator.wikimedia.org/T334940

PCS docs might be used as a reference here: https://www.mediawiki.org/wiki/Page_Content_Service

@kelson42 The property `display: none` comes from **site.styles**, check https://en.wikipedia.org/w/load.php?debug=true&lang=en&modules=site.styles&only=styles&skin=vector . So to display table I had to override this rule. This is a part of generic CSS modules so...