Module talk:ResolveEntityId

This is an old revision of this page, as edited by Ahecht (talk | contribs) at 20:25, 24 June 2021 (clarify). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 4 years ago by Ahecht in topic Redirects

Redirects

@Ahecht: a really useful module. Would it possible to follow redirects and give the ID of their target? — Martin (MSGJ · talk) 17:07, 22 June 2021 (UTC)Reply

@MSGJ: It already follows Wikidata redirects. For example {{#invoke:ResolveEntityId|entityid|Q404}} returns Q404. Are you talking about following Wikipedia redirects as well? UInless I'm mistaken, since redirects typically don't have Wikidata entries, this would require an expensive function call to retrieve the redirect target. --Ahecht (TALK
PAGE
) 20:00, 24 June 2021 (UTC)Reply