[Bug 47501] rebuildLocalisationCache blows up the database with messages for 363 languages

2013-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47501

--- Comment #2 from Karin Haenelt karin.haen...@kontext.fraunhofer.de ---
Yes, because we are running a wiki farm, and if we blow up all the wikis on the
farm we are running out of disk space

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47501] rebuildLocalisationCache blows up the database with messages for 363 languages

2013-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47501

--- Comment #3 from Karin Haenelt karin.haen...@kontext.fraunhofer.de ---
currently we are using a very simple bug fix:
$codes = array_keys( Language::getLanguageNames( true ) ); //1.18.1, and
similar in 1.20.2
$codes = array(en, de, de-formal); // our added line

alternative coding:
$wgOurLanguageCodes = array (...);
if ($wgOurLanguageCodes) {$codes = $wgOurLanguageCodes;}
else $codes = array_keys( Language::getLanguageNames( true ) );

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47501] rebuildLocalisationCache blows up the database with messages for 363 languages

2013-04-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47501

--- Comment #1 from Sam Reed (reedy) s...@reedyboy.net ---
Is database storage a constraint for you?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l