Jump to content

Wikipedia talk:Wikidata: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
+sh
m Archiving 1 discussion(s) to Wikipedia talk:Wikidata/Archive 6) (bot
 
(14 intermediate revisions by 6 users not shown)
Line 14: Line 14:
{{archives|search=yes|[[Wikipedia talk:Wikidata/Workflow|/Workflow]]|auto=long}}
{{archives|search=yes|[[Wikipedia talk:Wikidata/Workflow|/Workflow]]|auto=long}}


== Wikidata search parameters ==
== Parsing links ==
See the discussion [[Help_talk:Searching#Are_Wikidata_queries_supported?|here]]: is it possible to search Wikipedia using Wikidata items in search parameters? [[User:Jarble|Jarble]] ([[User talk:Jarble|talk]]) 19:59, 18 November 2023 (UTC)


In the "using wikidata in Wikipedia articles" section, under parsing data, it says that using the statements function doesn't returns a link if the link is a redirect. The example itself is untrue, as calling for that Egyptologist data will indeed return a redirect link to Egyptology (as clearly shown around 2 lines later...). Is the whole statement untrue, or is there some qualification missing? Either way, it needs to be edited. <span style="background:#636363;border:solid#636363 1x;border-radius:15px;">'''[[User:JoeJShmo|<span style="color:#ffadbe">Jo</span><span style="color:#dbafff">e</span><span style="color:#afd0ff">J</span><span style="color:#aafff8">Sh</span><span style="color:#b6fcd5">mo</span>]]'''[[User talk:JoeJShmo|<sup><span style="transform:rotate(25deg);display:inline-block;">💌</span></sup>]]</span> 21:20, 26 July 2024 (UTC)
:parameter source discussion is it possible to search Wiki data using items suggested for logged, </// () Jarble (talking about) = [[Special:Contributions/2601:601:8000:BF80:C41F:C413:F8DB:8211|2601:601:8000:BF80:C41F:C413:F8DB:8211]] ([[User talk:2601:601:8000:BF80:C41F:C413:F8DB:8211|talk]]) 03:38, 20 March 2024 (UTC)


== Using getAllStatements ==
== Extension of the lua API to gets statement whose value is the item of a page ==


On [[Module:Authority control]] we are currently reading the Wikidata item of an article about 150 times for each separate identifier using <code>getBestStatements</code>. I am wondering if it would be more efficient to extract all the statements in one go using <code>getAllStatements</code> and then process them with Lua. Does anyone have any insight into this? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:16, 11 September 2024 (UTC)
Aka inverse properties access. Currently we can only go in lua from an item to the items who appears in the statements or qualifiers or item. We cannot find all statements an item is value of. A discussion about this is going on on Wikidatawiki, input from community is more than welcome : see [[:d:Wikidata:Requests for comment/Inverse property access for wikis : a lua API request for the development team]] [[User:TomT0m|TomT0m]] ([[User talk:TomT0m|talk]]) 13:11, 13 January 2024 (UTC)


:Cross-posted to [[mw:Extension talk:Wikibase Client/Lua]] &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:56, 13 September 2024 (UTC)
== Errors with the first citation on [[FLAC]] ==


== Interlanguage links for redirects ==
The wikidata reference includes both a title and a URL, but the citation shows as having an error. I'm not familiar enough with the wikidata process to debug further. Could someone shed some light please? [[User:Thumperward|Chris Cunningham (user:thumperward)]] ([[User talk:Thumperward|talk]]) 13:58, 3 February 2024 (UTC)


{{ping|MSGJ}} could you describe the up-to-date practice for using redirects in interlanguage links, please? thanks! [[User:Fgnievinski|fgnievinski]] ([[User talk:Fgnievinski|talk]]) 01:06, 28 September 2024 (UTC)
:@[[User:Thumperward|Chris]]: The [[Module:Wd/doc#References|referenced documentation]] actually sheds a small beam of light:
:: {{tq|To fix this error, check if the reference has the required properties and doesn't have any unknown properties, as described above.}}
:The ''unknown property'' could be {{Property|P2813}}. --[[User:Matěj Suchánek|Matěj Suchánek]] ([[User talk:Matěj Suchánek|talk]]) 15:29, 19 February 2024 (UTC)


:I've reread [[:wikidata:Wikidata:Sitelinks_to_redirects#To_enter_a_sitelink_to_a_redirect_select_the_badge_first]] and I get it now; I've now updated the explanation at [[:en:Wikipedia:Wikidata]]. [[User:Fgnievinski|fgnievinski]] ([[User talk:Fgnievinski|talk]]) 04:59, 28 September 2024 (UTC)
:: Awesome - managed to fix it by removing that property. Thanks so much! [[User:Thumperward|Chris Cunningham (user:thumperward)]] ([[User talk:Thumperward|talk]]) 16:13, 19 February 2024 (UTC)
:For some reason I did not receive any notification of this post. But I'm glad you sorted it &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:02, 30 September 2024 (UTC)
::Pings don't work unless you [https://en.wikipedia.org/enwiki/w/index.php?title=Wikipedia_talk:Wikidata&diff=next&oldid=1248163862 sign at the same time] &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:03, 30 September 2024 (UTC)

== "Wikidata item" link is missing from side panel "Tools" ==

The article says "From a Wikipedia page, you can go to the link "Wikidata item", using "Tools" in the side panel" but my interface does not show the "Wikidata item" link. I am using an ipad in desktop mode, default skin. I worked around this problem by making the desired change on the Wikidata website but surely I am not the only person having this problem? [[User:T g7|T g7]] ([[User talk:T g7|talk]]) 09:35, 27 October 2024 (UTC)

:In the last few days, the link has been moved to the "in other projects" section of the side panel &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:30, 27 October 2024 (UTC)

Latest revision as of 06:31, 28 October 2024

[edit]

In the "using wikidata in Wikipedia articles" section, under parsing data, it says that using the statements function doesn't returns a link if the link is a redirect. The example itself is untrue, as calling for that Egyptologist data will indeed return a redirect link to Egyptology (as clearly shown around 2 lines later...). Is the whole statement untrue, or is there some qualification missing? Either way, it needs to be edited. JoeJShmo💌 21:20, 26 July 2024 (UTC)[reply]

Using getAllStatements

[edit]

On Module:Authority control we are currently reading the Wikidata item of an article about 150 times for each separate identifier using getBestStatements. I am wondering if it would be more efficient to extract all the statements in one go using getAllStatements and then process them with Lua. Does anyone have any insight into this? — Martin (MSGJ · talk) 09:16, 11 September 2024 (UTC)[reply]

Cross-posted to mw:Extension talk:Wikibase Client/Lua — Martin (MSGJ · talk) 15:56, 13 September 2024 (UTC)[reply]
[edit]

@MSGJ: could you describe the up-to-date practice for using redirects in interlanguage links, please? thanks! fgnievinski (talk) 01:06, 28 September 2024 (UTC)[reply]

I've reread wikidata:Wikidata:Sitelinks_to_redirects#To_enter_a_sitelink_to_a_redirect_select_the_badge_first and I get it now; I've now updated the explanation at en:Wikipedia:Wikidata. fgnievinski (talk) 04:59, 28 September 2024 (UTC)[reply]
For some reason I did not receive any notification of this post. But I'm glad you sorted it — Martin (MSGJ · talk) 10:02, 30 September 2024 (UTC)[reply]
Pings don't work unless you sign at the same time — Martin (MSGJ · talk) 10:03, 30 September 2024 (UTC)[reply]
[edit]

The article says "From a Wikipedia page, you can go to the link "Wikidata item", using "Tools" in the side panel" but my interface does not show the "Wikidata item" link. I am using an ipad in desktop mode, default skin. I worked around this problem by making the desired change on the Wikidata website but surely I am not the only person having this problem? T g7 (talk) 09:35, 27 October 2024 (UTC)[reply]

In the last few days, the link has been moved to the "in other projects" section of the side panel — Martin (MSGJ · talk) 21:30, 27 October 2024 (UTC)[reply]