Konstrukt::Plugin::wiki::markup::link::file - Plugin to handle links to internal files.
See "SYNOPSIS" in Konstrukt::Plugin::wiki::markup::linkplugin.
This one will be responsible for all internal files.
A link to the file will be created. If the target file doesn't exist, the user may upload it.
Note that the filename will be normalized. All characters but letters, numbers, parenthesis and dots will be replaced by underscores.
Implicit
file:somefile.zip
Explicit
[[file:some other file.rar|with a different link text]]
See "matching_regexps" in Konstrukt::Plugin::wiki::markup::linkplugin for a description.
Initialization.
Installs the templates.
Parameters:
none
See "handle" in Konstrukt::Plugin::wiki::markup::linkplugin for a description.
This one uses the same trick as "handle" in Konstrukt::Plugin::wiki::markup::link::article.
$link - The link string.
Won't do anything in the prepare run.
$tag - Reference to the tag (and its children) that shall be handled.
Here we will decide which link should be returned. Either one for dead links or one for links, that are alive.
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.
Konstrukt::Plugin::wiki
To install Konstrukt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Konstrukt
CPAN shell
perl -MCPAN -e shell install Konstrukt
For more information on module installation, please visit the detailed CPAN module installation guide.