Extension talk:FileProtocolLinks

Hello Edmund, very nice extension! But I have 2 annotations:
 * 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.

Function for using MediaWiki-variables in the file-path
--FreddyRincon 16:09, 6 July 2007 (UTC)

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: