an improvement:

write a template called "f" (for "file) that will automatically added
the "file:///" (or "file:///Z:") at the beginning.  Then your users
will type something like:

{{f|Z:/my project/final results.pdf}}

Less to type, and you don't have to keep track of how many slashes you
put after the "file:".
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Haim (Howard) Roman
Computer Center, Jerusalem College of Technology
Phone: 052-8-592-599 (6022 from within Machon Lev)


On Fri, Nov 6, 2009 at 20:57, Kushal Koolwal <[email protected]> wrote:
...
> Right now I am using string replacement extension and created a template 
> called "Delspace" with following function:
>
> {{#replace:{{{1}}}| |%20}}
>
> and I am using the template in our wiki articles like this (for example):
> [{{delspace|file///Z:/my project/final results.pdf}} Link to results.pdf]

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to