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





--- Comment #20 from OverlordQ <[email protected]>  2009-07-03 19:50:01 UTC 
---
I'd assume the updaters get ran in the order specified in the config, if this
assumption is wrong, the follow is false:

do_populate_parent_id get's called in the 1.13 section, but l10n isnt' created
until the 1.16 section.

These updaters dont seem to be defined for PG so I simulated by deleting the
l10n table, not run update.php but run populateCategory.php first. The
backtrace is similar as when running update.php:

==
A database error has occurred
Query: SELECT  lc_value  FROM l10n_cache  WHERE lc_lang = 'en' AND lc_key =
'deps'  LIMIT 1
Function: LCStore_DB::get
Error: 1 ERROR:  relation "l10n_cache" does not exist

Backtrace:
#0 /var/www/mysite.com/wiki/includes/db/Database.php(502):
DatabasePostgres->reportQueryError('ERROR:  relatio...', 1, 'SELECT 
lc_valu...', 'LCStore_DB::get', false)
#1 /var/www/mysite.com/wiki/includes/db/Database.php(838):
DatabaseBase->query('SELECT  lc_valu...', 'LCStore_DB::get')
#2 /var/www/mysite.com/wiki/includes/db/Database.php(918):
DatabaseBase->select('l10n_cache', Array, Array, 'LCStore_DB::get', Array,
Array)
#3 /var/www/mysite.com/wiki/includes/LocalisationCache.php(725):
DatabaseBase->selectRow('l10n_cache', Array, Array, 'LCStore_DB::get')
#4 /var/www/mysite.com/wiki/includes/LocalisationCache.php(299):
LCStore_DB->get('en', 'deps')
#5 /var/www/mysite.com/wiki/includes/LocalisationCache.php(324):
LocalisationCache->isExpired('en')
#6 /var/www/mysite.com/wiki/includes/LocalisationCache.php(242):
LocalisationCache->initLanguage('en')
#7 /var/www/mysite.com/wiki/includes/LocalisationCache.php(205):
LocalisationCache->loadItem('en', 'namespaceNames')
#8 /var/www/mysite.com/wiki/languages/Language.php(241):
LocalisationCache->getItem('en', 'namespaceNames')
#9 /var/www/mysite.com/wiki/languages/Language.php(289):
Language->getNamespaces()
#10 [internal function]: Language->getNsText(14)
#11 /var/www/mysite.com/wiki/includes/StubObject.php(58):
call_user_func_array(Array, Array)
#12 /var/www/mysite.com/wiki/includes/StubObject.php(117):
StubObject->_call('getNsText', Array)
#13 [internal function]: StubContLang->__call('getNsText', Array)
#14 /var/www/mysite.com/wiki/includes/Title.php(470):
StubContLang->getNsText(14)
#15 /var/www/mysite.com/wiki/includes/Title.php(277): Title::makeName(14,
'Main_Pages', '')
#16 /var/www/mysite.com/wiki/includes/Category.php(88):
Title::makeTitleSafe(14, 'Main_Pages')
#17 /var/www/mysite.com/wiki/maintenance/populateCategory.inc(57):
Category::newFromName('Main_Pages')
#18 /var/www/mysite.com/wiki/maintenance/populateCategory.php(53):
populateCategory('', 10, 0, 1)
#19 {main}
===


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to