https://bugzilla.wikimedia.org/show_bug.cgi?id=41103

--- Comment #11 from Pavel Selitskas <[email protected]> ---
Is there that much to lazy in terms of messages? I can see only
$preloadedMessages loaded in LocalisationCache for other languages in ViewItem
(plus everything needed for wgContLang/wgUserLang, and for $preloadedMessages,
fallback chain is respected, thus loading every language in a fallback chain).
RTL, as it was stated above, is not a big deal either.

On the other hand, even $preloadedMessages for, let's say, 25 languages... how
much memory does it take? We can postpone self::getLocalisationCache() call
until the first message is requested, but the effect of such "optimization"
will be smoothed, because $rtl, fallback encodings, namespaces, etc. all belong
to Messages file, which is loaded and cared by LocalisationCache (which will
anyway load $preloadedMessages).

Writing a work-around for LocalisationCache (if the issue is actually in
$preloadedMessages) is the worst case resolution for the issue imho.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to