[Pmwiki-users] Changing Free Edit Rules

Patrick R. Michaud pmichaud at pobox.com
Wed Jun 18 15:33:20 CDT 2003


Sure, you can change the free link rules, but I'd be a bit
concerned about using the single brackets--there might be
some unintended conflicts with some of the double-bracket
notations.

However, given that caveat, to make [Free Link] work as a PmWiki
free link you may be able to just do:

$FreeLinkPattern="\\[(?>([A-Za-z][A-Za-z0-9]*(?:(?:[\\s_]*|-)[A-Za-z0-9]+)*)(?:\\|((?:(?:[\\s_]*|-)[A-Za-z0-9])*))?)\\]((?:-?[A-Za-z0-9]+)*)";

And no, I don't know of an easy way to automatically import pages
from another wiki, but I'd be willing to try to write a script to
do it (converting the FreeLinks to PmWiki-style links in the process) if 
it'd be very useful.

Pm


On Wed, Jun 18, 2003 at 09:09:36PM +0200, Ryan Orrock wrote:
> Is it possible to change the free link rules?
> 
> For instance: My old Wiki used [Free Link] for free words instead of {{Free
> Link }}.
> 
> Now, I don't want to go have to edit them all after importing the
> information (and BTW--Is there an easy way to import another Wiki? I was
> using PHPWiki.)
> 
> Thanks,
> Ryan
> 
> 
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> 




More information about the pmwiki-users mailing list