https://bugzilla.wikimedia.org/show_bug.cgi?id=67318
Bug ID: 67318
Summary: messages from skin i18n not loaded for $wgLanguageCode
!= en
Product: MediaWiki
Version: 1.24-git
Hardware: All
OS: All
Status: NEW
Keywords: code-update-regression
Severity: normal
Priority: Unprioritized
Component: Skin and page rendering
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
I have $wgLanguageCode = "de" and see a plain "<vector-more-actions>" in my
gui.
Problem exists since gerrit 135413, where the message was moved to extra i18n
file and a extra require_once is used to load the Vector.php and with that the
entry for $wgMessagesDirs.
This all is happen in Setup.php *after* the init of global $wgContLang.
The init is using Language::factory, which calls Language::newFromCode which
calls Language::getFallbacksFor. getFallbacksFor now needs the fallback list
from LocalisationCache. The first call to LocalisationCache will init the cache
the cache, which used the existing items from $wgMessagesDirs. The Vector part
is not added, because that is done later. So the cache is build without the
messages from the skins.
Actually solution: Copy the require_once to LocalSettings.php.
--
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