Makes the TOC float to a page side and act as a sticky panel
- MediaWiki 1.35+
- Chameleon skin 2+
- Clone the extension into the
extensionsfolder - Add
wfLoadExtension('StickyTOC');to the bottom ofLocalSettings.php
$wgStickyTOCFloat- allows controlling to which side the TOC will float. By default it's set toleft, but it can be changed torightoraside:left- TOC floats to the leftright- TOC floats to the rightaside- TOC jumps to the left and acts as a column, shifting the page contents to the right
$wgStickyTOCNavbar- If set totruem will force the TOC to treat the current layout navbar as being sticky. By default this is set tofalse. There is no need to change this for the default Chameleonstickyhead.xmllayout, only for custom ones.
Created for the National Gallery of Art HEALD wiki.