Thanks! Great when you know how!
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dantman
Sent: 15 May 2007 12:38
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] External vs Relative links question
The {{SERVER}} variable can help you with that. You'd use
[{{SERVER}}/com/mydir/somefile] and when you move to a new domain the
variable will change.
~Daniel Friesen of The Gaiapedia and Wikia Graphical Entertainment Project
Alex Le Bek wrote:
I have installed a wiki as part of my website tree. I
need to refer to
pages
(eg film clips) outside of the wiki installation but
within the domain of
the website. Is there a way to do this with relative path syntax
eg. [../mydir/somefile] !
I do not want to hard code [
http://www.mydomain/com/mydir/somefile] as I
will be moving the wiki to a different domain (but with the same directory
structure) which I would like to do without having to rename all the
links.
Any thoughts most welcome!
Alex
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l