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

Implement user-defined collapsible section state #934

Open
XanNuri opened this issue Aug 20, 2024 Discussed in #565 · 1 comment
Open

Implement user-defined collapsible section state #934

XanNuri opened this issue Aug 20, 2024 Discussed in #565 · 1 comment
Labels
enhancement New feature or request

Comments

@XanNuri
Copy link

XanNuri commented Aug 20, 2024

Discussed in #565

Originally posted by aolko January 5, 2023
How do i make certain sections of the page collapsed by default?

Would like to submit this as a feature request! To allow per section to be collapsed by default

@alistair3149
Copy link
Member

This is quite complicated since skins don't typically have much access to the content of the page.
Implementing a feature like that would require putting something into the parser, which is something that I am not comfortable to do at the moment especially with the on-going Parsoid work.

This would be revisited in Citizen 3.X after MW 1.43 drops, as the section parsing logic is built into Parsoid (https://phabricator.wikimedia.org/T363934).

@alistair3149 alistair3149 changed the title Collapsible sections, feature request Implement user-defined collapsible section state Oct 23, 2024
@alistair3149 alistair3149 added the enhancement New feature or request label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants