Rewritten $wgAdaptiveMessageCache
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Wed, 24 Oct 2012 14:59:37 +0000 (14:59 +0000)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 26 Oct 2012 19:48:52 +0000 (12:48 -0700)
commitbda755617ed2eed30934d21d1e0d84f619a523d3
treeea4ee80551e6187fe1ece75e9844a2bc8bb7409d
parent1014c7fad961e605d18129f9e4796200cb16e482
Rewritten $wgAdaptiveMessageCache

This was developed for translatewiki.net, which has but
millions of messages in MediaWiki namespace. To avoid
exploding the message cache, not all of them can be
loaded. Instead of logging what messages have been
requested, now it uses the fact that if the
message has not been customised in the
site language, there is most likely
no reason to load it in any other
language either.

Change-Id: I6dd81b3858acfd2b73332e46668d46015e99c748
includes/DefaultSettings.php
includes/Wiki.php
includes/cache/MessageCache.php