Skip to content

wikiutils.normalize_pagename() obsolete? #2016

@gmilde

Description

@gmilde

The "rst_in" converter cleans up links to other pages with the function wikiutils.normalize_pagename().
However, wikiutils.normalize_pagename() drops a leading slash (the syntax for a subitem of the current item) during the process:
"\subitem" becomes "subitem".

Is this intended or a bug?

Is normalizing page names for use in wiki-internal links (wiki.local:) required?
(It seems no other module uses the function.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions