Last modified: 2009-09-02 20:17:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22464, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20464 - update.php fails
update.php fails
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.16.x
All All
: Normal major (vote)
: ---
Assigned To: Tim Starling
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-01 13:02 UTC by Niklas Laxström
Modified: 2009-09-02 20:17 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2009-09-01 13:02:39 UTC
Happens with php maintenance/update.php and with manual re-caching on (I think, because it works on my test wiki where it is off)

...
Deleting old default messages (this may take a long time!)...No localisation cache found for English. Please run maintenance/rebuildLocalisationCache.php.
Backtrace:                                                                                                                                                
#0 /var/www/w/includes/LocalisationCache.php(242): LocalisationCache->initLanguage('en')                                                                  
#1 /var/www/w/includes/LocalisationCache.php(205): LocalisationCache->loadItem('en', 'namespaceNames')                                                    
#2 /var/www/w/languages/Language.php(241): LocalisationCache->getItem('en', 'namespaceNames')                                                             
#3 /var/www/w/languages/Language.php(289): Language->getNamespaces()                                                                                      
#4 /var/www/w/includes/Title.php(470): Language->getNsText(2)                                                                                             
#5 /var/www/w/includes/Title.php(277): Title::makeName(2, 'MediaWiki defau...', '')                                                                       
#6 /var/www/w/includes/User.php(456): Title::makeTitleSafe(2, 'MediaWiki defau...')                                                                       
#7 /var/www/w/includes/User.php(251): User::idFromName('MediaWiki defau...')                                                                              
#8 /var/www/w/includes/User.php(1425): User->load()                                                                                                       
#9 /var/www/w/includes/User.php(2053): User->getId()                                                                                                      
#10 /var/www/w/maintenance/deleteDefaultMessages.php(43): User->addGroup('bot')                                                                           
#11 /var/www/w/maintenance/updaters.inc(1148): DeleteDefaultMessages::reallyExecute()                                                                     
#12 /var/www/w/maintenance/update.php(42): do_all_updates(false, true)                                                                                    
#13 {main}
Comment 1 Roan Kattouw 2009-09-01 14:16:59 UTC
Assigning to Tim.

I thought the update script bypassed the l10ncache?
Comment 2 Alexandre Emsenhuber [IAlex] 2009-09-01 19:20:24 UTC
Confirmed with $wgLocalisationCacheConf['manualRecache'] = true;
A simple way to fix this is to add $this->manualRecache = false; in LocalisationCache::disableBackend().
Comment 3 Alexandre Emsenhuber [IAlex] 2009-09-02 20:17:00 UTC
Fixed in r55761.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links