Extension:NetworkLink

Note: This extension is on begining of development and contain security risks, it's not suggested to use it on a public Wiki.

Introduction
Sometimes it's necessary to link to a network drive or a file on LAN. This extension tries to simplify this process and create a link just on copy-paste basis.

Features

 * Options to specify: parent, self, etc. behaviour.

Installation & Configuration

 * 1) Download NetworkLink.php and place it in your 'extensions' folder.
 * 2) Add these lines to LocalSettings.php

require_once("extensions/NetworkLink.php");
 * 1) Activate Link extension

Usage
Copy the network location you want to make link to, then paste it between tags:

Network location

You can also specify behaviour of a new window:

Network location

Will open a new window (and is default). Other options are: self, top, parent.

Alternatives

 * File Link Extension

Misc
It seems that this extension is not working on Firefox.

It seems to mess up the display for MediaWiki 1.6.9

I Get an interal error (using MediaWiki 1.16). Had to add a "return true":

$parser->setHook( "link", "renderNetworkLink" ); return true;

Feedback
Use the discussion page for feedback, questions, request of new features and bug reports.