Vadim Kovalenko
Vadim Kovalenko
Modified /v1/summary_new.yaml file to handle /summary/title/revision requests.
WikimediaMobile API in https://github.com/openzim/mwoffliner/pull/1903 relies on [page/mobile-html](https://en.wikipedia.org/api/rest_v1/#/Page%20content/getContent-mobile-html) endpoint when scraping Wikipedia articles. Most of the images that come from mobile-html are 640px in width which is not appropriate for the...
In the main branch, run: `npm run test:pattern 'test/e2e/multimediaContent.test.ts'` Got error: ``` [ERROR] Invalid internal links found: The following links: - ../../I/Kiwix_Hackathon_2017_Florence_WikiFundi.webm.120p.vp9.webm - ../../I/Kiwix_Hackathon_2017_Florence_WikiFundi.webm.120p.vp9.webm (I/Kiwix_Hackathon_2017_Florence_WikiFundi.webm.120p.vp9.webm) were not found in article...
Fixes https://github.com/openzim/mwoffliner/issues/1911
`nopdf` param is not working as expected, see https://github.com/openzim/mwoffliner/issues/1916#issuecomment-1746417465 for more details.
Before `mobile-section` deprecation mwoffliner used related JSON response to generate collapsible sections using Swig templates (see [res/templates/section_wrapper.html](https://github.com/openzim/mwoffliner/blob/main/res/templates/section_wrapper.html) file). Since `page/html` and `page/mobile-html` are responsible for outputting HTML content, no collapse...
Before multiple render implementations, mwoffliner handled article modules and static files the same way for **page/mobile-section** output and **page/html** since they both relied on the same JS/CSS. Now, when WikimediaMobile...
There is an Wediawiki API to get offline resources - [link] that we need to get PCS resources for WikimediaMobile rendering. (https://en.wikipedia.org/api/rest_v1/#/offline/get_page_mobile_html_offline_resources__title_) I'm curious about the title parameter, which should...
Current tests expect that **sections** and **details** will be removed if they have only **summary** tag inside without empty paragraph inside. The option `keepEmptyParagraphs` is responsible for removing these elements....
mwoffliner doens't trigger events related to main page while trying to retrieve it directly ## Steps to reproduce Run: `npm start -- --mwUrl=https://en.wikivoyage.org [email protected] --articleList=Main_Page` ## Expected result: `dump.isMainPage(articleId)` to...