Extension:NetworkLink
|
Link Release status: unknown |
|
|---|---|
| Description | Creates a link to a network location. |
| Author(s) | Aretai |
| Last version | 1.0.0 (2007-02-01) |
| MediaWiki | 1.6.7 and above |
| License | No license specified |
| Download | Extension:NetworkLink/NetworkLink.php |
|
Check usage (experimental) |
|
Note: This extension is on begining of development and contain security risks, it's not suggested to use it on a public Wiki.
Contents |
[edit] 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.
[edit] Features
- Options to specify: parent, self, etc. behaviour.
[edit] Installation & Configuration
- Download Link.php and place it in your 'extensions' folder.
- Add these lines to LocalSettings.php
# Activate Link extension
require_once("extensions/Link.php");
[edit] Usage
Copy the network location you want to make link to, then paste it between tags:
<link>Network location</link>
You can also specify behaviour of a new window:
<link target="blank">Network location</link>
Will open a new window (and is default). Other options are: self, top, parent.
[edit] Alternatives
[edit] 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;
[edit] Feedback
Use the discussion page for feedback, questions, request of new features and bug reports.
