Wikidata:Bot requests

(Redirected from Wikidata:Bot request)
Bot requests

If you have a bot request, add a new section using the button and tell exactly what you want. To reduce the process time, first discuss the legitimacy of your request with the community in the Project chat or in the Wikiprojects's talk page. Please refer to previous discussions justifying the task in your request.

For botflag requests, see Wikidata:Requests for permissions.

Tools available to all users which can be used to accomplish the work without the need for a bot:

  1. PetScan for creating items from Wikimedia pages and/or adding same statements to items (note: PetScan edits are made through QuickStatements)
  2. QuickStatements for creating items and/or adding different statements to items
  3. Harvest Templates for importing statements from Wikimedia projects
  4. OpenRefine to import any type of data from tabular sources
  5. WikibaseJS-cli to write shell scripts to create and edit items in batch
  6. Programming libraries to write scripts or bots that create and edit items in batch
On this page, old discussions are archived. An overview of all archives can be found at this page's archive index. The current archive is located at 2024/07.
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 15 days.

The nl descriptions lacking the space sign (2023-11-02)

edit

Request date: 2 November 2023, by: Wolverène

Task description

Please see here. The descriptions formatted as <...> in sterrenbeeldSchorpioen (= smth in the constellation Scorpius) should obviously look like <...> in sterrenbeeld Schorpioen. Please help with the mass fixing - there are more than 79,000 descriptions with this typo and I will not be very able to fix it all manually. :) I hope it's not a hard issue. Thanks in advance.
P.S. I do not know if this issue occurs only with the Scorpio-related items, or it also occurs somewhere else. Would be great if the Dutch speakers checked it with the Search bar... --Wolverène (talk) 06:07, 2 November 2023 (UTC)[reply]

Discussion

Hi Wolverène, is this what you want, just to be sure before mass-editing? -Framawiki (please notify !) (talk) 10:01, 28 December 2023 (UTC)[reply]

Yes, this is. But there are 10 results as I see, so it is not hard to fix them manually. Regards, --Wolverène (talk) 11:19, 17 April 2024 (UTC)[reply]
There are thousands of them, so we still need help. --Wolverène (talk) 11:22, 17 April 2024 (UTC)[reply]
Wolverène Yes. The last line of that SPARQL query says "LIMIT 10" which means "only show me the first ten results". Without the limit it shows 49663 results. The results of this query can be downloaded and used as input to QuickStatements. I would guess Framawiki was planning to do something similar. William Avery (talk) 15:08, 22 April 2024 (UTC)[reply]

Items for objects in other constellations are affected by this problem, and I have written a script to count them. William Avery (talk) 20:14, 29 April 2024 (UTC)[reply]

See Wikidata:Requests for permissions/Bot/AmeisenBot 2. --Ameisenigel (talk) 15:42, 19 May 2024 (UTC)[reply]
Request process

Accepted by (Ameisenigel (talk) 15:42, 19 May 2024 (UTC)) and under process[reply]

  Done for Cetus (Q8839), Pisces (Q8679), Perseus (Q10511), Vela (Q10521), Corvus (Q10517), Indus (Q10450), Coma Berenices (Q9285), Dorado (Q8837), Scutum (Q10529), Columba (Q10425), Chamaeleon (Q10457), Carina (Q10470), Microscopium (Q10492), Norma (Q10582), Pavo (Q10515), Serpens (Q8910), Grus (Q10563), Circinus (Q10508), Leo Minor (Q10403), Delphinus (Q9302), Ara (Q9253), Andromeda (Q9256), Hercules (Q10448), Cygnus (Q8921), Scorpius (Q8865), Ophiuchus (Q8906), Virgo (Q8842) --Ameisenigel (talk) 15:33, 11 July 2024 (UTC)[reply]

Request to refine main subject .. (2024-01-01)

edit

Request date: 1 January 2024, by: Combinato

Link to discussions justifying the request
Task description

replace Q6501338 to Q181923 for the main subjects of scholarly articles in Wikidata if the article contain "attention-deficit/hyperactivity disorder" in the title. Combinato (talk) 13:43, 1 January 2024 (UTC)[reply]


Licence of data to import (if relevant)
Discussion

I don't think the imprecise (but not incorrect) attention (Q6501338) main subjects should really be removed. @Combinato: edits like thise are a perfect fit for the Topic Curator tool; give it a try! I'm not sure it's a good fit for a bot request, so maybe this could be closed... --Azertus (talk) 10:54, 12 April 2024 (UTC)[reply]


Request process

Request to replace the superseded WorldCat Identities ID for humans with the WorldCat Entities ID, or delete the superseded WorldCat Identities ID when the WorldCat Entities ID is present (2024-01-09)

edit

Request date: 9 January 2024, by: Peaceray

Link to discussions justifying the request

This is a link to the query to find a human with WorldCat Identities ID (superseded) but no WorldCat Entities:

Task description
  1. For a human with both a WorldCat Identities ID (superseded) (P7859) & a WorldCat Entities ID (P10832), delete the superseded WorldCat Identities ID.
  2. For a human with a WorldCat Identities ID (superseded) (P7859) but no WorldCat Entities ID (P10832), query that WorldCat Identities ID. WorldCat will redirect most, but certainly not all, of the time to the new WorldCat Entities ID. If found, insert the WorldCat Entities ID & delete the superseded WorldCat Identities ID.
Licence of data to import (if relevant)
Discussion
I agree. P7859 statements should only be deleted if a P10832 is there.
There is an additional complication. I have placed multiple instances of WorldCat Identities ID (superseded) (P7859) when each applied to the same item. WorldCat has not been careful about consolidating duplicate items; this not only applies to the Identities ID but to the OCLC control number (P243) as well. However, since clicking through on WorldCat Identities ID that have no corresponding WorldCat Entities lead to a page not found message, we should consider whether we should delete all WorldCat Identities ID (superseded) (P7859) when a WorldCat Entities ID (P10832) entity is present.
Also, perhaps we should not limit this to humans. I just thought that humans were the most important to process first. Peaceray (talk) 19:34, 9 January 2024 (UTC)[reply]


Request process

Request to replace "unisex" with "uniszex" in Hungarian (2024-01-18)

edit

Request date: 18 January 2024, by: Adam78

The Hungarian-language (HU) description "unisex név" should be replaced with "uniszex név" (2346 instances). (Source for the spelling in the spelling dictionary) Thanks in advance.
Discussion

Hi Adam78, this is basically the same task as the one I'm currently requesting a bot flag for, so I'll amend my request. --Azertus (talk) 20:01, 13 April 2024 (UTC)[reply]


Request process

Accepted by (Azertus (talk) 20:01, 13 April 2024 (UTC)) and under process[reply]

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Ameisenigel (talk) 15:31, 11 July 2024 (UTC)[reply]
  Done Never mind; I did it manually. Adam78 (talk) 15:17, 17 June 2024 (UTC)[reply]

Request to create/update members of the European Parliament - 9th parliamentary term (2024-01-20)

edit

Request date: 22 January 2024, by: Fcairn

Link to discussions justifying the request
Task description

Important the data described here : https://www.wikidata.org/wiki/Wikidata:Dataset_Imports/Member_of_the_European_Parliament

Licence of data to import (if relevant)
Discussion

@Fcairn: the page you linked is still blank? --Azertus (talk) 10:57, 12 April 2024 (UTC)[reply]

Request process

  Not done Processing this request is not possible because the mentioned page does not contain any informations. --Ameisenigel (talk) 15:31, 11 July 2024 (UTC) [reply]

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Ameisenigel (talk) 15:31, 11 July 2024 (UTC)[reply]

Request to replace URL to idref.fr by the dedicated property P269 (2024-01-31)

edit

Request date: 31 January 2024, by: Jahl de Vautban

Link to discussions justifying the request
  • No previous discussion
Task description

The bot should replace occurrences of reference URL (P854)http://www.idref.fr/$1 or reference URL (P854)https://www.idref.fr/$1 used in references with stated in (P248)IdRef (Q47757534) and IdRef ID (P269)$1.

Licence of data to import (if relevant)
Discussion

This should ensure a more robust referencing in the (unlikely) case of IdRef changing its URL. --Jahl de Vautban (talk) 17:56, 31 January 2024 (UTC)[reply]

Request process

Request to Google Cache URLs (2024-02-11)

edit

Request date: 11 February 2024, by: GreenC

Link to discussions justifying the request
Task description
  • See work done at Enwiki: https://en.wikipedia.org/wiki/Wikipedia:Link_rot/URL_change_requests#Google_cache
    • There is a tool for parsing GC links to find the original source URL: https://github.com/greencardamom/Googcacheparse
    • Each Google Cache link logically has 4 possible outcomes:
      1. Source URL is live: Remove the GC link and replace with the source URL
      2. Source URL is dead and archive URL is not available: Remove the GC link and replace with the source URL and a dead link template
      3. Source URL is dead and archive URL is available: Remove the GC link and replace with the archive URL of the source URL
      4. Source URL is dead and archive URL of the Google Cache URL is available: Replace with the archive of the Google Cache URL

Make any adjustments to the above for Wikidata. Experience has shown #1 is most common and #4 is least common.

Licence of data to import (if relevant)
Discussion

Since I already did this for Enwiki and have a bot programmed for it, I might be of help. I don't have time to develop a bot for Wikidata. If someone wants to send me data in a file extracted from Wikidata, which I process, then you can take the output file and feed it back into Wikidata, that would be fine also.

Request process

Request to replace 'kategorija Wikimedije' with 'kategorija Wikimedie' for sl (2023-04-23)

edit

Request date: 23 April 2024, by: TadejM

Task description

Hello. Could someone please replace kategorija Wikimedije with kategorija Wikimedie in category descriptions for Slovene (sl) (e.g. here)? For the rationale, please see e.g. [1], [2] or the Main Page of the Slovene Wikipedia.

This was already taken over in March 2023 but the task then stalled and the bot operator did not reply to my inquiry. So I'm reposting this request. (pinging Mdaniels5757) --TadejM (talk) 14:40, 23 April 2024 (UTC)[reply]

@TadejM Sorry, I totally forgot about this! I'll take another look in a day or two. —‍Mdaniels5757 (talk • contribs) 15:54, 23 April 2024 (UTC)[reply]

@Mdaniels5757 Ok, great, thanks. I'm looking forward to it. However, I intend to keep the proposal open until this is resolved for certain. --TadejM (talk) 14:08, 24 April 2024 (UTC)[reply]

@TadejM It is running again, it should be done in a bit less than a month. —‍Mdaniels5757 (talk • contribs) 19:46, 24 April 2024 (UTC)[reply]

Hi, Mdaniels5757. How is the task proceeding? It's now been over a month and I still see a number of 'kategorija Wikimedije' [3]. When do you expect this will be finished? --TadejM (talk) 08:15, 26 May 2024 (UTC)[reply]

@TadejM It finished with the items that were present when I started the task; I just re-ran and it should be all set now. The only ones that remain are ones that cannot be automated (because of errors like "Item Qxxx already has label "Kategorija:xxxxxx" associated with language code sl, using the same description text.") —‍Mdaniels5757 (talk • contribs) 16:08, 26 May 2024 (UTC)[reply]

Thank you a lot, Mdaniels5757. There's not so many of them.[4] I guess these will have to be resolved manually.

Could you please also replace predloga Wikimedije with predloga Wikimedie? --TadejM (talk) 11:08, 11 June 2024 (UTC)[reply]

@TadejM Doing now. It will be about 220,000 edits. —‍Mdaniels5757 (talk • contribs) 00:14, 13 June 2024 (UTC)[reply]

Request to standardize descriptions of disambiguations (Q4167410) in Bosnian (2024-05-24)

edit

Request date: 24 May 2024, by: Srđan

Link to discussions justifying the request
  • Recently, we discussed standardizing the term for "disambiguation" from "čvor(ovi)" to "višeznačne odrednice". The relevant discussion can be found here.
Task description

Look for all items that are Wikimedia disambiguation pages (Q4167410) and change the Bosnian description values to: "višeznačna odrednica na Wikimediji"

Licence of data to import (if relevant)
Discussion

@Srđan: I can do this, but I have a few questions (as I don't know Bosnian). First, are there supposed to be descriptions that contain the string "ovi" to replace? I can't find any. Second, could you please fill out this table with the correct replacement value (even if it's just "višeznačne odrednice"), or say that I should not replace that description?

current_description number_of_occurrences example_item replacement_value
čvor 5 Bečić (Q125567156) višeznačna odrednica na Wikimediji
čvor na Vikimediji 152391 English (Q182) višeznačna odrednica na Wikimediji
čvor na Vikipediji 2 D (Q27510) višeznačna odrednica na Wikimediji
čvor na Wikimediji 11 Jamestown (Q47493) višeznačna odrednica na Wikimediji
čvor stranica na Wikimediji 1252722 Valdemar (Q390) višeznačna odrednica na Wikimediji
čvor stranica na Wikipediji 1 Kozarac (Q353477) višeznačna odrednica na Wikimediji
čvor-stranica na Wikimediji 1 Treaty of Edirne (Q359571) višeznačna odrednica na Wikimediji

Best, —‍Mdaniels5757 (talk • contribs) 14:32, 27 May 2024 (UTC)[reply]

@Mdaniels5757: Apologies for the confusion. I thought there were instances that contained the plural form of the word (-ovi or -evi), but it is possible that there are none. I have filled out the table, but I just realized that it may also be necessary to update some labels. We are in the process of moving all articles (relevant category) that have "(čvor)" in the title to "(višeznačna odrednica)" – example 1, 2 – so it might we wise to check if there are any Wikidata labels that contain (čvor) and delete the said disambiguator. Can that be done as well?  – The preceding unsigned comment was added by Srđan (talk • contribs) at 08:35, 29 May 2024 (UTC).[reply]
@Srđan Yes, this is possible. Do you want the disambiguator deleted or replaced with something else (and if yes, with what)? I've put the affected items below for review.
Best, —‍Mdaniels5757 (talk • contribs) 15:53, 2 June 2024 (UTC)[reply]
@Mdaniels5757: The "proposed_replacement_label_2" is correct: there should be no (čvor) or any disambiguator in the label field; the disambiguation is explained in the description field, as is the case with other languages on Wikidata. :-) Let me know if you need anything else, and thanks! – Srđan (talk) 05:31, 3 June 2024 (UTC)[reply]
Now just awaiting approval at Wikidata:Requests for permissions/Bot/MDanielsBot 2. —‍Mdaniels5757 (talk • contribs) 20:15, 7 June 2024 (UTC)[reply]
@Srđan The bot has been approved, and it has started. It should make about 1,405,461 changes to descriptions and 117 changes to labels. —‍Mdaniels5757 (talk • contribs) 00:19, 11 June 2024 (UTC)[reply]
Request process

Request to change country of citizenship from Denmark to Kingdom of Denmark (2024-06-11)

edit

Request date: 12 June 2024, by: Colin R Robinson

Link to discussions justifying the request

https://www.wikidata.org/wiki/Property_talk:P27#Denmark_(Q35)_vs._Kingdom_of_Denmark_(Q756617)

Task description

Replace country of citizenship (P27) value Denmark (Q35) with Kingdom of Denmark (Q756617)

Discussion

While adding people with Danish citizenship to Wikidata, I saw my entries being flagged with the none-of constraint (Q52558054) and came across this discussion. I have no opinion on it, but if the consensus is that Kingdom of Denmark (Q756617) should be used instead of Denmark (Q35) then a bot should update those thousands of entries.

Request process

Request to change the format of DrugBank ID (P715) in references (2024-06-27)

edit

Request date: 27 June 2024, by: Wostr

Link to discussions justifying the request
Task description

Earlier this year the format of DrugBank ID (P715) has been updated from (SALT\d{1}|CAT\d{1})?\d{5} to DB(SALT\d|CAT\d)?\d{5} (i.e. including the "DB" = "DrugBank" prefix). Recently I've updated all main statements using QuickStatements, but there are many uses of DrugBank ID (P715) in the references sections.

As I can't do it easily in QS (I don't know how), I'd like to ask a bot operator to update DrugBank ID (P715) values that are present in the references sections. An example is here: all DrugBank IDs that match \d{5} should be updated to include the "DB" prefix (00898DB00898).

Licence of data to import (if relevant)
Discussion


Request process

Request to change URLs pointing to nomisweb.co.uk (2024-07-10)

edit

Request date: 10 July 2024, by: Ælfgar

Link to discussions justifying the request
Task description

Hi,

The website nomisweb.co.uk is used as a reference on many items for British places. However, they have changed their URLs and all the links are broken now. They used to look like this:

https://www.nomisweb.co.uk/reports/localarea?compare=E04009659

And now they look like this:

https://www.nomisweb.co.uk/sources/census_2011_ks/report?compare=E04009659

All URLs need to be updated by replacing the reports/localarea bit with sources/census_2011_ks/report.

Licence of data to import (if relevant)
Discussion


Request process