Smalyshev added a comment. |
What seems to happen is that finalSetup creates WikibaseRepo while in setup callback, before all extension loader queues are processed. So WikibaseRepo at this stage does not know about lexemes. And this information is cached. This prevents all lookups from recognizing any extension-defined types.
Likely caused by 2c793862a9452dc84565e91ec451873400f869cc.
One solution would be to switch from repo setting to global (icky, I know). Another would be somehow to "reset" the repo services so they would be re-initialized, or not initialize everything fully to just get access to settings.
TASK DETAIL
EMAIL PREFERENCES
To: Smalyshev
Cc: hoo, Smalyshev, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
Cc: hoo, Smalyshev, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs