Brion Vibber wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jeff V. Merkey wrote:
# 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.
It sounds to me like your problem is that you're running some sort of automated translation on the *contents* of MediaWiki:Sidebar as though it were article text, thus producing a useless, corrupt entry.
In other words, the problem is not that you imported MediaWiki:Sidebar; the problem is that you imported a version of MediaWiki:Sidebar which is meaningless. "Garbage in, garbage out." :)
Can you confirm?
Unconfirmed. The translator skips any article titles which include "MediaWiki:", "Template:", or that contain any ':' characters. At some point, I will enable template translation, but I have to instrument the #if, #expr parser language in the translator to distinguish between tags and valid text entries. The problem is related to MediaWiki: articles overwriting default settings for the language, which could affect any non-English Wiki, though I completely agree with you that my use of MediaWiki with Machine translators is outside of the designed scope of the MediaWiki project.
I do agree, however, that MediaWiki: entries should be stripped out of XML dumps if they just contain articles and template. MediaWiki settings should probably not be included in such dumps if they are going to be imported into a non-English Wiki. For now, I think just documenting it is sufficient.
I leave it to your call if you feel the dumps should exclude some of the MediaWiki settings. Personally, I would advise against it since it is always possible someone could inadvertantly insert some text or content that could create a security exploit or problems with other MediaWiki versions, but as I said, this is your call. I think documenting and understanding there could be a potential issue down the road or if someone uses the MediaWiki software to import dumps across languages there could be compatibility issues.
I would recommend excluding such software configuration pages from your translation tool.
Totally agree.
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+a+PwRnhpk1wk44RAs4yAJ9q4oxqT9hbE5oi50GZVruU+DJodgCgi8oC HK6LKfi3VxRbJkK0x+fx6Hk= =wL/Y -----END PGP SIGNATURE-----
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l