[pmwiki-users] Mediawiki to PmWiki migration - how to preserve old links

Crisp, Steve [UK] SCRISP at ngms.eu.com
Sun Jan 14 13:16:08 CST 2007


Thanks Andrew, exactly what I was after.  When I'm finished with this migration and iron out any more issues I'll write a Cookbook item on PmWiki covering MediaWiki to PmWiki migration and backwards compatibility.

Andrew wrote:

> Assuming I've understood you right, you want
> Reading_and_Writing_to_ECU = ReadingAndWritingToECU
>
> <?php
>    $title = @$_REQUEST['title'];
>    $title = str_replace('_', ' ', $title);
>    $title = ucwords( $title );
>    $title = str_replace(' ', '', $title);
>    header("Location:
> http://scoobypedia.co.uk/enginuity/index.php/Enginuity/$title <https://mail.ngms.eu.com:2000/exchweb/bin/redir.asp?URL=http://scoobypedia.co.uk/enginuity/index.php/Enginuity/$title> 

-Steve.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070114/6b3c173e/attachment.html 


More information about the pmwiki-users mailing list