Re: [Wikitech-l] Language variants

2009-09-10 Thread Platonides
Helder Geovane Gomes de Lima wrote: But I wasn't able to create a param default in order we could set which of the variants will be shown by default for anonymous users. It would be good if we could use {{Language variations| default = pt-br | pt = word 1| pt-br = word 2}} to get: (a) word 2,

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Domas Mituzas
Mark, how hard would it be in theory to swap some settings around to make one of our low-traffic sites take different caching characteristics, like leaving just strategy.wikimedia.org with either a Vary: Accept-Language or just having it not cache as much? thats not squid setting, one can

Re: [Wikitech-l] Language variants

2009-09-10 Thread Aryeh Gregor
On Wed, Sep 9, 2009 at 6:50 PM, Tim Starling tstarl...@wikimedia.org wrote: I don't know why you're writing this nonsense, you obviously haven't looked at the code at all. This paragraph is unnecessary. The language variant system that we have could easily convert between US and UK English.

Re: [Wikitech-l] Language variants

2009-09-10 Thread Trevor Parscal
On 9/10/09 10:06 AM, Aryeh Gregor wrote: On Wed, Sep 9, 2009 at 6:50 PM, Tim Starlingtstarl...@wikimedia.org wrote: I don't know why you're writing this nonsense, you obviously haven't looked at the code at all. This paragraph is unnecessary. Seriously! Please read things

Re: [Wikitech-l] Language variants

2009-09-10 Thread Ariel T. Glenn
The differences between the UK and American varieties of English are not limited just to spelling and vocabulary. Ariel Στις 10-09-2009, ημέρα Πεμ, και ώρα 13:06 -0400, ο/η Aryeh Gregor έγραψε: On Wed, Sep 9, 2009 at 6:50 PM, Tim Starling tstarl...@wikimedia.org wrote: I don't know why you're

Re: [Wikitech-l] Language variants

2009-09-10 Thread Mark Williamson
It might be possible to make it apply to the edit page as well, but in zh.wp, sr.wp, and kk.wp currently it does not. I'm guessing (could be wrong) that it would eat up a lot more resources. Mark skype: node.ue On Thu, Sep 10, 2009 at 11:49 AM, Helder Geovane Gomes de Lima

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Brion Vibber
On 9/10/09 9:04 AM, Domas Mituzas wrote: Mark, how hard would it be in theory to swap some settings around to make one of our low-traffic sites take different caching characteristics, like leaving just strategy.wikimedia.org with either a Vary: Accept-Language or just having it not cache as

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Casey Brown
On Thu, Sep 10, 2009 at 11:48 AM, Brion Vibber br...@wikimedia.org wrote: Mark, how hard would it be in theory to swap some settings around to make one of our low-traffic sites take different caching characteristics, like leaving just strategy.wikimedia.org with either a Vary: Accept-Language

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Brion Vibber
On 9/10/09 2:40 PM, Casey Brown wrote: On Thu, Sep 10, 2009 at 11:48 AM, Brion Vibberbr...@wikimedia.org wrote: Mark, how hard would it be in theory to swap some settings around to make one of our low-traffic sites take different caching characteristics, like leaving just

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Brian
On Thu, Sep 10, 2009 at 3:45 PM, Brion Vibber br...@wikimedia.org wrote: On 9/10/09 2:40 PM, Casey Brown wrote: On Thu, Sep 10, 2009 at 11:48 AM, Brion Vibberbr...@wikimedia.org wrote: Mark, how hard would it be in theory to swap some settings around to make one of our low-traffic sites

Re: [Wikitech-l] Language variants

2009-09-10 Thread Helder Geovane Gomes de Lima
2009/9/9 Tim Starling tstarl...@wikimedia.org The language variant system that we have could easily convert between US and UK English. In fact it already does convert between a language pair with a far more complex relationship, that is Simplified and Traditional Chinese. The language

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Roan Kattouw
2009/9/10 Domas Mituzas midom.li...@gmail.com: Squid is overriding at the edge all text content CC headers into: Cache-Control: private, s-maxage=0, max-age=0, must-revalidate MediaWiki Cache-Control is used internally though. This allows us full control on lifetime of object with

Re: [Wikitech-l] Language variants

2009-09-10 Thread Aryeh Gregor
On Thu, Sep 10, 2009 at 6:44 PM, Roan Kattouw roan.katt...@gmail.com wrote: Seems I'm not the only one who had a completely wrong idea about how variants work. We definitely need more documentation and fame for this system, so its potential doesn't go to waste. I theoretically knew that it was

Re: [Wikitech-l] Language variants

2009-09-10 Thread Tim Starling
Aryeh Gregor wrote: On Thu, Sep 10, 2009 at 6:44 PM, Roan Kattouw roan.katt...@gmail.com wrote: Seems I'm not the only one who had a completely wrong idea about how variants work. We definitely need more documentation and fame for this system, so its potential doesn't go to waste. I

Re: [Wikitech-l] Language variants

2009-09-10 Thread Helder Geovane Gomes de Lima
Hello! I think the code is these: http://svn.wikimedia.org/doc/LanguageConverter_8php-source.html#l00018 http://svn.wikimedia.org/doc/LanguageZh_8php-source.html#l9 and a comment at http://svn.wikimedia.org/doc/LanguageConverter_8php-source.html#l00258 says: 00271 /* we convert everything

Re: [Wikitech-l] Language variants

2009-09-10 Thread Tim Starling
Ariel T. Glenn wrote: The differences between the UK and American varieties of English are not limited just to spelling and vocabulary. Note that the -{...}- structure is available in wikitext to translate article-specific fragments of text, so you can also translate worldview: A popular game