Normally you'd be able to do this with a file URL.
[file://server/folder1 the text to link from]
Notice how the Windows backslashes become slashes in a file URL.
This doesn't seem to work on MediaWiki. This is probably a good thing in general since there's not much use for it outside of a shared filesystem. It could also be a security risk.
Others might be able to tell you how to hack MediaWiki to get this to work. If you find out, let me know. I'd be interested in doing this on my wiki too.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Reiser, Markus Sent: Monday, 5 December 2005 11:26 p.m. To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] link to windows network drive possible ?
Hi folks,
is there a possibility in MediaWiki to create an external link to a windows network folder like \server\folder1 ????
It does not work using syntax of external or internal links ;-(
Hope you can help me ! Thanks
Markus
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Ben Arnold (DSLWN) wrote:
Normally you'd be able to do this with a file URL.
[file://server/folder1 the text to link from]
Notice how the Windows backslashes become slashes in a file URL.
This doesn't seem to work on MediaWiki. This is probably a good thing in general since there's not much use for it outside of a shared filesystem. It could also be a security risk.
Others might be able to tell you how to hack MediaWiki to get this to work. If you find out, let me know. I'd be interested in doing this on my wiki too.
I'm pretty sure this is in the FAQ.
-- brion vibber (brion @ pobox.com)
try using a mapped network drive and use:
file:///<driveletter>|/<pathtofile>/filename
----- Original Message ----- From: "Ben Arnold (DSLWN)" BenA@datacom.co.nz To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Monday, December 05, 2005 2:05 PM Subject: RE: [Mediawiki-l] link to windows network drive possible ?
Normally you'd be able to do this with a file URL.
[file://server/folder1 the text to link from]
Notice how the Windows backslashes become slashes in a file URL.
This doesn't seem to work on MediaWiki. This is probably a good thing in general since there's not much use for it outside of a shared filesystem. It could also be a security risk.
Others might be able to tell you how to hack MediaWiki to get this to work. If you find out, let me know. I'd be interested in doing this on my wiki too.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Reiser, Markus Sent: Monday, 5 December 2005 11:26 p.m. To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] link to windows network drive possible ?
Hi folks,
is there a possibility in MediaWiki to create an external link to a windows network folder like \server\folder1 ????
It does not work using syntax of external or internal links ;-(
Hope you can help me ! Thanks
Markus
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
http://www.mediawiki.org/wiki/Help:%24wgUrlProtocols explains the configuration option needed to add the file:// URL protocol to MediaWiki's list of allowed protocols. In this case, add the line:
$wgUrlProtocols .= '|file://';
to your LocalSettings.php file
Rob Church
On 06/12/05, Isaac Gonzalez youngi@comcast.net wrote:
try using a mapped network drive and use:
file:///<driveletter>|/<pathtofile>/filename
----- Original Message ----- From: "Ben Arnold (DSLWN)" BenA@datacom.co.nz To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Monday, December 05, 2005 2:05 PM Subject: RE: [Mediawiki-l] link to windows network drive possible ?
Normally you'd be able to do this with a file URL.
[file://server/folder1 the text to link from]
Notice how the Windows backslashes become slashes in a file URL.
This doesn't seem to work on MediaWiki. This is probably a good thing in general since there's not much use for it outside of a shared filesystem. It could also be a security risk.
Others might be able to tell you how to hack MediaWiki to get this to work. If you find out, let me know. I'd be interested in doing this on my wiki too.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Reiser, Markus Sent: Monday, 5 December 2005 11:26 p.m. To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] link to windows network drive possible ?
Hi folks,
is there a possibility in MediaWiki to create an external link to a windows network folder like \server\folder1 ????
It does not work using syntax of external or internal links ;-(
Hope you can help me ! Thanks
Markus
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
an even better answer.... thanks for clarifying Rob ;)
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Rob Church Sent: Tuesday, December 06, 2005 4:22 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] link to windows network drive possible ?
http://www.mediawiki.org/wiki/Help:%24wgUrlProtocols explains the configuration option needed to add the file:// URL protocol to MediaWiki's list of allowed protocols. In this case, add the line:
$wgUrlProtocols .= '|file://';
to your LocalSettings.php file
Rob Church
On 06/12/05, Isaac Gonzalez youngi@comcast.net wrote:
try using a mapped network drive and use:
file:///<driveletter>|/<pathtofile>/filename
----- Original Message ----- From: "Ben Arnold (DSLWN)" BenA@datacom.co.nz To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Monday, December 05, 2005 2:05 PM Subject: RE: [Mediawiki-l] link to windows network drive possible ?
Normally you'd be able to do this with a file URL.
[file://server/folder1 the text to link from]
Notice how the Windows backslashes become slashes in a file URL.
This doesn't seem to work on MediaWiki. This is probably a good thing in general since there's not much use for it outside of a shared filesystem. It could also be a security risk.
Others might be able to tell you how to hack MediaWiki to get this to work. If you find out, let me know. I'd be interested in doing this on my wiki too.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Reiser, Markus Sent: Monday, 5 December 2005 11:26 p.m. To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] link to windows network drive possible ?
Hi folks,
is there a possibility in MediaWiki to create an external link to a windows network folder like \server\folder1 ????
It does not work using syntax of external or internal links ;-(
Hope you can help me ! Thanks
Markus
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org