I really should have just tried it before posting.
On Jul 16, 2007, at 11:03 AM, Jim Hu wrote:
<snip>
- setting $wgServer will work, but only if I set it
somewhere where
it won't be reset to localhost by importDump. i.e. I should set it in
AdminSettings.php?
This worked! I put $wgServer = 'ecoliwiki.org' in AdminSettings.php,
and now the link shows up correctly. I'm thinking perhaps this
should be put into the sample file?
- {{SERVER}} will get confused either way if I have
different URLs
pointing to the same wiki? In my case, I have
ecoliwiki.org,
ecoliwiki.net, and
ecoliwiki.com. To fix this, I should do some
rewrite rules.
As predicted, it shows as .org even if I access the site as .net.
Editing in .net changes the link to .org, even if I view from .org.
So... off to learn more about mod rewrite!
JH
Jim
On Jul 12, 2007, at 12:04 PM, Jim Hu wrote:
On Jul 12, 2007, at 11:40 AM, Brion Vibber
wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Hu wrote:
I guess I wasn't clear. After running
importDump.php (but not
rebuildAll.php), I view the imported page via the web server by
opening or reloading it in a browser. I know that it's not a
browser
cache problem because other content on the page changes (or it's
the
first time that page has ever been viewed).
It'd be in the parser cache.
Ah! I'll try to learn more about how the parser cache works. Is
there an obvious way to clear it just for the imported pages? I can
log which ones need it during generation of the imported pages. Or
will one of the rebuild scripts take care of it.
Thanks!
<snip>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054