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


== 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)
==Edit summary==
Can users who are removing interwiki links please link to this Wikidata project, it looks like vandalism otherwise. [[User:The Rambling Man|The Rambling Man]] ([[User talk:The Rambling Man|talk]]) 20:30, 15 February 2013 (UTC)
:I started this page for precisely that reason. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:33, 16 February 2013 (UTC)


== Using getAllStatements ==
:This needs to be a priority. Removal of content without a valid reason will be treated as vandalism or inadvertent error unless clearly stated otherwise. [[User:Jfdwolff|JFW]]&nbsp;&#124;&nbsp;[[User_talk:Jfdwolff|<small>T@lk</small>]] 22:12, 17 February 2013 (UTC)


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)
== "Should" and "should not" ==


: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)
I've attempted to remain agnostic on whether this page should give the community guidance on whether actions should or should not be performed. My opinion is that the RFC (unclosed) was a no consensus on any policy or guideline, so we should attempt to avoid giving such guidance. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 19:06, 16 February 2013 (UTC)


==Wikidata and Interwiki links==
== Interlanguage links for redirects ==
[[File:Wikidata-logo-en.svg|150px|left]][[d:|Wikidata]] has been [http://blog.wikimedia.de/2013/02/13/wikidata-live-on-the-english-wikipedia/ deployed] to the English Wikipedia. Wikidata manages interwiki links on a separate project on pages such as [[d:q1|this]].


{{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)
Further information: [[m:Wikidata/Deployment Questions]] and https://blog.wikimedia.de/?p=13892.


: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)
All interwiki bots that run on the English Wikipedia have now stopped adding interwiki links.
: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" ==
[http://en.wikipedia.org/enwiki/w/index.php?title=Afghanistan&diff=prev&oldid=538562970 Removal of interwiki links] on a page linked to a wikidata item that contains the links is NOT vandalism. Please use [http://en.wikipedia.org/enwiki/w/index.php?title=User:Addshore/common.js&diff=prev&oldid=538609619 this script] which can identify if the links are found on wikidata.


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)
If you have any questions regarding wikidata please use the talk page [[Wikipedia talk:Wikidata]]. '''[[User:Addshore|<span style="color:black">·Add§hore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">Talk To Me!</span>]]</sup> 21:04, 16 February 2013 (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)
: I have made a fork of that script that handles language codes with hyphens. See [http://en.wikipedia.org/enwiki/w/index.php?title=User:William_Avery/common.js&diff=prev&oldid=538633877] [[User:William Avery|William Avery]] ([[User talk:William Avery|talk]]) 00:42, 17 February 2013 (UTC)
::Perfect! :) '''[[User:Addshore|<span style="color:black">·Add§hore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">Talk To Me!</span>]]</sup> 00:54, 17 February 2013 (UTC)
:::I would not have attempted it without your shared insight into the problem of underscores and hyphens. [[User:William Avery|William Avery]] ([[User talk:William Avery|talk]]) 00:57, 17 February 2013 (UTC)
::::It is rather odd how the API uses underscores and the rest of the world hyphens! I hate javascript though ;p Glad you managed to fix it! '''[[User:Addshore|<span style="color:black">·Add§hore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">Talk To Me!</span>]]</sup> 01:12, 17 February 2013 (UTC)
::William: Would you mind contacting Yair on wikidata to see if your fix can be implemented in their script? Many users already have his/hers installed so it would be good if we can fix all of those. [[User:Legoktm|Legoktm]] ([[User talk:Legoktm|talk]]) 01:13, 17 February 2013 (UTC)
::: It's fixed now. [[User:William Avery|William Avery]] ([[User talk:William Avery|talk]]) 13:06, 17 February 2013 (UTC)
:I really would urge people to link to this page in their edit summaries. I've just seen links removed by an IP, who can't be using a script to run checks. [[User:William Avery|William Avery]] ([[User talk:William Avery|talk]]) 23:29, 17 February 2013 (UTC)

== recent/early deletions of IW links too opaque? ==

I've seen some recent edits by [[User:Xqbot]] that initially looked suspicious and/or wrong. A little investigation revealed they are related this Wikidata project/initiative. This is probably a good thing, but seems a bit opaque right now in the early stages.

While there is the "edit links" thing over in the languages frame, these otherwise unexplained edits might catch editors unawares. Providing very explicit edit summaries along with a link to the associated wikidata page may be helpful during this transition. --[[:User:Dfred|Dfred]] <small>([[User talk:Dfred|talk]])</small> 04:30, 17 February 2013 (UTC)
:I agree, I just spotted a message on the users talk page about this and I have also had a message regarding my bot even when linking to the wikidata page explaining what wikidata is and the entry where the wikilinks can be found. '''[[User:Addshore|<span style="color:black">·Add§hore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">Talk To Me!</span>]]</sup> 11:37, 17 February 2013 (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]