Topic on Help talk:CirrusSearch

Retrieving a wikidata QID in-wiki knowing only a property value using LUA?

2
Evolution and evolvability (talkcontribs)

Adapted from: Extension talk:Wikibase Client/Lua#Retrieving an ID knowing only a property value?

Is this extension usable on WMF wikis? I'm looking for an in-wiki way to retrieve a QID based on a property value within mediawiki? For example, knowing an author's ORCID number, and returning their QID within mediawiki?

  • Something like wikibase.getEntityIdForPropertyValue(Property, Value)
  • Such that wikibase.getEntityIdForPropertyValue(P496,'0000-0002-6779-3151') → Q4693015

Any ideas welcomed!

DCausse (WMF) (talkcontribs)

I'm not sure to understand how this relates to CirrusSearch, could you rephrase your question if you think this applies to CirrusSearch?

Thanks!

Reply to "Retrieving a wikidata QID in-wiki knowing only a property value using LUA?"