[pmwiki-users] Upgrade issue, [[para:SomePage]] not converted

John Rankin john.rankin at affinity.co.nz
Tue Feb 8 14:39:44 CST 2005


On Wednesday, 9 February 2005 9:23 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Tue, Feb 08, 2005 at 08:26:33PM +0100, chr at home.se wrote:
>> The 'teaser' stuff from John Rankin isn't upgraded properly, i.e.
>> 	[[para:Group/Page]]
>> should be converted into
>> 	(:para:Group/Page:)
>
>Should it be (:para:Group/Page:)  or  (:para Group/Page:) ?
>
It's (:para Group/Page#anchor:) where anchor is optional.

>> How can I make this happen?  (I've used this directive a
>lot...)
>
>Try:
>
>   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.
>
>Pm
>_______________________________________________
>pmwiki-users mailing list
>pmwiki-users at pmichaud.com
>http://pmichaud.com/mailman/listinfo/pmwiki-users
>


-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list