Addshore added a comment. So looking at a trace the stub object always comes from the newRendererFromParser method in Wikibase.
This calls Parser::getTargetLanguage which thus can sometimes return a StubObject... Interestingly for roughly 24 hours of logs this happened on kowiki 76 times and idwiki 12 times but no other wikis... TASK DETAIL https://phabricator.wikimedia.org/T107711 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: hoo, gerritbot, Addshore, Aklapper, Legoktm, Wikidata-bugs, aude, 01tonythomas, Krenair, greg, Malyacko, P.Copp _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs