Lucas_Werkmeister_WMDE added a comment.
Okay, with a healthy amount of debug logging on deployment-mediawiki11, I think I’ve figured out what’s wrong: by the time the WikibaseLexeme `setupInterface()` runs (where we assign to `wikibase` or `mw.wikibase`), the Wikibase `setupInterface()` Lua function actually hasn’t run yet, at least on Beta Wikidata. (On Beta English Wiktionary, it has, and I don’t know why.) So the assignment of `mw.wikibase = wikibase` hasn’t actually happened yet, and in general the module isn’t actually ready for “consumption”. I’ll have to look into Scribunto to see if we’re supposed to do anything about this (call `setupInterface()` ourselves?) or if that’s supposed to be Scribunto’s responsibility (and constitutes a bug). TASK DETAIL https://phabricator.wikimedia.org/T294224 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: daniel, DVrandecic, Jdforrester-WMF, Lucas_Werkmeister_WMDE, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Addshore, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
