Module talk:Sandbox/Tom.Reding/Tools

ResolveEntityId inconsistency?
, I have a function that I expect to output "" when an entity ID is found.

However, the function did not succeed on until I made an edit by adding a sitelink, so I thought the problem was simply a null edit problem at Wikidata.

However however, my function currently doesn't work on : "" ('Q# not found on Wikidata'). I've made a dummy edit to, but there's still a problem with , it seems. Do you know what's going on? ~ Tom.Reding (talk ⋅dgaf) 23:59, 27 December 2018 (UTC)

PAGE ]]) 02:10, 1 January 2019 (UTC)
 * It looks like a site link is required for  to work - all of the 45 links in my sandbox were 'Q# not found on Wikidata' until I added site links to most of them. Will think about including this behavior in Module:ResolveEntityId/doc.   ~ Tom.Reding (talk ⋅dgaf)  06:00, 28 December 2018 (UTC)
 * resolveEntityId relies on  which, as you guessed, requires a local page existing that is linked to the Wikidata item. --Ahecht ([[User talk:Ahecht|TALK