[Wikitech-l] api.php cache-control (was: LanguageSelector bla bla bla)

2009-09-10 Thread Domas Mituzas
Hi! > Speaking of which, could we exempt api.php from this? We could, we may, I just did it, though... can anyone explain the C-C header logic to me? For now I see it is mostly: Cache-Control: s-maxage=0, must-revalidate, max-age=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT Also, opensearch has t

Re: [Wikitech-l] Language variants

2009-09-10 Thread Ilmari Karonen
Tim Starling wrote: > 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 transl

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 gam

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 e

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 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 th

Re: [Wikitech-l] Language variants

2009-09-10 Thread Aryeh Gregor
On Thu, Sep 10, 2009 at 6:44 PM, Roan Kattouw 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 just a string-repla

[Wikitech-l] PHP 5.2.11RC3 Testing

2009-09-10 Thread Ilia Alshanetsky
Hello! You are receiving this email because your project has been selected to take part in a new effort by the PHP QA Team to make sure that your project still works with PHP versions to-be-released. With this we hope to make sure that you are either aware of things that might break, or to

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Roan Kattouw
2009/9/10 Domas Mituzas : > 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 application only, no need

Re: [Wikitech-l] Language variants

2009-09-10 Thread Roan Kattouw
2009/9/10 Trevor Parscal : > On 9/10/09 10:06 AM, Aryeh Gregor wrote: >> On Wed, Sep 9, 2009 at 6:50 PM, Tim Starling  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

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Erik Moeller
2009/9/9 Tisza Gergő : > The LanguageSelector extension [1] can automatically set the interface > language based on browser settings, which is nowadays the norm for > every serious multilanguage web page. It is not used on WMF wikis, > because it would interfere with caching. I'm not convinced usi

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Domas Mituzas
>> > apachebench? How does apachebench help with efficiency? Please consider thinking before posting on this mailing list! Domas ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Language variants

2009-09-10 Thread Helder Geovane Gomes de Lima
2009/9/9 Tim Starling > 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 conversion system is ve

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Brian
On Thu, Sep 10, 2009 at 3:45 PM, Brion Vibber wrote: > On 9/10/09 2:40 PM, Casey Brown wrote: > > On Thu, Sep 10, 2009 at 11:48 AM, Brion Vibber > 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 > >> c

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 Vibber 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 eithe

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Casey Brown
On Thu, Sep 10, 2009 at 11:48 AM, Brion Vibber 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 i

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Domas Mituzas
> As long as Squid isn't overwriting those headers, as we do for > Cache-Control. :) 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 o

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

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 wrote: > 2009/9/10

Re: [Wikitech-l] Language variants

2009-09-10 Thread Helder Geovane Gomes de Lima
2009/9/10 Aryeh Gregor > > On Thu, Sep 10, 2009 at 2:23 PM, Ariel T. Glenn > wrote: > > The differences between the UK and American varieties of English are not > > limited just to spelling and vocabulary. > > Those account for the large majority of the more noticeable > differences, however.

Re: [Wikitech-l] Language variants

2009-09-10 Thread Aryeh Gregor
On Thu, Sep 10, 2009 at 2:23 PM, Ariel T. Glenn wrote: > The differences between the UK and American varieties of English are not > limited just to spelling and vocabulary. Those account for the large majority of the more noticeable differences, however. _

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 wrote: > > I don't know why you're writing this nonsens

Re: [Wikitech-l] Language variants

2009-09-10 Thread Chad
On Thu, Sep 10, 2009 at 1:39 PM, Trevor Parscal wrote: > On 9/10/09 10:06 AM, Aryeh Gregor wrote: >> On Wed, Sep 9, 2009 at 6:50 PM, Tim Starling  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.

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 Starling 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 aloud before clic

Re: [Wikitech-l] Language variants

2009-09-10 Thread Aryeh Gregor
On Wed, Sep 9, 2009 at 6:50 PM, Tim Starling 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. In fact it already d

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

Re: [Wikitech-l] LanguageSelector on strategy wiki

2009-09-10 Thread Brion Vibber
On 9/9/09 6:28 AM, Tisza Gergő wrote: > The LanguageSelector extension [1] can automatically set the interface > language based on browser settings, which is nowadays the norm for > every serious multilanguage web page. It is not used on WMF wikis, > because it would interfere with caching. The str

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) w