svp ne menvoyer plus de message et merci davance
"Jeff V. Merkey" jmerkey@wolfmountaingroup.com a écrit : Brion Vibber wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jeff V. Merkey wrote:
The inclusion of MediaWiki: pages in the base Article, templates, etc. dumps, such as the English Wikipedia, cause major problems if you are trying to import these dumps into a Wikipedia enabled for another language. Many of the navigation menu's get trashed and corrupted when these MediaWiki labels for the English Wikipedia are included in the base article and template dumps.
Please describe "trashed and corrupted" by giving specific examples. Also try to describe what "enabled for another language" means.
From language/messages/MessagesChr.php
# Recent changes 'changes' => 'áá¦ááá´áá', 'recentchanges' => 'á¾áᬠáá¦ááá´áá', 'recentchanges-url' => 'á¤á¤áµá:Recentchanges', 'recentchangestext' => 'á¦á á ᢠá¯á á¤áªáá á¾áᬠáá¦ááá´áá á¯á wiki á¾á¿ áªá¯ á¤ááá.',
"recentchanges-url" and other utrl tags end up mapping to their translated constructs as the internal representation. i.e. recentchanges-url ends up rendering as "á¾áᬠáá¦ááá´áá-url" as the page link INTERNALLY rather than "recentchanges-url", even though the internal variable is named something else. This causes the page linking to "á¤á¤áµá:Recentchanges" to end up pointing to a non-existent link. All of the -url variables end up getting corrupted this way.
Does it mean you have configured the wiki to a language different from the language you are importing?
Yes.
Can you explain why you would do this?
Translated Cherokee articles created from the English Wiki dumps.
It sounds like a simple configuration error on your part. The obvious result would be that both articles and customized messages will appear in the language you imported (eg English) instead of the language you set it to.
If you simply want to look at the menu in another language, you probably want to just change your user preference, not the wiki-wide content language.
Hmmm, not sure about this one, but I will investigate this one.
It certainly is ok to include them in the dumps which supposedly contains "everything" (the .7z dumps) but they shoud be stripped out of the base dumps which are supposed to just contain the articles and templates for the articles.
Will consider making that change.
Probably a good idea.
Note that you can exclude a namespace from your import using mwdumper by using the namespace filter, for instance:
--filter=namespace:!NS_MEDIAWIKI
(You can also use mwdumper to filter the XML and feed it into importDump.php or another tool to do the actual import, if you prefer using another tool.)
Thanks. I will update the database dumps page on meta with this information on how to strip out the MediaWiki namespace entries.
Jeff
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF+ZKDwRnhpk1wk44RArW0AJsEdkLliDh1ojn+hXMKyYjS+uOJmgCeLjWj WpHPz577YLDxODL1STIemsI= =ooPk -----END PGP SIGNATURE-----
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
--------------------------------- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.