In reply to: Message: 9 Date: Fri, 12 Mar 2010 20:44:33 +0300 From: Dmitriy Sintsov questpc@rambler.ru Subject: Re: [Wikitech-l] Uploads on small wikis To: Wikimedia developers wikitech-l@lists.wikimedia.org Message-ID: 596823262.1268415874.80897352.68859@mcgi68.rambler.ru Content-Type: text/plain; charset="us-ascii"; format="flowed"
* Aryeh Gregor Simetrical+wikilist@gmail.com [Fri, 12 Mar 2010 12:31:39 -0500]:
In principle, one could imagine hacking Squid to be smart enough to cache contents and interface separately, and paste them together on view about as quickly as it can serve plain requests now. But I don't know how feasible that would be in practice.
Perhaps an uploading from small wiki to commons via api while small wiki localizes client output with it's own language messages. Or, perhaps some parts of localization can be done with Javascript (which can read cookies, too), again not altering squid caching. Dmitriy
Stupid question, if having the ?uselang parameter can be done without significant problems, wouldn't having javascript that just appeneds ?uselang= <whatevever its set to> to all internal links on a page whenever the url for the current page has ?uselang=<something> also not cause significant problems (well making uselang persist)? (although then again, I'd imagine that would not be much different then the use a cookie solution in terms of caching)
-bawolff