Board Thread:Script Suggestions/@comment-24142930-20180428163609

Hello!

I was just wondering if any one would know of a script to make base categories automatically collapsed if they have sub categories? I had the pageSpecial:Categories specifically in mind, as some categories on my wiki have many sub categories, which can take up a lot of space. I think it would look a lot tidier if these base categories could be automatically collapsed, then expanded upon click.

Any help would be much appreciated. 