= Details = ## please fill this in Applies to:: moin-1.5.7 and moin-1.6.1 Purpose:: automatically add a table-of-contents to pages Description:: if a (new) option is set in the wiki config file, then any page that has a level-1 or level-2 heading will automatically show a table-of-contents = Patch = ## we prefer that you send the patch in an attachment to avoid whitespace issues ## you should probably change the name of the attachment here {{attachment:autotoc.patch}} {{attachment:autotoc-1.6.1.patch}} = Discussion = see FeatureRequests/AutoToc. I've only just started using moinmoin so maybe this isn't the best place to patch this feature in, and I don't know if it has side effects, but it "works-for-me" :) . If you add that var with a default value to multiconfig.py you could ommit that `try ...` -- ReimarBauer <> . I added the patch to be compatible with 1.6.1 and fixed some var changes = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: ---- CategoryMoinMoinPatch