| Krinkle added a comment. |
Once I encountered such a case, I tried to manually run our init code in a scratchpad. The error showed that apparently wikibase.parsers was not set (Exception: TypeError: wikibase.parsers is undefined). I then checked the state of the module that contains this init code (wikibase.ui.entityViewInit) and found that to be in an error state. Further digging revealed that the wikibase.api.RepoApiError module (an indirect dependency of wikibase.ui.entityViewInit) also went into an error state (although all of its dependencies were fine).
Starting to analyse the possible cause for Exception: TypeError: wikibase.parsers is undefined.
- Used by module wikibase.ui.entityViewInit at wikibase.ui.entityViewInit.js#L401 as wikibase.parsers.getStore.
- Defined by module wikibase.parsers.getStore at resources/parsers/getStore.js#L16.
- The dependency between these modules is explicit and looks fine (source).
I don't see anything in this issue that would point to something specific in ResourceLoader. As far as I can see the modules are declared and loaded without issue, and dependency resolution is honoured correctly.
To help more I'd really have to reproduce the exception myself. So far I've not been able to get the exception in either Firefox or Chrome (viewing various random wikidata items, logged-in and logged-out).
Cc: Gilles, ori, Aklapper, Krinkle, aude, thiemowmde, Jonas, Lydia_Pintscher, Tobi_WMDE_SW, hoo, Vali.matei, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
