Wikidata:Bot requests/Archive/2018/02

Removing Aliases

Request date: 1 February 2018, by: Jason.nlw

Link to discussions justifying the request
Task description

I have made a mess of transferring Aliases from en to cy for a group of items and need them removed so that i can start again. It effects up to 888 items, and around 9000 alias (Genes have a lot!) I couldn't easily prepare a list of effected aliases so i think it would be best to remove all cy alias from those 888 items and i will start again. None of these had aliases before my edit yesterday. Here is a list of the items. Thanks for your help! Jason.nlw (talk) 09:57, 1 February 2018 (UTC)

Licence of data to import (if relevant)
Discussion
@Pasleim: Many thanks for your help.Jason.nlw (talk) 11:55, 2 February 2018 (UTC)


Request process

mainly done --Pasleim (talk) 14:54, 1 February 2018 (UTC)

This section was archived on a request by: --Pasleim (talk) 14:54, 1 February 2018 (UTC)

Nations at games

  Notified participants of WikiProject Sports

SELECT ?item ?itemLabel ?itemDescription
{
	?item wdt:P31 wd:Q26213387 . 
  	?item wdt:P31 wd:Q13406463 . 
	SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}

Try it!

Currently some 1800 items have both P31 statements. Thanks to @&beer&love: these are now better identified. I think the list-p31 statements could be removed, but that means to descriptions in countless languages should be fixed as well.
--- Jura 05:17, 21 February 2018 (UTC)

ːː I can delete P31:Q13406463, but no removed description. --&beer&love ( talk) 10:35, 21 February 2018 (UTC)

If no bot operator is interested, I could delete the descriptions with QuickStatements.
--- Jura 10:42, 1 March 2018 (UTC)

  Notified participants of WikiProject Sports

SELECT ?item ?itemLabel ?itemDescription
{
	?item wdt:P31 wd:Q26213387 . 
  	?item wdt:P31 wd:Q18340514 . 
	SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}

Try it!

̈ 1340 items have both P31 statements. --&beer&love (talk) 10:35, 21 February 2018 (UTC)

This section was archived on a request by: descriptions cleaned-up
--- Jura 08:57, 4 March 2018 (UTC)

French descriptions for Sphingidae (accidentally erased by a bot)

Request date: 21 February 2018, by: Totodu74

Link to discussions justifying the request
Task description

Hello, is it possible to draw the list of items with [the statement taxon rank (P105)species (Q7432)] and with [Sphingidae (Q157683) in its ascendance through parent taxon (P171)], and then to replace all their French description into "espèce de lépidoptères de la famille des Sphingidae"?

Thanks in advance, Totodu74 (talk) 13:04, 21 February 2018 (UTC)

Licence of data to import (if relevant)
Discussion
  Comment Should all of them be replaced or are you just looking for those with a specific error? Matěj Suchánek (talk) 16:00, 21 February 2018 (UTC)
The description provided should be accurate for all items (i.e. you can replace all of them, indeed), but the operation could overwrite custom descriptions that other users could have introduced (e.g. "species of Sphingidae moth endemic from Ethiopia described by Mr. so-and so in XXXX" -- in French, of course). I must confess I did not checked for all descriptions currently in place, though I doubt it and anyway I think the simple description I suggested would remain better: short and accurate. Totodu74 (talk) 16:51, 21 February 2018 (UTC)
Request process

  Done --Pasleim (talk) 18:56, 15 April 2018 (UTC)

This section was archived on a request by: --Pasleim (talk) 18:56, 15 April 2018 (UTC)

Repair "en-ca"-labels for categories

#Some samples (incomplete)
SELECT DISTINCT ?item ?itemLabel ?l 
{
	?item wdt:P31 wd:Q4167836 ; wdt:P301 [] ; rdfs:label ?l . FILTER( lang(?l)="en-ca" && !STrstarts(str( ?l ),"Category:" )  )
	SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 10

Try it!

There seems to be a couple of items with "en-ca" labels that lack the "Category:" prefix. This didn't matter much when internal search wasn't as great as it's now, but currently these pages get listed even when one searches in English, e.g. "Raphinae" lists Category:Raphinae (Q8634300).

This can be fixed by adding the missing "Category:". Sample edit: [2]

Some of the en-gb ones seem to have been fixed already.
--- Jura 19:29, 9 February 2018 (UTC)

Re-import P569 from dewiki

Checking P569 of some people, I found that many with a date of birth (P569)-date precision of "century" have more precise dates available. Several of these seem to be imports from dewiki.

Maybe attempting to re-import such dates could help: sample query, sample edit.
--- Jura 08:35, 16 February 2018 (UTC)

Automatic creation of labels in Arabic dialects for Wikidata entities from existing labels in Modern Standard Arabic for these items

Request date: 29 December 2017, by: Csisc

Link to discussions justifying the request
Task description

There is no label in most of the Arabic dialects for entities in Wikidata. However, there are several simple rules that can be easily applied using Pywikibot to add labels in Arabic dialects to entities in Wikidata:

  • The label of a proper entity (Person, Place, Trademark...) in Modern Standard Arabic is the same as the one of such an entity in the following Arabic dialects: South Levantine Arabic (ajp), Gulf Arabic (afb), Hejazi Arabic (acw), Najdi Arabic (ars), Hadhrami Arabic (ayh), Sanaani Arabic (ayn), Ta'izzi-Adeni Arabic (acq), and Mesopotamian Arabic (acm).
  • Labels of places and people (if they do not hold another citizenship) from Palestine, Jordan, Syria, Iraq, Kuwait, Yemen, Oman, Bahrain, Qatar, UAE, Saudi Arabia, Sudan, Djibouti, Comoros, Somalia, and Mauritania are the same in all Arabic dialects as in Modern Standard Arabic.
Discussion

Problem solved. This can be done using Wikidata query service and QuickStatements. --Csisc (talk) 00:21, 20 February 2018 (UTC)

Request process