Extension:StickyTOC

The StickyTOC makes the Table of Contents float to a page side and act as a sticky panel.

Created for the National Gallery of Art HEALD wiki.

Requirements

 * MediaWiki 1.35+
 * Chameleon skin 2+

Configuration parameters

 * $wgStickyTOCFloat: Allows controlling to which side the TOC will float by passing one of the following values:
 *   - TOC floats to the left (default)
 *   - TOC floats to the right
 *   - TOC jumps to the left and acts as a column, shifting the page contents to the right


 * $wgStickyTOCNavbar: If set to  will force the TOC to treat the current layout navbar as being sticky. By default this is set to  . There is no need to change this for the default Chameleon stickyhead.xml layout, only for custom ones.
 * $wgStickyTOCReplaceTitle: If set to  will replace TOC title with article title. By default this is set to.