[Pmwiki-users] (no subject)
Patrick R. Michaud
pmichaud
Sun Nov 9 20:47:41 CST 2003
How about something like (in local.php):
function MyFmtUrlLink($pat,$ref,$txt) {
if ($txt=='' && preg_match('/^([^:]*):(.*)$/',$ref,$match)
&& @$InterMapUrls[$match[1]]) $txt=$match[2];
return FmtUrlLink($pat,$ref,$txt);
}
$FmtUrlLink = 'MyFmtUrlLink';
I haven't tested this at all, but it ought to be pretty close to
workable.
Pm
On Sunday, November 9, 2003, 6:01:56 PM, you wrote:
> Has anyone tried to eliminate the wiki title from the interwiki map
> link.
> For instance when I edit a page I enter Meatball:WikiIdeas I would like
> it to be represented as WikiIdeas when the page is rendered.
> I would like to do this from local.php if possible.
> Thanks,
> Ross
> _______________________________________________
> 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