[pmwiki-users] Core and question marks

Patrick R. Michaud pmichaud at pobox.com
Sun Aug 27 17:01:12 CDT 2006


On Sun, Aug 27, 2006 at 11:41:01AM -0400, The Editor wrote:
> According to the recipe at
> http://www.pmwiki.org/wiki/Cookbook/RemoveQuestionMark
> 
> "If you want all links to non-existent pages in specific groups (even
> when linked to [from] outside of these groups), to continue to link to
> the non-existent page, and to not link to the edit-page, you will have
> to patch your pmwiki.php."

FWIW, when people say "you have to patch pmwiki.php", it's almost
never true in an absolute sense.  One can always create a replacement 
function for LinkPage() in a local script, and have it be used 
instead of PmWiki's normal LinkPage() function.  Thus

    $LinkFunctions['<:page>'] = 'MyCustomLinkPage';

will call MyCustomLinkPage (instead of the built-in LinkPage() function)
whenever PmWiki needs to generate a link to another page.

Pm




More information about the pmwiki-users mailing list