wiki.techinc.nl/tests/phpunit/data
Brad Jorsch b6fc9067b0 LocalisationCache: Process one fallback at a time
Currently LocalisationCache merges the core data for all languages in
the fallback chain, then the extension data, then merges those two, and
then gives extensions like LocalisationUpdate a chance to make final
overrides with the LocalisationCacheRecache hook.

But if LocalisationUpdate doesn't want to locally duplicate all the
messages for every language (e.g. r104041), LocalisationCacheRecache is
too late: the information as to whether a message came from the primary
language or a fallback has been lost, so when LU itself has an override
for a fallback language it can't know whether or not the existing
message should be overridden or not.

The solution is for LocalisationCache to gather the data for each
fallback language separately, call a new hook for LU to affect just that
language (LocalisationCacheRecacheFallback), and only then merge the
fallback languages together.

Bug: 68781
Change-Id: Iacfe96063fcc66c1f97ca5e5292a8fc70af988cf
2014-09-04 16:56:31 +02:00
..
autoloader Revert "Mechanism for renaming/aliasing classes" 2014-01-11 21:48:30 +00:00
css Make "/*@noflip*/ /*@embed*/" annotation work 2014-08-18 17:40:51 +02:00
cssmin More tests for CSSMin::remap 2013-11-29 18:19:23 +00:00
db Fixed spacing 2013-11-19 19:03:54 +01:00
filerepo Copy various random files used by tests to tests/phpunit/data 2014-06-03 22:52:51 +02:00
gitinfo Support precomputed data in GitInfo 2014-05-05 23:50:12 +00:00
less Make "/*@noflip*/ /*@embed*/" annotation work 2014-08-18 17:40:51 +02:00
localisationcache LocalisationCache: Process one fallback at a time 2014-09-04 16:56:31 +02:00
media Add unit tests for ffmpeg2theora ogg recognition bug 2014-07-04 04:53:22 -03:00
parser Copy various random files used by tests to tests/phpunit/data 2014-06-03 22:52:51 +02:00
upload Copy various random files used by tests to tests/phpunit/data 2014-06-03 22:52:51 +02:00
xmp Fixed spacing 2013-12-01 20:58:51 +01:00
zip