Fandom Developers Wiki

CollapsedAbbreviations sets the "list of abbreviations" module, which is present in Special:RecentChanges, to collapsed by default as opposed to open by default. The stylesheet does not affect any other collapsible elements.

This is accomplished without JavaScript by inverting how the existing .mw-collapsible element works with CSS that forces the element to be visible when the element is "collapsed", and invisible when the element is "expanded"; a CSS pseudo element then changes the text to match the reversal. Using CSS in this way avoids a flash of unstyled content.

The stylesheet was created at the request of Re:Zero Wiki admins.



Date Description
October 18, 2020 Initial revision.
October 19, 2020 I18n made not-awful by Owlnai — thanks very much!
Text above can be found here (edit)