#5195 Wiki: Add CSS for table of contents limits
Closed: Fixed 7 years ago Opened 8 years ago by tibbs.

The standard mediawiki CSS allows you to limit the depth of the sections included in the table of contents by wrapping it in a div with a "toclimit-N" class:

{{{

TOC

}}}

Unfortunately Fedora's wiki doesn't permit this, and I can't find any way to specify custom CSS in a way that would let me do this without bothering someone. I would really like to be able to shorten the TOCs on some of the packaging guideline pages, because the TOC really shouldn't be three screens long.


I'm going to close this in favor of the one filed on the theme (which I think is the right place to fix this).

https://pagure.io/fedora-mediawikitheme/issue/1

@kevin changed the status to Fixed

7 years ago

Login to comment on this ticket.

Metadata