https://bugzilla.wikimedia.org/show_bug.cgi?id=41596
Web browser: ---
Bug #: 41596
Summary: Language objects should only load messages when needed
Product: MediaWiki
Version: 1.21-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Internationalization
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Language objects should use lazy initialization for messages. Currently,
creating a Language object means also loading all messages for that language
into memory.
In some cases, e.g. with Wikibase, content in hundreds of languages needs to be
shown on the same page. For each one, we want the Language object to determine
the language's variants, LTR/RTL status, captialization rules, etc. But we
don't need the actual messages. Currently, we can't zse the Language objects,
because we run out of memory before they are all loaded.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l