On Mon, Jan 26, 2009 at 12:44 PM, Ilmari Karonen nospam@vyznev.net wrote:
Chad wrote:
I was going to provide a specific parameter for it. That entire key sucks though anyway, I should probably ditch the md5()'d URL in favor of using the actual name. Fwiw: I've got a patch working, but I'm not quite ready to commit it yet. While we're at it, are we sure we want to use $wgLang
and
not $wgContLang? Image description pages are "content", not a part of the interface. That being said, I would think it would be best to fetch
the
information using the wiki's content language.
Well, if you actually visit the description page on Commons, you'll see the templates in your interface language -- that's kind of the _point_ of the autotranslated templates.
Then again, Commons is kind of a special case, since, being a multilingual project, it doesn't _have_ a real content language; in a technical sense its content language is English, but that's only because MediaWiki requires one language to be specified as a content language even if the actual content is multilingual. So I can see arguments either way.
What language is the "shareduploadwiki-desc" message shown in, anyway? Seems to be $wgLang, which would seem to suggest that the actual description should be shown in the interface language too, for consistency.
-- Ilmari Karonen
Should be done with a wiki's content language as of r46372.
-Chad