-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Hu wrote:
When I use importDump.php to import a page that
includes the text
[{{SERVER}}], it seems like I initially get http:/localhost instead
of http://$wgServerName. But this only occurs on the first load, and
it is corrected if I do an edit on the page.
Anyone else seen this? Any ideas about why it's happening and how to
fix it?
$wgServer can't be autodetected sensibly from the web server when you're
not running via the web server, so it defaults to 'http://localhost'.
If you set it explicitly in LocalSettings.php it should stick on the
command-line scripts as well, though.
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGli4owRnhpk1wk44RAv+RAKDOqlxvHWcVFMiB/dAib8c4aXxVQQCdEE1r
3JyO4K0nW0z3w8CbsAmKrQ8=
=v5IN
-----END PGP SIGNATURE-----