Skip to content
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

New parsoid wikitext parser possibly causing rendering issues in templates on Wikivoyage #2085

Open
Popolechien opened this issue Sep 9, 2024 · 1 comment
Labels
bug question wikimedia Direct impact on Wikimedia content scraping

Comments

@Popolechien
Copy link

Working from the Arusha article on Wikivoyage. Rendering tested via Kiwix-JS chrome extension or Kiwix-server.
Screenshot 2024-09-09 at 17 49 42

The same entry on Wikivoyage (2024-08) shows that text is missing where the maps templates are.
Screenshot 2024-09-09 at 17 49 25

The same thing on Wikivoyage (2024-06) works fine.
Screenshot 2024-09-09 at 17 43 42

Since the templates don't seem to have changed between June and August I suspect that the problem lies with this parsoid-related announcement that showed up on the page
Screenshot 2024-09-09 at 17 39 22

@Popolechien Popolechien added bug question wikimedia Direct impact on Wikimedia content scraping labels Sep 9, 2024
@Jaifroid
Copy link
Collaborator

Same in 2024-10, see https://library.kiwix.org/viewer#wikivoyage_en_all_maxi_2024-10/A/Arusha . The same issue shows in Kiwix JS Browser Extension in the latest ZIM (in ServiceWorker mode), but not in the Wikivoyage by Kiwix desktop app nor the PWA. I suspect it's to do with the transformation of listings to transform the geo: link and add the World icon. The PWA does its own transform here to use map pins rather than a world icon (the code goes back to the days of the Windows Mobile app, which plugged these links into the WM10 offline maps app that also exists in Windows 10/11), but it explains why these show correctly in the PWA and packaged app, but not in Kiwix Serve or the Browser Extension (which doesn't do any specific transform of its own).

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug question wikimedia Direct impact on Wikimedia content scraping
Projects
None yet
Development

No branches or pull requests

2 participants