Skip to content

TOC is missing when displaying a particular page revision #109

@annda

Description

@annda

Issue Description

When you open a particular page revision from page history, the Table of Contents is not rendered.

This is caused by a check for $REV in DokuWiki core
https://github.com/dokuwiki/dokuwiki/blob/bcedcbabaeed53ef96a52034226c5be6d16f07d3/inc/template.php#L153

Because SprintDoc renders the TOC separately from the main page content, it needs to make sure the TOC gets created, e.g. by populating the $TOC global variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions