Last modified: 2014-06-24 05:38:26 UTC
Warning: JsonConfig: Invalid $wgJsonConfigs['JsonZeroConfig']: Model 'JsonZeroConfig' is already registered in $wgContentHandlers to Extensions\ZeroRatedMobileAccess\ZeroConfigContentHandler [Called from JsonConfig\JCSingleton::init in /srv/mediawiki/extensions/JsonConfig/includes/JCSingleton.php at line 71] in /srv/mediawiki/includes/debug/Debug.php on line 303 #0 MWDebug::sendMessage(), called at [/srv/mediawiki/includes/debug/Debug.php:157] #1 MWDebug::warning(), called at [/srv/mediawiki/includes/GlobalFunctions.php:1212] #2 wfLogWarning(), called at [/srv/mediawiki/extensions/JsonConfig/includes/JCSingleton.php:71] #3 JsonConfig\JCSingleton::init(), called at [/srv/mediawiki/extensions/JsonConfig/includes/JCSingleton.php:308] #4 JsonConfig\JCSingleton::getTitleMap(), called at [/srv/mediawiki/extensions/JsonConfig/includes/JCSingleton.php:329] #5 JsonConfig\JCSingleton::getMetadata(), called at [/srv/mediawiki/extensions/ZeroPortal/includes/ConfigPageHooks.php:25] #6 ZeroPortal\ConfigPageHooks::isZeroConfigTitle(), called at [/srv/mediawiki/extensions/ZeroPortal/includes/ConfigPageHooks.php:38] #7 ZeroPortal\ConfigPageHooks::onBeforePageDisplay(), called at [/srv/mediawiki/includes/Hooks.php:206] #8 Hooks::run(), called at [/srv/mediawiki/includes/GlobalFunctions.php:4056] #9 wfRunHooks(), called at [/srv/mediawiki/includes/OutputPage.php:2147]
It's because it's also defined in ZeroBanner
Ori, ZeroBanner should never be enabled at the same time with ZeroRatedMobileAccess (ZRMA). ZRMA is obsolete, and will be removed from all the settings. ZeroBanner takes over the same config namespace (Zero:), hence JsonConfig ignores the duplicate definition and gives a warning. I looked through the logstash and didn't find any of these warnings. Where did you get it?
(In reply to Yuri Astrakhan from comment #2) > Ori, ZeroBanner should never be enabled at the same time with > ZeroRatedMobileAccess (ZRMA). ZRMA is obsolete, and will be removed from all > the settings. Ah, good to know. > I looked through the logstash and didn't find any of these warnings. Where > did you get it? I'm trying to get all extension unit tests to run for HHVM. I'll drop ZRMA.