I am using Media wiki 1.25.1, tried chrome, firefox, IE11.
I would want to open an external link of a drive for example. So, I have tried a couple of ways but none seem to work for me. I have added the following in my LocalSettings.php: $wgUrlProtocols[] = 'file://'; $wgExternalLinkTarget = '_blank';
Case 1: Then in the wiki page, i added: [file://Q:/Document/]
I tried clicking it with IE, nothing came up, no explorer open. No response. When i hover over the link, it is the correct link that i need: file:///Q:/Document/ When I paste this link on the IE address bar; it opens the directory explorer.
Case 2: Then i tried UNC Template: https://www.mediawiki.org/wiki/UNC_links I added the following link into mediawiki page: [file:///{{#replace:{{#replace: \\home_network\Document| |%20}}|\|/}} ]
When i hover my mouse i get: file://home_network/Document/ When i click on the link, nothing happens in the browser. When I paste this link on the IE address bar; it opens the directory explorer.
Hope someone can help me with this.
Thanks! AT