[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Link to local file in wiki

Posted on 2011-03-03
4
Medium Priority
?
875 Views
Last Modified: 2012-05-11
Our company has a corporate wiki and we are trying to include links to local files on the server. The links could be to like \\servername\file or file:///Z:/path/file. We have uniform drive mappings so either would work. I can't seem to find the syntax to get it to work.
I tried using <a href=, but <a> isn't one of the html tags that wikipedia supports.
I'm not sure if I picked good zones or not.
0
Comment
Question by:TommySzalapski
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 9

Expert Comment

by:AriMc
ID: 35032401
Wikimedia doesn't understand smb-links by default. Unless you want to share those files through a web-server, you need to have an extension on you wiki, like this:

   http://www.mediawiki.org/wiki/Extension:SmbLinks

0
 
LVL 37

Author Comment

by:TommySzalapski
ID: 35032566
That says that it will "convert file:///// links to smb:// and vice versa." Neither kind work so what's the point? We all are using Windows, I just can't get any kind of file link to show up as a hyperlink.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 0 total points
ID: 35032702
I may have found it.
Modify the includes/Parser.php and add this line under the lines that look similar
$text = $this->subReplaceExternalLinks( $text, 'file', false );
I'm about to test it out as soon as the vmware player downloads so I can get at the file system.

http://meta.wikimedia.org/wiki/MediaWiki%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94#Is_it_somehow_possible_to_use_a_.22file.22_URI-qualifier_for_local_intranets_e.g._.5Bfile:.2F.2Flocalhost.2FC:_C-Drive.5D.3F
0
 
LVL 37

Author Closing Comment

by:TommySzalapski
ID: 35225515
That worked
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to dynamically set the form action using jQuery.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question