openzim / mwoffliner

Mediawiki scraper: all your wiki articles in one highly compressed ZIM file
https://www.npmjs.com/package/mwoffliner
GNU General Public License v3.0
292 stars 74 forks source link

In English Wiktionary all collapsible elements are collapsed and can't be accessed #2073

Open kelson42 opened 3 months ago

kelson42 commented 3 months ago

@bicolino34 cloned issue kiwix/kiwix-desktop#1135 on 2024-06-24:

Kiwix version 2.3.1 (installed through flatpak)

OS Linux Mint 21

I have downloaded English Wiktionary (text-only) file for offline use in Kiwix, but the translation table is collapsed by default and there is no way to expand it. No matter how many times I click it. It also affects declension data because in English Wiktionary it is shown in collapsible element.

зображення

зображення

It is probably some problem with parsing, since Ukrainian Wiktionary seems to have this elements expanded with all the content shown.

зображення

kelson42 commented 3 months ago

@kelson42 commented on 2024-06-26:

This issue should be moved to openzim/mwoffliner but this is a known issue (which might already been fixed in dev).

kelson42 commented 3 months ago

@bicolino34 I believe we are going to remove this whole collapsing feature, so this tight might actually become invalidt with release of 1.14. To be confirmed.

Jaifroid commented 3 months ago

Duplicate of #1033 (or a more general case of that longstanding issue).

maksbotan commented 2 weeks ago

Hi. This bug is still present in latest (as far as I can tell) English Wiktionary zim both on Kiwix Android and online: https://library.kiwix.org/viewer#wiktionary_en_all_maxi_2024-05/A/visit (try clicking on any table).

If it's really fixed in next release of mwoffliner, is there a timeline when this fix will hit Kiwix?

ewtoombs commented 2 days ago

I wrote a workaround for Greasemonkey:

https://greasyfork.org/en/scripts/517632-kiwix-wiktionary-toggle-navcontent

You'll probably have to modify the @include directive.

Jaifroid commented 1 day ago

@ewtoombs Thanks for the ideas in that script. We need to succeed in producing a scrape of Wiktionary with the dev-1.14 build (see #2098), where hopefully some of these problems may be fixed (or else it will become clearer what will be needed to fix them). @audiodude you might be interested in this.