Topic on Template talk:Path
Could the "file://"
protocol be added to $wgUrlProtocols in LocalSettings.php?
Looks like there was a fair amount of discussion on the internet over the past decades on how to handle file://
links, but now it seems that after some configuration, the most popular browsers support it.
It may require some explanation (or linking out to some explanation) about how to enable it in browsers firefox] (from a quick search, there's probably a better one somewhere else) and the same for warnings.