00148: compat1x.php false rendering of links with anchors

Summary: compat1x.php false rendering of links with anchors
Created: 2004-11-09 08:11
Status: Closed - fixed for 2.0.devel25
Category: Bug
From: Klonk
Assigned:
Priority: 2
Version: 2.0 devel23
OS:

Description: I open old files to save them in new format.

The following happens:
Markup old (1.x):

[[SomeLink/SomeLink#Test Some Text]]

is converted to:

[[[[SomeLink/SomeLink]]#Test Some Text]]

but should be:

[[SomeLink/SomeLink#Test |Some Text]]


Hmm, this isn't happening for me--can I see a real world example somewhere? For example, I've added

   [[SomeLink/SomeLink#Test link text]]

to the PmWiki 1 site (http://www.pmwiki.org/wiki/Test/ConvertAnchor?action=edit), and it's being correctly converted under PmWiki 2 (http://www.pmwiki.org/work/convert-test/pmwiki.php/Test/ConvertAnchor?action=edit).

So, I need a better example...? --Pm


We have the same problem here, with ApfelWiki. I have copied an example to the PmWiki 1 site (http://www.pmwiki.org/wiki/Test/ConvertAnchor?action=edit), and the bug is reproduced under PmWiki 2 (http://www.pmwiki.org/work/convert-test/pmwiki.php/Test/ConvertAnchor?action=edit).

--kt007


Ah, the problem was with free links followed by anchors [[{{free link}}#Test link text]]. Fixed for 2.0.devel25. --Pm