Wikidata:Project chat

(Redirected from Wikidata:PC)
Latest comment: 1 hour ago by Sjoerddebruin in topic Isni and architect exception

Two separate individual's data on one item, how to separate?

edit

The item for Felix Patrick Quinn (Q5442294) the Canadian politician (properly linked to Wikipedia) has been given the data for "Quinn, Patrick Francis, 1918-" (Library of Congress n83188492 Poet Quinn). Looking at the history the item belonged to the Canadian politician Quinn and not the poet Quinn. I am sure if there is a process besides reverting the item to the stage before the poet Quinn's data was put in on January 30, 2023 (by Reinheitsgebot)? I noticed that other sites (VIAF, LOC) now link to this wikidata item? Any advice or help would be great. (EDIT: as a note I found the same thing happened with Fred Sanderson (Q5496212) and Pamphile Réal Du Tremblay (Q3361816)) - Caddyshack01 (talk) 13:23, 6 November 2024 (UTC)Reply

  Notified participants of WikiProject Conflation 🚨. Samoasambia 21:18, 6 November 2024 (UTC)Reply
@Caddyshack01: Typically when this happens you'll deprecate any identifiers for the poet (or whoever isn't supposed to be on this item) with the reason for deprecation as "applies to other person". Then you'll create an item for the poet so there's a place for those identifiers to go, and finally link the old item and the new item with a "different from" property. I did this for Patrick Quinn and Fred Sanderson, but I've run out of time to check all the identifiers on Pamphile Réal Du Tremblay, and create and connect a new item for Réal Tremblay. You're welcome to do so and use the other two conflations I fixed as a model. Thanks! Mcampany (talk) 16:51, 11 November 2024 (UTC)Reply

Wikibase REST API is now on version 1!

edit

Hi everyone,

We are excited to announce that the Wikibase REST API will move to a stable v1 version, which will go live on November 11, 2024. This new version will adhere to the Stable Interface Policy, ensuring reliability.

It's important to note that the older v0, which has been live on Wikidata since early 2023, will remain available for a four-week transition period until mid-December 2024 in order to avoid unnecessary maintenance costs.

We encourage all users to migrate to the new v1 API during this time to ensure that their applications can continue to work seamlessly. In almost all cases, this should just require replacing v0 in the routes with v1.

Please refer to the Open API swagger documentation for detailed information about the v1 API, including all endpoints, parameters, errors, request and response formats. Additionally, you can find all the background information and relevant links curated on our project page.

If you encounter problems or want to request a new feature, please create a ticket on our Phabricator board. If you have questions or want to leave feedback, please do so at project talk page or reach out to Ifrah Khanyaree, the product manager for the REST API.

Cheers, -Mohammed Abdulai (WMDE) (talk) 12:36, 11 November 2024 (UTC)Reply

How to turn a query into a "ListeriaBot subpage"?

edit

I'd like to use ListeriaBot if that's ok to create a subpage on my Userpage so that this query can be turned into a subpage so that I don't have to run it manually each time I wanna see how many Steam Deck verified titles and Nintendo Switch titles there are:

# Steam Deck verified titles on Wikidata query.
#title:Steam Deck verified titles
SELECT ?item WHERE {
  ?item wdt:P8956 wd:Q107542665;
        p:P8956 ?statement.
  ?statement pq:P1552 wd:Q117413402.
}
Steam Deck verified titles

Then I also got this one related to amount of Nintendo Switch titles:

# Platform Nintendo Switch
#title:Nintendo Switch titles
SELECT ?item ?itemLabel
WHERE
{
  ?item wdt:P400 wd:Q19610114. # Platform Nintendo Switch
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". } # Helps get the label in your language, if not, then default for all languages, then en language
}
Nintendo Switch titles

I was worried that the right to use ListeriaBot would require special permission and I have checked another user who didn't seem to have been given any special privileges but still had subpages using ListeriaBot. This made me think that maybe anyone on Wikidata can use ListeriaBot, I guess as long as its ok with the bot maintainer? Is it ok if I create 2 subpages on my user page so that I don't have to run the queries manually? I'm using this to keep track of my progress when adding Steam Deck verified titles or adding the data to titles and its something that motivates me to keep editing. Right now these queries exist just like I present them here and its the same on my user page, I run them both manually and then I make notes, a bit tedious.

