logo       

Re: Changing Free Edit Rules: msg#00100

web.wiki.pmwiki.user

Subject: Re: Changing Free Edit Rules

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@xxxxxxxxxxxx
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise