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}

Details

Related Gerrit Patches:
operations/mediawiki-config : masterRemove unused config options
mediawiki/extensions/MobileFrontend : masterFollow up "Kill infobox feature"

Event Timeline

Florian created this task.Aug 13 2015, 12:22 PM
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 added a subscriber: Florian.
Restricted Application added a project: Readers-Web-Backlog. · View Herald TranscriptAug 13 2015, 12:22 PM
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

Florian moved this task from Backlog to Bugs on the MobileFrontend board.Aug 13 2015, 12:55 PM
Florian moved this task from Incoming to 2017-18 Q3 on the Readers-Web-Backlog board.

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

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

Florian closed this task as Resolved.Aug 13 2015, 4:21 PM

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

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

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptMar 7 2018, 1:11 AM