[pmwiki-users] Upgrade issue, [[para:SomePage]] not converted
chr at home.se
chr at home.se
Tue Feb 8 14:58:40 CST 2005
On Tue, 8 Feb 2005, Patrick R. Michaud wrote:
> include_once('scripts/compat1x.php');
> $Compat1x = array_merge(
> array('/\\[\\[para:(.*?)\\]\\]' => '(:para:$1:)'),
> $Compat1x);
>
> If that works, I'll add this entry into the official compat1x.php script
> so it'll be there for others who want to convert this markup.
It seems to work, but there was a '/' missing, use:
$Compat1x = array_merge(
array('/\\[\\[para:(.*?)\\]\\]/' => '(:para $1:)'),
$Compat1x);
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list