Description
Given a page with an anchor see the HelpOnMacros page there is an anchor #here (notice that bracketed http url links work) but the following bracketed wiki links as described in HelpOnLinking don't generate correct links '#' is changed to %23 so anchor is not found. Also, we get the leading ? that indicates that the page doesn't exist!
Steps to reproduce
- do this... (create wiki raw text like below)
* [wiki:Self:HelpOnMacros#here] I expected this to find the HelpOnMacros page - not to think it doesn't exist * [wiki:Self:HelpOnMacros#here] * [wiki:Self:HelpOnMacros#here same as above, but with custom link to #here] * HelpOnMacros#here - not a wiki word (OK) * ["HelpOnMacros#here"]
and I expect to see that this known HelpOnMacros page wouldn't be marked as unknown
HelpOnMacros#here I expected this to find the HelpOnMacros page - not to think it doesn't exist
HelpOnMacros#here - not a wiki word (OK)
Details
Problem is reproducible here on http://moinmoin.wikiwikiweb.de/MoinMoinBugs/BracketURLwithAnchorParsedAndLinkedWrong
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Workaround
use moinmoin 1.3.5 instead of 1.5 or http bracketed url's
Discussion
Plan
- Priority: medium
Assigned to: FlorianFesti
- Status: fixed in patch 149