-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Platonides wrote:
Brion Vibber wrote:
The page_title field is limited to 255 bytes; you
should probably check
if your namespaces are set up properly. If they are not, the
'Wikipedia:' portion will be injected into the main title instead of
being used in the namespace as designed.
Having WikiGadugi as ns:project may be making trouble here. Shouldn't it
be translated into proper namespace id per the namespaces tag? Hmm, you
seem to have (the same) content both on WikiGadugi:* and Wikipedia:*...
Ok, I think I found why I couldn't reproduce the bug; 'wikipedia' is set
up as an interwiki prefix on my test wiki, which leads to somewhat funny
behavior on import. (The prefix is stripped.) Using the actual namespace
selection also produces the correct behavior (correct namespace
interpolation).
A quick note on namespaces and import: currently mwdumper interprets
namespace prefixes and numbers purely according to the <siteinfo>
namespace list; importDump.php and Special:Import interpret them
according to the local wiki's configuration.
In theory it would be possible to do a match-by-number for the wiki's
import as well, though it's not clear that's always desirable. (For
instance for custom namespaces it could produce garbage, with utterly
mismatched namespaces.)
Swapping the name to a same-length one which is not a registered prefix,
I do get the Null failure. Will poke about to work around that.
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGDCGFwRnhpk1wk44RAjXyAKDOw5BgDsstuxc/q2w31kz/qz2UrgCgyF+a
lDZXLhClGAt5NBqslcniqlQ=
=MoAK
-----END PGP SIGNATURE-----