Last modified: 2014-06-24 05:38:26 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 T69016, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67016 - Warning: JsonConfig: Invalid $wgJsonConfigs['JsonZeroConfig']: Model 'JsonZeroConfig' is already registered in $wgContentHandlers to Extensions\ZeroRatedMobileAccess\ZeroConfigContentHandler
Warning: JsonConfig: Invalid $wgJsonConfigs['JsonZeroConfig']: Model 'JsonZer...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
ZeroPortal (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-24 04:26 UTC by Ori Livneh
Modified: 2014-06-24 05:38 UTC (History)
3 users (show)

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


Attachments

Description Ori Livneh 2014-06-24 04:26:10 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]
Comment 1 Ori Livneh 2014-06-24 04:29:27 UTC
It's because it's also defined in ZeroBanner
Comment 2 Yuri Astrakhan 2014-06-24 05:26:05 UTC
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?
Comment 3 Ori Livneh 2014-06-24 05:28:08 UTC
(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.

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


Navigation
Links