Jump to content

Topic on Project:Village Pump

Summary by Jdforrester (WMF)

Please follow-up at T227147.

Cfschulte 314 (talkcontribs)

I'm testing them upgrade from MW 1.32.x to MW 1.33.0. Running php maintenance/update.php always results in thrown errors and the documentation is leading me in circles. Any thoughts?

Thanks, Chris

PHP Fatal error:  Uncaught InvalidArgumentException: A non-empty prefix must end with "_". in .../includes/libs/rdbms/database/domain/DatabaseDomain.php:58
Stack trace:
#0 .../includes/WikiMap.php(295): Wikimedia\Rdbms\DatabaseDomain->__construct('it', NULL, 'it')
#1 .../includes/objectcache/ObjectCache.php(157): WikiMap::getCurrentWikiDbDomain()
#2 .../includes/objectcache/ObjectCache.php(174): ObjectCache::getDefaultKeyspace()
#3 .../includes/objectcache/ObjectCache.php(137): ObjectCache::newFromParams(Array)
#4 .../includes/ServiceWiring.php(232): ObjectCache::newFromId(0)
#5 .../includes/libs/services/ServiceContainer.php(430): Wikimedia\Services\ServiceContainer->{closure}(Object(MediaWiki\MediaWikiServices))
#6 .../includes/libs/services/ServiceContainer.php(414): Wikimedia\Services\ServiceContainer->createService('LocalServerObje...')
#7 .../includes/MediaWikiServices.php(625): Wikimedia\Services\ServiceC in .../includes/libs/rdbms/database/domain/DatabaseDomain.php on line 58
MarkAHershberger (talkcontribs)
MarkAHershberger (talkcontribs)

It looks like the change was made to enforce a convention, but no precaution was taken to protect or warn people who haven't been following the convention.

AKlapper (WMF) (talkcontribs)