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