Extension talk:FileProtocolLinks

=2007=

Annotations
Hello Edmund, very nice extension! But I have 2 annotations: --FreddyRincon 4 July 2007
 * 1) The LocalLink-Addon is a very good answer to the problems with firefox.
 * 2) Is it really necessary to use the "htmlentities"-Command? I don't have any problems yet without the command. Maybe it is really necessary for $uri. I don't know. But $linktext is only normal text for the wiki. I can't find any reason why this must be converted.


 * >> It seems to be necessary to avoid an XSS vulnerability. --Edmund Mielach 14:28, 5 June 2008 (UTC)

Function for using MediaWiki-variables in the file-path
I wrote a function that gives you the possibility to use MediaWiki-variables in the file-path of this extension.

For example you can do something like this:
 * /subdirname//filename|nice name

You only have to put the function at the end of FileProtocolLinks-extension and replace the line with (Annotation: Like I said above, I think the "htmlentities"-command isn't necessary ;-))

And this is the function: --FreddyRincon 16:09, 6 July 2007 (UTC)

=2008=

Feature request: Info button
I'd love to have a little symbol at the end of the link that allows me to inform users, what they have to do, in ordner to be able to open them. Is this doable? Regards, --Flominator 13:45, 5 June 2008 (UTC)


 * Yes, it is. But not by me at this time. Sorry! You are free to do it yourself. Simply change the following html-code according to your needs: '%s' --Edmund Mielach 14:39, 5 June 2008 (UTC)
 * Thanks. That's exactly the thing I wanted to know :) --Flominator 18:31, 19 June 2008 (UTC)

Need Help to Get it to Work, Please
I've installed XAMPP and MediaWiki on my work laptop to try to organize information and files. I have installed this Extension and I cannot get it to work. I don't why. I added the line to LocalSettings, and added the file to the extensions directory. The ... link shows up in green, but when I click it nothing happens. No click sound or anything. I've tried opening it in another tab and another window, and I've used both IE 7 and Firefox 3. I would really REALLY appreciate any help you all can provide. I think this is the panacea I've been looking for so I'm very excited to get it working. As you can probably tell from this comment I'm quite the Wiki Newbie. :) Thanks for your help!  -Matt 28 July 2008
 * see Extension:FileProtocolLinks --Flominator 07:44, 28 July 2008 (UTC)
 * Flominator, your heart is in the right place, but those limitations have to do with Mozilla products not IE 7. I understand that Firefox adds an extra "/" for some reason. However, the reason it doesn't work with IE is unclear. --42.3.7.254 09:09, 9 May 2012 (UTC)
 * I've got the same configuration. For FF I installed the IETab extension. Open local wiki, switch the rendering engine to IE and it works fine.--TotalBalance 00:35, 25 September 2008 (UTC)

Bug in MediaWiki variables
Hi,

if a MedaWiki variable includes a space, the link breaks. Can easily be tested with Instead of the page name, this is included in the link: (Diese Seite enthält momentan noch keinen Text) Can anyone fix this? -Bernhard

Template Example Does Not Work
The suggested template code link to local file from C:/Directory1/Directory2: C:/Directory1/Directory2/|{{{txt}} does not work in MediaWiki latest 1.13. The reason can be found in the MediaWiki Manual:Tag extensions.

A partly working code would be: link to local file from C:/Directory1/Directory2: But actually, the alternative text will never be displayed... --Uwe Mönks 14:07, 10 February 2009 (CET)

Problem if I use it with FCK editor
If I make the link in the wiki language context, he is deleting out the file out of --90.152.168.13 18:26, 1 April 2009 (UTC) gregor

test if file exists ?
Any way to make it test if the file exists and display an alternative link if not ?

Thanks!

--Goulu 10:34, 15 February 2011 (UTC)

Missing Download link
Where from can I get this extension? There is no link at []

Thanks!

Anyone???

-- SourceCode is inside of the article itself. 5. Sourcecode

Feature request: Link to paths
It would be nice to be able to link to network paths also.

unix
Does this extension also work with unix?

Thanks

=2014=

Open in New Tab (that actually works)
Greetings Edmund,

We just installed the FileProtocolLinks extension in our MediaWiki installation. It’s quite useful.

Would you have a moment to add in one feature? I’d like to be able to right-click on a file link and open it in a new tab. If I do that now in Chrome in Windows 7 -- with the Chrome LocalLinks extension activated -- the opened tab just shows “about:blank”.

Thanks for your help! --Theschles (talk) 20:34, 2 October 2014 (UTC)