As for the preview - go to a page, edit it, write "{{SERVER}}" in the contents, and preview it.
By the way, you should also add the variable $wgServerName, which should be without the "http://" (something like "hostname.domain.com").
Dave Burns wrote:
On 4/6/06, Rotem Liss mail@rotemliss.com wrote:According to http://www.mediawiki.org/wiki
/Help:$wgServer, $wgServer should also include the "http".
So I added something like: $wgServer = "http://hostname.domain.com";
And it works now! Yayyy!!!!
Thank you thankyou!
Also, try to preview a page with the variable "{{SERVER}}" - in
Wikimedia projects, it shows things like "http://meta.wikimedia.org"; what about your wiki?
How to preview a page with a variable? When I type in the URL http://hostname.com/wiki/%7B%7BSERVER%7D%7D (with SERVER being literal) it sent me to http://hostname.com/wiki/%7B%7BSERVER%7D%7D, pretty sure this is not what you mean, but it was my only guess.
mahalo, Dave _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l