Page MenuHomePhabricator

Beta: ConfigException: GlobalVarConfig::get: undefined option: 'WikiBasePropertyConfig'
Closed, ResolvedPublic

Description

If you don't set wgWikiBasePropertyConfig in your LocalSettings.php you get:

Exception encountered, of type "ConfigException"
[c7ef17a1] /wiki/TestSections ConfigException from line 53 of /var/www/html/w/includes/config/GlobalVarConfig.php: GlobalVarConfig::get: undefined option: 'WikiBasePropertyConfig'
Backtrace:
#0 /var/www/html/w/extensions/MobileFrontend/includes/skins/SkinMinervaBeta.php(32): GlobalVarConfig->get(string)
#1 /var/www/html/w/extensions/MobileFrontend/includes/skins/SkinMinervaAlpha.php(53): SkinMinervaBeta->getSkinConfigVariables()
#2 /var/www/html/w/extensions/MobileFrontend/includes/skins/SkinMinerva.php(239): SkinMinervaAlpha->getSkinConfigVariables()
#3 /var/www/html/w/includes/skins/SkinTemplate.php(229): SkinMinerva->initPage(OutputPage)
#4 /var/www/html/w/extensions/MobileFrontend/includes/skins/SkinMinerva.php(1172): SkinTemplate->outputPage()
#5 /var/www/html/w/extensions/MobileFrontend/includes/skins/SkinMinervaBeta.php(45): SkinMinerva->outputPage(OutputPage)
#6 /var/www/html/w/includes/OutputPage.php(2318): SkinMinervaBeta->outputPage()
#7 /var/www/html/w/includes/MediaWiki.php(685): OutputPage->output()
#8 /var/www/html/w/includes/MediaWiki.php(474): MediaWiki->main()
#9 /var/www/html/w/index.php(41): MediaWiki->run()
#10 {main}

Event Timeline

Florian claimed this task.
Florian raised the priority of this task from to High.
Florian updated the task description. (Show Details)
Florian added a project: MobileFrontend.
Florian subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Florian raised the priority of this task from High to Unbreak Now!.Aug 13 2015, 12:24 PM

Raising priority. Reason: as far as I can see, wgWikiBasePropertyConfig is set in mobile-labs.php, so there is no Exception in beta labs. But it will throw an exception in production, because we haven't set it there.

Change 231257 had a related patch set uploaded (by Florianschmidtwelzow):
Remove unused config options

https://gerrit.wikimedia.org/r/231257

Change 231258 had a related patch set uploaded (by Florianschmidtwelzow):
Follow up "Kill infobox feature"

https://gerrit.wikimedia.org/r/231258

Change 231258 merged by jenkins-bot:
Follow up "Kill infobox feature"

https://gerrit.wikimedia.org/r/231258

Change 231257 merged by jenkins-bot:
Remove unused config options

https://gerrit.wikimedia.org/r/231257