-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Krishna Pagadala wrote:
Hi All,
I am trying to build a hard drive to send to schools
in India. And I want to mirror enwikitionary.
I use the commands (at the end of the email)
There is something in the sql file that is generated
from wikipedia that makes my local copy of
enwiktionary redirect back to
en.wiktionary.org with a
302 code.
1) The main page is defined as 'Wiktionary:Main Page'
2) You do not have a 'Wiktionary' namespace defined locally
3) You have interwiki redirects enabled
4) You have a 'Wiktionary' interwiki set, pointing at
en.wiktionary.org
As a result:
1) Going straight in sends you to [[Wiktionary:Main Page]]
2) that's not a local page
3) it's a remote page on
en.wiktionary.org
4) your wiki is configured to send you over there via a redirect
References:
http://freeknowledge.dyndns.org/enwiktionary/index.php/MediaWiki:Mainpage
An XML export which includes the namespace list, showing 'entionary' in
the project namespace slot (namespace 4):
http://freeknowledge.dyndns.org/enwiktionary/index.php/Special:Export/foo
For best compatibility, change the local project namespace or all links
into it will fail. For a quick fix, edit [[MediaWiki:Mainpage]] to point
to the localized form of the title.
- -- brion vibber (brion @
pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFFkcQ1wRnhpk1wk44RAtmtAKDIp2QIFY4VFUF08sYrRP1ENm5dKQCdF/KQ
1JT0Z5yheKOGc18/z8g4JmU=
=Q5AS
-----END PGP SIGNATURE-----