matej_suchanek added a comment. |
In T163815#3213718, @Jarekt wrote:Is it always mw.wikibase.getEntity that throws this error?
Actually, I didn't think of the other functions. I have just tested them:
console
= mw.wikibase.label( 'foo' ) nil = mw.wikibase.sitelink( 'foo' ) nil
They just return nil (but I think they should throw errors as well).
Unfortunately I never figured out how to use mw.log and lua debbug console and I never found any documentation or examples with it. Even w:Help:Lua_debugging does not mention it.
Would you change the protection on the module, so that I could debug it? But if the error is beyond it, I might not be able to find the error.
TASK DETAIL
EMAIL PREFERENCES
To: matej_suchanek
Cc: matej_suchanek, Jarekt, Aklapper, QZanden, Izno, Wikidata-bugs, aude, Mbch331
Cc: matej_suchanek, Jarekt, Aklapper, QZanden, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs