-
-
Notifications
You must be signed in to change notification settings - Fork 74
API end‐points
Vadim Kovalenko edited this page Sep 11, 2023
·
4 revisions
MWoffliner supports the following API end-points to retrieve HTML:
-
Wikimedia only:
- WikimediaDesktop, for example https://en.wikipedia.org/api/rest_v1/page/html/Foobar
- WikimediaMobile, for example https://en.wikipedia.org/api/rest_v1/page/mobile-html/Foobar
-
MediaWiki:
- VisualEditor, for example https://en.wikipedia.org/w/api.php?action=visualeditor&mobileformat=html&format=json&paction=parse&formatversion=2&page=Foobar
- ActionParse, for example https://en.wikipedia.org/w/api.php?action=parse&format=json&prop=text|modules|jsconfigvars|headhtml&parsoid=1&formatversion=2&page=Foobar