Also if you think my queries can be improved please help or is Wikidata:Request_a_query a better place for query optimization? SuperUltraHardCoreGamer (talk) 13:21, 11 November 2024 (UTC)Reply

You really don't need a special permission for that, user space is totally appropriate for sharing ListeriaBot queries. --Matěj Suchánek (talk) 14:32, 12 November 2024 (UTC)Reply
It's here now User:SuperUltraHardCoreGamer/Sandbox. Will ListeriaBot eventually process it or should I press on the Manually update list on the top right? SuperUltraHardCoreGamer (talk) 10:12, 14 November 2024 (UTC)Reply

Wikidata weekly summary #653

edit

Automatic linking of articles

edit

It was said that articles are automatically linked to new Wikidata item in some period, but there are a lot of examples like this one, which wasn't connected for over one year. Eurohunter (talk) 18:46, 12 November 2024 (UTC)Reply

Hello Eurohunter, @Mike Peel: for information.
for unconnected articles see for example:
 
Screenshot for de:Luis Giraldo
A possible improvement could be the activation of
for all users per default.
Also see
M2k~dewiki (talk) 19:50, 12 November 2024 (UTC)Reply
@M2k~dewiki: A lot of links but actually what to do in short way? Eurohunter (talk) 20:41, 12 November 2024 (UTC)Reply
Hello, you could for example
  • use PetScan (example: Biografie według daty urodzenia) (and other categories) to check for existing items and connect them to existing items or create new ones using PetScan/QuickStatements if no item exists
  • try to activate AutosuggestSitelink for the polish language wikipedia for all users
  • ask for the polish wikipedia to be included in some tasks of User:Pi bot
  • play the distributed game
  • promote PetScan, AutosuggestSitelink, the distributed game, and the importance of connecting newly created articles and categories to existing wikidata items and help and inform new users in the polish language wikipedia with these tasks (thats what I tried to do for the last ten years for the german language wikipedia)
M2k~dewiki (talk) 20:50, 12 November 2024 (UTC)Reply
A collection of questions I have been asked over the last years can be found at
Templates for users support can be found at
M2k~dewiki (talk) 20:54, 12 November 2024 (UTC)Reply
@Eurohunter: Pi bot auto-creates new mostly-empty items after a waiting period (~14 days, it varies a bit depending on the last edit date) for some wikis - although I need to double-check if it's running for plwiki. It looks for possible matches first, and loads them into a Wikidata Game at https://wikidata-game.toolforge.org/distributed/#game=82 - and only creates new items for those once the potential matches have been checked, to avoid creating duplicates. There are currently 2963 plwiki matches waiting for decisions. Please do play the game and help reduce the backlog, share it with others, and let me know if I can improve that process. Thanks. Mike Peel (talk) 22:43, 12 November 2024 (UTC)Reply

Deletion of used/referenced wikidata objects

edit

Hello,

@Ymblanter, BrokenSegue, Emu, Mike Peel, MisterSynergy: for information.

Item d:Q130006846 was connected to Commons:Category:Claudia Misiak, the item just has been deleted without discussion.

The references to d:Q130006846 in every image of this category became invalid, for example:

leads to the deleted item.

Shouldn't it be prevented to delete items which are in use (e.g. by structured data on commons / SDC , other items, ...) or have sitelinks to other projects or languages?

If it is not prevented, will these references (e.g. on SDC) be cleaned up after deleting the item?


In the past it also happend, that objects with an ID (Property:P6228) to the Wikimedia project hosted by Wikimedia Austria (WMAT), for example d:Q110630051, have been deleted without notice or discussion, the reference in

to this object in the bottom of the page became invalid.


Also see

M2k~dewiki (talk) 22:12, 12 November 2024 (UTC)Reply

Actually, I deleted it responding to a request at the RfD page, so I can not say it was deleted without discussion. The item is not notable because the commons categories alone are not notable, and there were no signs of notability otherwise. I agree however that we should have some automatic cleanup for these cases, and possibly some notification mechanism. Ymblanter (talk) 22:22, 12 November 2024 (UTC)Reply
Somewhat related is this report: Wikidata:Database reports/Deleted Wikidata entities used in SDC. We should IMO not delete items which are in use at Commons-SDC per the "structural need" clause. —MisterSynergy (talk) 22:28, 12 November 2024 (UTC)Reply
@Addshore, AmaryllisGardener, Ameisenigel, Bovlb, ChristianKl: for information. M2k~dewiki (talk) 22:33, 12 November 2024 (UTC)Reply
@Dexbot, Fralambert, Estopedist1, Infrastruktur, Madamebiblio: for information. M2k~dewiki (talk) 22:33, 12 November 2024 (UTC)Reply
@Mahir256, Matěj Suchánek, Multichill, Wüstenspringmaus, Ymblanter: for information. M2k~dewiki (talk) 22:33, 12 November 2024 (UTC)Reply
Well, the problem is we do not know which items are in use by SDC. I am not going to run a quiery before deleting every spam item. Ymblanter (talk) 22:40, 12 November 2024 (UTC)Reply
It's my understanding that in the past we used the term "structural need" to speak of needs within Wikidata. Given that the deletion interface does not alert the deleting admin about usages from elsewhere, I don't think it's easy to change to treating SDC usages as structural needs. If someone wants less items like that to be deleted, petitioning WMDE or the WMF to update the deletion interface to notice cross-links within Wikimedia would be the best way forward. Ideally, if there are <10 links all links should be directly listed on the page without the admin needing to click to get more information.
Generally, it seems not to be desirable that a SEO spammer can get notability for a Wikidata item provided he can successfully have one picture of himself on WikiCommons as that would result in circular notability where the Wikidata item is notable because the image exist on Wikimedia Commons and the image is notable because the Wikidata item exists. ChristianKl09:34, 13 November 2024 (UTC)Reply
That was a completely correct deletion. You shouldn't have created it, actually all these items in batch temporary_batch_1724864964640 should probably not have been created and are eligible for deletion. Multichill (talk) 18:54, 13 November 2024 (UTC)Reply
Without expressing an opinion on the notability of this specific item, I strongly agree that admins should be aware of SDC usage when deleting an item. I have thought about creating a "deletion widget" that provides various types of analysis about an item and the option to inform the user of its deletion. Bovlb (talk) 16:23, 17 November 2024 (UTC)Reply
Ymblanter has a good point. It's currently too cumbersome to find out if something is used by SDC. I like Bovlb's suggestion, and ChristianKl's remark on "structural need". (Does it apply to foreign wikis, like the oesterreichwiki.org?)
I don't want to be annoying, but not so long ago there was some brainstorming about reforming the "request for deletion" process: Wikidata:Project chat/Archive/2024/10#Automatic RFD notifications? For example, if we wanted to acknowledge Commons people's voice about such items (since SDC totally relies on Wikidata), "nominations for deletion" could be a transparent way how the discussions could be held. --Matěj Suchánek (talk) 20:53, 17 November 2024 (UTC)Reply
Also, it seems WhatLinksHere is becoming unreliable on Wikidata (the growth problem I guess): #Deleted Property clean-up in references. The "deletion widget" could provide equivalent usage checks using WDQS (and, due the growth problem, check against both graphs). --Matěj Suchánek (talk) 21:09, 17 November 2024 (UTC)Reply

[BREAKING CHANGE ANNOUNCEMENT] wbformatvalue API no longer accepts most options

edit

Hello,

This is a breaking change announcement for the options parameter of the wbformatvalue API. Based on recent usage data, we don’t expect most API users to be affected by this change.

The wbformatvalue API has an options parameter, where various formatting options can be specified in a JSON object. Historically, Wikibase has allowed any option to be set to any (JSON) value here, and because the formater implementations often did not validate the options, it was possible to produce various (mostly harmless) crashes in Wikibase by setting e.g. a string-valued option to an integer. Also, even when the options were being used correctly, most of them were of questionable usefulness, and tracking shows that only very few options were actually used in practice.

To simplify the API, we are changing it so that only four options are allowed in the JSON: lang, applyRounding, applyUnit, and showcalendar.These allowed options and their possible values are documented in the API documentation. Currently, invalid values for these options are already rejected; as of 2024-11-27, any option name other than these four will also be rejected, regardless of value. According to the tracking mentioned above, no API request has mentioned any of the other options in the past six months, so we do not expect that anyone will actually have to update their code to stop sending other options.

If you have any questions, feel free to leave a comment on T323778.
- Danny Benjafield (WMDE) (talk) 09:29, 13 November 2024 (UTC)Reply

Deleted Property clean-up in references

edit

Property:P10589 was deleted and I have removed any Claims using it with QuickStatements having found them with a SPARQL query.

How to similarly clean up References using it? See genre in https://www.wikidata.org/wiki/Q11147846#P136 as an example? I don't think this is something QuickStatements can handle, is there another way or do I need to write a Bot to do it? OQZYwD0R (talk) 18:16, 13 November 2024 (UTC)Reply

@OQZYwD0R: looks like User:ChristianKl was bit too quick with deleting the property. Usually we first remove all usage before doing the actual deletion. Not sure why that didn't happen here.
A property is also a wiki page so you can look at https://www.wikidata.org/wiki/Special:WhatLinksHere?target=Property%3AP10589&namespace=0&limit=50 to see where it's still used. That's currently 25 items so I don't think you'll need a bot for that. Multichill (talk) 18:58, 13 November 2024 (UTC)Reply
I think there are more than 23 sadly; I don't see Q11283669 on that WhatLinksHere page.
Only looking for Items with a genre (P136) with a Reference containing P10589 returns about 2000 results. OQZYwD0R (talk) 19:31, 13 November 2024 (UTC)Reply
Indeed it seems like there are many more. A maintenance bot to clean this up sounds like a good idea to me. So9q (talk) 03:59, 16 November 2024 (UTC)Reply

Authority records from Pontificia Universidad Católica de Chile

edit

Hi, we are interested to contribute information to Wikidata, we have a local database of authorities for names with more than 120.000 records, normalized following MARC format. The amount total of authorities records in our database is 568.766 (includes names, subjects, geographic, etc.). What is the procedure to share this information on wikidata? We are working with Alma and Primo, Exlibris products, and nowadays its Linked Open Data functionalities are working with information in Wikidata, then we wants to display our information, when it not exist in Library of Congress. Malvaraa (talk) 18:29, 14 November 2024 (UTC)Reply

Hi Malvaraa, thanks for your interest in contributing to Wikidata! Here's a page where you can find information on donating data: Wikidata:Data donation. I think authority data about humans would be especially interesting for us, but other topics are accepted as well if the data items meet our notability policy or if the data fits into existing Wikidata items. New Wikidata property proposals, e.g. for your identifiers (IDs) about humans, subjects, places etc., can be made here. There are several different tools for uploading data into Wikidata, and they accept various different data formats. Is your data available somewhere online so that we could have a look? Kind regards, Samoasambia 19:12, 17 November 2024 (UTC)Reply

Please merge two items

edit

Henderson Waves (Q61356513) and Henderson Waves (Q112039267). 131.109.225.17 18:57, 14 November 2024 (UTC)Reply

  Merged RVA2869 (talk) 19:19, 14 November 2024 (UTC)Reply

New page with a list of providers

edit

Wikidata:Third-party providers. Please contribute so we get a good picture of the different actors providing enriching, filtering or providing alternative access to data from Wikidata. So9q (talk) 05:50, 16 November 2024 (UTC)Reply

Intentional addition of incorrect external identifiers

edit

Is there consensus for the practice of purposeful addition of values, with deprecated rank, for Wikidata property for authority control by VIAF member (Q55586529) that are known to be incorrect before they are added to items? This involves VIAF clusters that are conflated, or that have one or more mismatched component, with the concern being that bots and human editors may add the erroneous VIAF component(s) to one or more items. However, this use case is not supported by Help:Deprecation, as it does not pertain to superseded values, and the values were never thought correct. -- Dcflyer (talk) 09:55, 18 November 2024 (UTC)Reply

Isni and architect exception

edit

Why does ISNI property have this:

conflicts-with constraint property architect

I believe that architects can publish something, certainly not most of them, but adding this as an exception is probably unnecessary. SecretMonique (talk) 12:45, 18 November 2024 (UTC)Reply

It means it should not be used on items that have the property architect set (so usually non-humans), but yeah it is a bit strange... Sjoerd de Bruin (talk) 13:31, 18 November 2024 (UTC)Reply