You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why are we not using the ActionParse API? It looks like this API is capable to provide decent HTML and I'm pretty sure it was possible to use this with mwoffliner in the past, but I fail to find PR / issues indicating that we decided to remove it, so I might be completely wrong.
Maybe forcing the Parsoid Parser is OK as well, it would restrict to Mediawiki 1.35+, but 1.35 is already an obsolete version, released in September 2020, so this is not really a strong requirement: https://www.mediawiki.org/wiki/MediaWiki_1.35
The text was updated successfully, but these errors were encountered:
Gentoo wiki use case is interesting because (as of today) it is a 1.35 version (where Parsoid is supposed to be available but parameter is still unknown in the API)
Currently, on stock mediawiki (not wikipedia) mwoffliner uses either REST API or Visual Editor.
These are often not available, see e.g. openzim/zim-requests#1244
Why are we not using the ActionParse API? It looks like this API is capable to provide decent HTML and I'm pretty sure it was possible to use this with mwoffliner in the past, but I fail to find PR / issues indicating that we decided to remove it, so I might be completely wrong.
See e.g. https://rationalwiki.org/w/api.php?action=parse&format=json&prop=text|modules|jsconfigvars|headhtml&page=Main_Page for sample HTML provided by this API.
Using this API is more or less what is suggested in #1899 despite in this PR we force the use of the parsoid parser:
https://rationalwiki.org/w/api.php?action=parse&format=json&prop=text|modules|jsconfigvars|headhtml&parsoid=1&page=Main_Page
Maybe forcing the Parsoid Parser is OK as well, it would restrict to Mediawiki 1.35+, but 1.35 is already an obsolete version, released in September 2020, so this is not really a strong requirement: https://www.mediawiki.org/wiki/MediaWiki_1.35
The text was updated successfully, but these errors were encountered: