Skip to content

Conversation

@gmilde
Copy link
Contributor

@gmilde gmilde commented Oct 30, 2025

The Moin rST converter converts hyperlink references without matching target into xlinks to local wiki items using the link text as URI reference.

Replace wikiutils.normalize_pagename() with
nodes.whitespace_normalize_name() to avoid removing of leading slashes (cf. issue #2016). Keep case untouched (as in Moin 1.9).

Moin ensures the URI is properly encoded, the wiki-author must ensure the link text is sane (no "strange" characters). If required, an author can explicitely specify an URI-reference, optionally with custom link text (see the rST documentation).

The Moin rST converter converts hyperlink references without matching target
into xlinks to local wiki items using the link text as URI reference.

Replace `wikiutils.normalize_pagename()` with
`nodes.whitespace_normalize_name()` to avoid removing of leading slashes
(cf. issue moinwiki#2016).  Keep case untouched (as in Moin 1.9).

Moin ensures the URI is properly encoded, the wiki-author
must ensure the link text is sane (no "strange" characters).
If required, an author can explicitely specify an URI-reference,
optionally with custom link text (see the rST documentation).
@UlrichB22 UlrichB22 merged commit 293b9f5 into moinwiki:master Oct 31, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants