#[SOLVED] collapsible levels broke

18 messages · Page 1 of 1 (latest)

dusty scaffold
#

im goijg to revert my change for sidebar so you can see the levels in action

vocal mason
#

my edit put in some random formatting but the main thing is that the gadget currently uses a regex that moves the first set of pages just above the "External" heading

#

but because it assumed Special:AllPages was the last element of that first category, then it put specialpages-url at the top, so it ended up with a level-2 heading with no level-1 heading

dusty scaffold
vocal mason
#

yeah

dusty scaffold
#

oof

#

how would i fix it

vocal mason
#

well I think the code I just linked could work

#

just need to test it with css

#

seems to work

dusty scaffold
#

works. thank u ❤️

vocal mason
#

I'll see if I can change the content so it doesn't need to use a regex

dusty scaffold
vocal mason
#

yeah looks like it works

dusty scaffold
#

works. thank u ❤️