Lucas_Werkmeister_WMDE added a comment.

#0 /srv/mediawiki/php-master/extensions/Wikibase/repo/Wikibase.php(250): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 [internal function]: Closure$#5()
#2 /srv/mediawiki/php-master/extensions/Wikibase/repo/includes/Content/EntityContentFactory.php(204): call_user_func(Closure$#5;2604)
#3 /srv/mediawiki/php-master/extensions/Wikibase/repo/RepoHooks.php(116): Wikibase\Repo\Content\EntityContentFactory->getContentHandlerForType(string)

I’m trying to understand what’s happening here, and it looks to me like $wgApiModules['wbsearchentities']['factory'] (Wikibase.php L250) was somehow registered as a content handler factory‽ So the EntityContentFactory tries to call that factory to get a content handler (with no arguments, because those factories aren’t supposed to take arguments) and it crashes because the wbsearchentities factory (a completely unrelated kind of factory!) expects an ApiMain. But how does that happen? I’m bewildered.



To: Lucas_Werkmeister_WMDE
Cc: WMDE-leszek, daniel, hoo, aude, Ladsgroup, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Luke081515, Wikidata-bugs, Mbch331, Jay8g, Krenair, greg
Wikidata-bugs mailing list

Reply via email to