currentTiddler in function - Is this odd or am I missing something?

I’m not quite clear about the context. But if you’re trying to link from a wiki served over http(s)://... to one served as file:///..., then browsers are not going to allow that, for some important security reasons.