New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Article not displayed accurately #193
Comments
Thanks for the report. I'll investigate. |
I think the second one might be caused by the transformation to desktop mode, which is a bit hacky. It searches for infoboxes to move them, but it's possible it selects too much, and includes some text it shouldn't. |
@Jaifroid If it helps, here is another example: Kiwis JS PWA: Original: |
@Inbefortus This issue is now fixed in Version 1.7.4-rc2. I've pushed this to pwa.kiwix.org, so if you have that version of the PWA, you should be able to verify (also in the dev pwa: kiwix.github.io/kiwix-js-windows/). Please ensure you are using rc2 (the app will auto-update after a restart). The issue was an over-greedy regular expression that moves misplaced hatnotes that don't have any class or id that enables a cleaner way of moving them. So I have to use heuristics to guess common patterns. I've put in a limit to the amount the regex will scan within the Please see screenshots below. |
@Jaifroid Nice. I can also confirm that it has been fixed! I have a question about one of your screenshots: In the article "Glossary of Islam" there is a small table called "Contents", what did you do to make it appear? I do not have such a table. The ZIM I use is 2021-09 English Wikipedia Endless. |
@Inbefortus The screenshot is from
|
@Jaifroid Ah, I see. I think that might be related to this? openzim/mwoffliner#1514 |
This fix is now in v1.7.4 of the PWA and in the latest WikiMed UWP release. |
This applies to both desktop and mobile.
Kiwix JS PWA:
Kiwix Android:
Original Android Wikipedia app:
The text was updated successfully, but these errors were encountered: