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
m Archiving 1 discussion(s) to Wikipedia talk:Wikidata/Archive 6) (bot
m Archiving 1 discussion(s) to Wikipedia talk:Wikidata/Archive 6) (bot
 
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{sh|WT:WD|WT:DATA}}
{{WikiProject banner shell|
{{WikiProject Wikidata}}
{{WikiProject Wikidata}}
}}
{{User:MiszaBot/config
{{User:MiszaBot/config
|archiveheader = {{talkarchivenav}}
|archiveheader = {{talkarchivenav}}
|maxarchivesize = 75K
|maxarchivesize = 75K
|counter = 6
|counter = 6
|minthreadsleft = 3
|minthreadsleft = 4
|minthreadstoarchive = 1
|minthreadstoarchive = 1
|algo = old(60d)
|algo = old(180d)
|archive = Wikipedia talk:Wikidata/Archive %(counter)d
|archive = Wikipedia talk:Wikidata/Archive %(counter)d
}}
}}
{{archives|search=yes|[[Wikipedia talk:Wikidata/Workflow|/Workflow]]|auto=long}}
{{archives|search=yes|[[Wikipedia talk:Wikidata/Workflow|/Workflow]]|auto=long}}


== Technical help needed ==
== Parsing links ==

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)

== Using getAllStatements ==

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)

: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)

== Interlanguage links for redirects ==

{{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)


If you know how to deal with infoboxes, please see [[Wikipedia talk:WikiProject Medicine#break d]]. Thanks. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 16:51, 4 November 2023 (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)
: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" ==
== Infobox testing/sandboxing ==


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)
Greetings. Is there any suggestion for testing or sandboxing infoboxes pulling out wikidata properties, please? See, for example, [[Template:Infobox physical quantity/testcases]]. Thanks. [[User:Fgnievinski|fgnievinski]] ([[User talk:Fgnievinski|talk]]) 04:36, 6 November 2023 (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)
== Wikidata search parameters ==
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)

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]