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

Sections not collapsed on mdwiki #1860

Open
kelson42 opened this issue Jul 11, 2023 · 5 comments
Open

Sections not collapsed on mdwiki #1860

kelson42 opened this issue Jul 11, 2023 · 5 comments
Assignees
Milestone

Comments

@kelson42
Copy link
Collaborator

on small screens

@kelson42 kelson42 added this to the 2.0.0 milestone Jul 18, 2023
@kelson42 kelson42 modified the milestones: 2.0.0, 1.14.0 Aug 28, 2023
@VadimKovalenkoSNF
Copy link
Collaborator

I'm not sure it is about small screens... Could you give me a screenshot with the example? If you tested mwoffliner with disabled MCS, sections are not collapsed there at all as I described in #1866

@kelson42
Copy link
Collaborator Author

In MWoffliner there is a piece of code wich collapse all sections on "small" screens based on the screen wodth.

See https://library.kiwix.org/viewer#mdwiki_en_all_2023-09/A/Spina_bifida

@VadimKovalenkoSNF
Copy link
Collaborator

I've checked the code piece (in fact, client script) responsible for this functionality. It requires details and sections tags in the output which are not supported for now.

@farfromrefug
Copy link

Not sure if it is related. But on my android phone if I open a Wikipedia artitle al sections are "open" by default. It is disturbing and not very practical (web is all sections closed). Could it be related?

@Jaifroid
Copy link
Collaborator

Not sure if it is related. But on my android phone if I open a Wikipedia artitle al sections are "open" by default. It is disturbing and not very practical (web is all sections closed). Could it be related?

Yes, this is happening for all recent Wikipedia ZIMs, and must be due to the removal of summary/detail tags as outlined here and in #1915.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants