Wikidata:Bot requests/Archive/2013/06

This page is an archive. Please do not modify it. Use the current page, even to continue an old discussion.

is there a bot that adds the (in some cases changed) wikipedia title as label to items where a link is present, but a label is missing? that is the same thing that MediaWiki:Gadget-autoEdit.js does. if so, could you handle User:Akkakk/issues#link to wiki present, but no label (lml)? if not, do someone want to write such a bot? --Akkakk 10:48, 4 June 2013 (UTC)

SamoaBot 29 and many others are meant for this. Please explain the issues further. --Ricordisamoa 11:52, 4 June 2013 (UTC)
This section was archived on a request by: --Akkakk 14:30, 4 June 2013 (UTC)

Somevalue in GND ID

Could someone please design a bot that removes the entry of "somevalue" for GND identifier. There is a long list at constraint violations that would be better if automated. I have alerted the editor adding "somevalue" that these edits are being flagged up. I believe there is already a bot removing "somevalue" from the VIAF property. Delsion23 (talk) 09:07, 4 June 2013 (UTC)

  Doing… with my bot (example). --Ricordisamoa 12:00, 4 June 2013 (UTC)
Great work, thanks! Looks like the backlog of violations can be cleared in no time now :) Delsion23 (talk) 12:02, 4 June 2013 (UTC)
It seems to have already   finished that: ping me in case I'm wrong. Regards, --Ricordisamoa 12:12, 4 June 2013 (UTC)
This section was archived on a request by: --Ricordisamoa 19:08, 6 June 2013 (UTC)

GenPept

I am asking this here because bot operators will know what this is about. This property proposal (Wikidata:Property_proposal/Generic#GenPept) looks like it was somewhat of an misunderstanding on how data needs to be imported. I actually think that we could create a property for genetic sequences with qualifiers at which position a certain slice of information sits. --Tobias1984 (talk) 11:49, 5 June 2013 (UTC)

This section was archived on a request by: --Tobias1984 (talk) 14:30, 15 July 2013 (UTC)

Automatic addition of descriptions

Could the following be done by bot for the de descriptions according to templates used in the de.wikipedia article:

If there already is a description, no action should be made. --Leyo 13:07, 20 June 2013 (UTC)


Doing this, thanks for the suggestion! Thegreatgrabber (talk) 16:31, 21 June 2013 (UTC)

Have you started? --Leyo 10:04, 4 July 2013 (UTC)
Too busy right now. :( Thegreatgrabber (talk) 02:05, 10 July 2013 (UTC)
Is there anyone else who has got time? --Leyo 08:59, 23 July 2013 (UTC)
I'm on it.--Kompakt (talk) 11:38, 23 July 2013 (UTC)
This section was archived on a request by: --Kompakt (talk) 08:59, 26 July 2013 (UTC)
Thank you. --Leyo 21:46, 26 July 2013 (UTC)

Property:P132 - replacement of values

Is there is a chance that a bot could do the following things automatically?

  • There are a lot of items with P132 = Q747074 (Italian municipality) AND Q15284 (municipality). The value Q15284 should be deleted since Q747074 is more specific.
  • There are a lot of items with P132 = Q15284 (municipality) and P17 = Q213 (Czech Republic). The value Q15284 should be replaced by Q5153359 since this is more specific.

--Monsieurbecker (talk) 21:13, 1 June 2013 (UTC)

My bot will do this. --Sk!d (talk) 11:13, 13 August 2013 (UTC)
added some other proposes on Property_talk:P132#tasks_for_bots. --Sk!d (talk) 15:44, 13 August 2013 (UTC)
This section was archived on a request by: --Sk!d (talk) 15:44, 13 August 2013 (UTC)

Fix Polish descriptions

Hi, MediaWiki:Gadget-autoEdit.js added two contained two incorrect Polish texts that were added to item descriptions. It would be nice if a bot could change:

  • włoskie obec -> włoska gmina
  • 'szablon Wikipedia -> szablon Wikipedii

-Zolo (talk) 07:11, 2 June 2013 (UTC)

For the first replacement: there was already this request, and this RFBOT. Have some items been left? --Ricordisamoa 08:13, 2 June 2013 (UTC)
No I dont think so, sorry, I had just not thought of checking it. --Zolo (talk) 08:39, 2 June 2013 (UTC)
Yes. At May 27 (in the database dump of that date) there was 4,196 Polish items descriptions with the text "włoskie obec" and 277 with the text "szablon Wikipedia". I can put the lists in any format at a wiki page or send them by e-mail at request. Byrial (talk) 07:36, 3 June 2013 (UTC)
  Completed the first replacement for all pages in it:Category:Comuni d'Italia. --Ricordisamoa 12:02, 4 June 2013 (UTC)
@ Byrial: since there would potentially be thousands of items to check, please provide me all IDs you found from the report (maybe in User:SamoaBot/szablon Wikipedia). Thanks, --Ricordisamoa 12:09, 4 June 2013 (UTC)
  made list of item IDs Byrial (talk) 18:21, 4 June 2013 (UTC)
  completed again for all listed items. --Ricordisamoa 01:49, 14 June 2013 (UTC)
This section was archived on a request by: --Sk!d (talk) 02:15, 15 August 2013 (UTC)

en: bot idea for family relationship — fr: idée de bot pour les liens de parentés

Français : Bonjour,

Je travaille sur les éléments de P107 (P107) égal à person (Q215627), et je pense qu'il serait utile d'avoir un bot capable de vérifier :

  • périodiquement que sex or gender (P21) est renseignée, et remplir une page listant les éléments où sex or gender (P21) n'est pas renseignée ;
  • si father (P22) est renseigné, vérifier que sur l'élément cible child (P40) est correctement renseigné et sex or gender (P21) est bien égal à male (Q6581097), et éventuellement ajouter les affirmations manquantes ;
  • si mother (P25) est renseigné, vérifier que sur l'élément cible child (P40) est correctement renseigné et sex or gender (P21) est bien égal à female (Q6581072), et éventuellement ajouter les affirmations manquantes ;
  • de même que s'il y a sur un élément des affirmations spouse (P26), P7 (P7) ou P9 (P9), vérifier que l'affirmation réciproque existe bien sur l'élément cible, et éventuellement ajouter les affirmations manquantes ;
  • vérifier que les sources soient identiques pour une affirmation et son affirmation réciproque, ajouter les sources manquantes ou lister dans une page quand les sources sont différentes.
Merci


English: Hello,

I am working on items whose P107 (P107) is equal to person (Q215627), and I think it could be useful to have a bot able to :

Thanks
Hi, check this pages:

--Pasleim (talk) 23:14, 6 June 2013 (UTC)

This section was archived on a request by: --Sk!d (talk) 02:16, 15 August 2013 (UTC)

One-time task: adding Paris city digital code (P630) to the streets of Paris

Hello, I'm looking for a bot to fulfill this request please.

For all the items which have the fr:Template:Infobox Voie parisienne in the French Wikipedia, the property Paris city digital code (P630) should be added with the value of the parameter Ville de Paris.

Thanks in advance. Ayack (talk) 08:59, 16 June 2013 (UTC)

I was thinking it could make sense to wait until the quantity datatype is available, so that the bot could follow the link and retrieve length and width by the same occasion. --Zolo (talk) 09:24, 16 June 2013 (UTC)
Good idea, but it seems we will have to wait several months before the quantity datatype is available. Ayack (talk) 17:13, 16 June 2013 (UTC)

de disambiguations without en label

there are lots of de disambiguations without en label. in many of them the en label can be added automatically if they

  • have only one link
  • and that link is to a de site
  • have only one claim
  • and that claim is P107 (P107) => Q11651459
  • they have only descriptions listed on MediaWiki:Gadget-autoEdit.js as description for a disambiguation page
  • they have only one label
  • and that label is a de label that matches the link (maybe with stripped (Begriffsklärung))

if these conditions are fullfilled it should be ok to set the en label to the value of the de label. if you're cool you could check if the de page contains {{Begriffsklärung}}. affected items can be found on Special:WhatLinksHere/q11651459 if you use the regular expression '<a href=\"/wiki/(Q[0-9]+)\" title=\"(Q[0-9]+)' that will give you the items without en label if your interface langage is en --Akkakk 02:06, 21 June 2013 (UTC)