User talk:JAn Dudík/Archiv 2

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

IMDb

Ahoj, tohle bude asi trochu problém, protože české šablony Imdb osoba a Imdb film v sobě mají automaticky před číslem ještě písměna, která označují jestli jde o osobu nebo film (film = tt / osoba = nm). Řekl bych, že na WD by to mělo být kompletní (bez toho to dopadá takhle). Nicméně je mi jasné, že při přebírání by to takto mělo fungovat. --Marek Koudelka (talk) 08:54, 24 July 2014 (UTC)

Požádal jsem o opravu schopnějšího robota. Přebíral jsem jen osoby, tak by to mělo být jednodušší. Před přebíráním filmů tedy nejprve upravím českou šablonu a její vložení. JAn Dudík (talk) 09:09, 24 July 2014 (UTC)
Díky. Ještě koukám, že existuje šablona pro postavy (Imdb postava), tam je zase před číslem „ch“. --Marek Koudelka (talk) 09:17, 24 July 2014 (UTC)

Merge-project requiring language skills

Dear Wikidatan,

Even though Wikidata phase 1 (replacing interlanguage by Wikidata) is officially finished, there are still a lot a duplicate items that should be merged. Projects to list possible duplicates (and therefore possibles mergers) have been started by users such as Pasleim with User:Pasleim/projectmerge and Ivan A. Krestinin with User:Ivan A. Krestinin/To merge. Those bot-generated lists do however contain quite some false positives and therefore still need a human eye to decide whether to merge or not.

Since you are an administrator on Wikidata with knowledge of the Czech language, User:Ivan A. Krestinin/To merge/cswiki might use your help. As said, it lists couples of WD items that might possibly be merged. If you are already involved in these projects or not interested, I am sincerely sorry for bothering you.

With kind regards, FakirNL (talk) 23:30, 27 July 2014 (UTC)

@FakirNL: Yes, I know about this pages and I am sometimes working on it. There is also User:Pasleim/projectmerge, which is my priority list for merging. JAn Dudík (talk) 06:05, 28 July 2014 (UTC)

Czech football players

Are you sure that this football player Vojtěch Jirát (Q11925903) is born in the year 22? See https://www.wikidata.org/w/index.php?title=Q11925903&diff=143739606&oldid=126919682 I guess you read the dates of some template in the Czech wikipedia, but the template in cs:Vojtěch Jirát says "22.květen 1902" not "22". The only problem might be the missing space between "22." and "květen". Maybe your bot should make sure that the data are plausible and correct before inserting them. Something similar: here, here, here, here... --MaEr (talk) 14:04, 12 July 2014 (UTC)

This is one of known bugs of script I use (the second is incorrect import of february and november). Usually I manually repair incorrect inputs, but I found it after this import, so some incorrect might stay, because I did not identify them. Do you know any way how to find people with weird date of birth/death? (e.g. only year between 1-31, correct ones are only few) JAn Dudík (talk) 07:32, 22 July 2014 (UTC)
I have found the "weird" dates by reading this list: Wikidata:Database_reports/Constraint_violations/P570#.22Diff_within_range.22_violations. But now, most of these errors are caused by imprecise dates like "18th century", "19th century" etc. If you can program, you might try to find a better way of finding impossible dates. --MaEr (talk) 15:20, 26 July 2014 (UTC)
@MaEr: [1] all people born between years 1-31. Some of them are this problematic footballplayers, some are problematic from another source, the rest os OK. JAn Dudík (talk) 20:56, 28 July 2014 (UTC)

Q17476579

Náhodou jsem si všiml stránky Q17476579 (tj. „Wikipedista:Karelstetka“). Vzniklo to asi tím, že na cs.wiki byla stránka zařazena v kategoriích, kam nepatří. Tam jsem již kategorie odstranil, prosím teď o smazání této stránky. Jinak díky, že jsi se doplňování pohlaví ujal. --Marek Koudelka (talk) 15:06, 2 August 2014 (UTC)

No (female) portrait cs.svg

Hello JAn Dudík, I noticed your bot added on several items 'image' information linking to 'No portrait cs.svg' or 'No female portrait cs.svg' which are obviously not welcome for Wikidata. I started removing them but after 14 cases (see [2]) I gave up. I hope you can use your bot to remove the rest. - Robotje (talk) 09:00, 8 August 2014 (UTC)

Do you know the way how to rewrite this script to ignore these files? As I know, KRbot is sometimes removing this files. Bugzilla69286 JAn Dudík (talk) 09:13, 8 August 2014 (UTC)
Sorry, I cannot help you with that. Although my username might give the impression of me being a bot, I'm just a normal user working with a browser to edit articles/pages. - Robotje (talk) 11:47, 8 August 2014 (UTC)

Faráři

Zdravím, koukám že mi Váš bot trochu přidělává práci, když při importu farářů do položek o farnosti občas importuje nikoliv osobu (když nemá link), ale její příslušnost k řádu apod. P6 je ovšem určena výhradně pro osoby (když umí pouze item, nikolik string), v případě "funkce" je možné využít P1313. Zase tolik toho nebylo, ale při budoucích importech by to bylo dobré brát v potaz. --Jklamo (talk) 08:55, 14 August 2014 (UTC)

Bohužel to robot neumí poznat - pokud je v položce administrátor odkaz, bere jej jako odkaz na administrátora. Příslušný skript zatím neumí kontrolovat, zda má cílová hodnota P31=Qxxx. Popravdě, infoboxy u některých farností jsou vyplněny příšerně, v jenom řádku leckdy bývají veškeré kontaktní údaje (adresa, mail, web, odkud je spravovaná...). Obdobná situace mi nastala onehdá u starostů, kde taky byla někdy importována politická strana místo osoby. Medle takové odkazy do infoboxu vůbec nepatří, ty by měly být v článku o osobě. JAn Dudík (talk) 09:03, 14 August 2014 (UTC)

a bot edit

Hello, can you have a look at [3] by your bot please? Q728904 is a Q728904 (itself)? Holger1959 (talk) 06:59, 19 August 2014 (UTC)

This is logical, because I run bot for addin P31=Q728904 to all pages with prefix Přírodní_park in cs.wiki. JAn Dudík (talk) 07:18, 19 August 2014 (UTC)
no error then, good :) Holger1959 (talk) 14:15, 19 August 2014 (UTC)

Wikinews sitelinking

Your bot makes erroneous sitelinking to Wikinews. See Wikidata:Wikinews/Development#Interproject links and Wikidata:Project chat#Wikinews linking. Fix it please. --sasha (krassotkin) 11:32, 22 August 2014 (UTC)

It does not make sense, that some categories are linked with categories and some with articles. There is category's main topic (P301) and topic's main category (P910) for makinq relations between article and category namespace. JAn Dudík (talk) 12:33, 22 August 2014 (UTC)

Category error

Hi Jan, this edit is clearly wrong. I wanted to update User:Multichill/Cross namespace, but that's impossible because the query totally exploded. Could you please clean this up? Thank you, Multichill (talk) 18:46, 25 August 2014 (UTC)

Looking at some more it seems like you made a serious amount of errors. You also added duplicate claims, take for example Category:March 2012 events (Q9419844). You probably have to revert most instance of additions in this list. Multichill (talk) 19:24, 25 August 2014 (UTC)
@Multichill: I am afraid, that thsit totally wrong state is because of user:Krassotkin, which made many these edits. My bot only tagged categories on wikinews instance of (P31)=Wikimedia category (Q4167836). Duplicate statements are due bugzilla:67284, and there might be only 2-3 more such items today. JAn Dudík (talk) 19:56, 25 August 2014 (UTC)
Your bot makes erroneous edits. I already offered to stop. See discussion: Wikidata:Project chat#Wikinews linking. There spoke many experienced administrators and editors of Wikinews. --sasha (krassotkin) 20:01, 25 August 2014 (UTC)
Sucks man, but it's your bot so you should clean it up. Your code should have contained a check for cross namespace issues.
You could ask Krassotkin for a hand, but it's your responsibility. Multichill (talk) 20:06, 25 August 2014 (UTC)
I use standard pywikipedia framework. My bot can automatically connect same-name-and-namespaces pages in different projects. But when adding statement, I must rely to framework, because I cannot made greater changes of code - the only I can do is report bugs. JAn Dudík (talk) 20:11, 25 August 2014 (UTC)
Jan, don't hide behind something else, take your responsibility. Wikidata:Bots is crystal clear about this part: "In the case of any damage caused by a bot, the bot operator is asked to stop the bot. Depending on the scale of the damage, an administrator may block the bot. The bot operator is responsible for cleaning up any damage caused by the bot."
Shit happens, I myself had to clean up a bit of damage this weekend.
You're not alone, I can make you a list of edits from which to remove the category claim if you like. Multichill (talk) 20:21, 25 August 2014 (UTC)
If there is wrong source, the otput is wrong too. I removed P31=category from all not-categories (by label) and duplicates from March. If you can made me such list, I can check the rest. But the problem with cross-namespace and wikinews is still there.
BTW, if speaking about wrong bot edits, what about to update your bot for WLM@cs.wiki? We recently wrote to you about some changes ant the last result is that we had to revert all changes, because no response... JAn Dudík (talk) 20:35, 25 August 2014 (UTC)
On this page you'll find the list of items that have a link to an article on Wikipedia and a category on Wikinews. If you just remove the category claim here, it should be ok again. Multichill (talk) 18:52, 27 August 2014 (UTC)

re:P373

Ok. I knew that categories should have link to Commons categories and ns0 should have the property "Commons category" and link to Commons gallery, but if you say that there are problems with templates I won't touch those links :) thanks, sorry. --Superchilum(talk to me!) 07:27, 6 October 2014 (UTC)

Human coordinates

Hi, please do not add coordinate location (P625) to instance of (P31) = human (Q5) items directly. Please use it as qualifier for place of death (P20) or something else. There are also another known cases, please see {{Constraint:Conflicts with}} on Property talk:P625. — Ivan A. Krestinin (talk) 16:20, 6 October 2014 (UTC)

Hello, do you know how to add qualifiers using coordinate_import.py? and how to recognize in (sub)category members if is it human or place? I am not developer, only user. bugzilla:71713. JAn Dudík (talk) 18:54, 6 October 2014 (UTC)
I am apologize, but I have no experience with Pywikibot. Subcategories are not needed for this case, P31=Q5 is enough. Thank you for bug creation. — Ivan A. Krestinin (talk) 19:15, 6 October 2014 (UTC)

Tuber

If you want to make sure that there is a link to some page on Commons, then there are other ways than by making inappropriate links here on Wikidata. In this case, the obvious thing to do is to have whatever link you want on Commons (and in fact there already is a link of some sort to that page in Commons). - Brya (talk) 16:34, 20 October 2014 (UTC)

I do not understand, why is thisl link wrong. This is not sitelink, this is link to related gallery. and as far as I understand this thema, this gallery is about the same subject as article. Or, maybe, is cs:Lanýž about something else than other languages? JAn Dudík (talk) 19:18, 20 October 2014 (UTC)
Tuber is about the genus Tuber, a taxonomic unit; Truffle is about the culinary product. It is the same relationship as between a tomato or potato and the genus Solanum, or between linen cloth and the genus Linum. - Brya (talk) 05:51, 21 October 2014 (UTC)
I understand, but I see no reason, why Solanum should not link to gallery about potatoes. If this is interwiki link, i understand, but images? JAn Dudík (talk) 07:33, 21 October 2014 (UTC)
If you follow that line of reasoning, we will get links all over the place. Solanum linking to galleries about potatoes and tomatotoes. And Solanaceae linking to galleries about potatoes, tomatotoes, peppers, etc. There are already links in place to go there in some way, indirectly, according to the relation that actually exists. To maintain order, we have a link from item Truffle to the gallery Truffle, and a link from item Tuber to the Commons page Tuber. - Brya (talk) 10:51, 21 October 2014 (UTC)

Je to úkol pro robota?

Zdravím, mohl by ses prosím podívat na WD:Bot requests#Please remove erroneous/unreliable státní občanství (P27) statements? Dokáže s tím vůbec nějaký bot pohnout? Nikdy jsem s boty nedělal, tak se obracím na někoho zkušenějšího o názor...--Shlomo (talk) 04:36, 24 October 2014 (UTC)

Osobně odstraňovat tvrzení roboticky neumím. Zkus, zda by to neuměl KrBot nebo Dexbot. JAn Dudík (talk) 09:24, 24 October 2014 (UTC)
OK, dík, zkusím se poptat. Kdyby to nešlo, možná by aspoň stálo za to nastavit tam deprecated rank, nebo je označit jako neprověřené. Spíš mi šlo o to, jestli bot dokáže selektovat podle uvedených kritérií (datum + editor + obsah editace).--Shlomo (talk) 10:12, 24 October 2014 (UTC)

Duplikace tvrzení

Special:Diff/173036029. Prosím kontroluj při robotickém přidávání tvrzení, zda už není přítomno. V infoboxech to pak vypadá blbě :( Zdravím, --Shlomo (talk) 13:01, 11 November 2014 (UTC)

Teď na to koukám, že se to asi týká většiny, ne-li všech oceněných Izraelskou cenou. Myslíš, že by to šlo nějak hromadně prověřit/opravit? Ocenění Izraelskou cenou je uvedeno u 460 položek, ale netuším, jak vyfiltrovat ty, kde je to dvojmo...--Shlomo (talk) 13:41, 11 November 2014 (UTC)

Prosím, pomozte

Help me please. User:GZWDer- did vandalism: liquidated reference for Ukrainian Wikipedia - 1) Monumenta Germaniae Historica (https://www.wikidata.org/w/index.php?title=Q316880&oldid=175939719&diff=prev); 2) Lexikon des Mittelalters (https://www.wikidata.org/w/index.php?title=Q372286&oldid=175939711&diff=prev). information about User:GZWDer - he does not speak Slavic languages for evaluation, links to articles! I wrote an articles about those of Polabian Slavs. This links to them. Regards --Krupski Oleg (talk) 11:31, 22 November 2014 (UTC)

@Matěj Suchánek, Krupski Oleg: How it looks to me: There is some Project:Abuse filter (Q4582485), which marks, if somebody write e.g. cyrillic script to field, where should be latin script. And probably it works in reverse too: if somebody writes latin characters to field, whee should be latin ones (description for ukrainian should be in cyrilic, but marked by filter with incorrect name). And User:GZWDer wanted to remove this "error", but because used admin revert instead of cancel edit, reverted all changes made by you. You should make description in correct script and language. JAn Dudík (talk) 07:24, 24 November 2014 (UTC)

Your bot doesn't take into account that Wikinews categories are added to "usual" (main WP namespace) elements

Hello. Please note that "Wikinews categories (topics) correspond to Wikipedia articles and to similar items in other wikiprojects", so this edit, which caused another bot to add wrong descriptions, is wrong. Thanks in advance. Ain92 (talk) 14:51, 2 January 2015 (UTC)

Hello, I disagree with this mixing of namespaces, but this edit was made old time ago. Now I am ignoring Wikinews because of this. JAn Dudík (talk) 15:22, 2 January 2015 (UTC)

Zakládání položek

Ahoj. Všiml jsem si, že 12 dní po založení stránky cs:Přívoz Dol - Libčice nad Vltavou založil tvůj bot odpovídají položku na Wikidatech. Ovšem nebylo by jednodušší, aby v takových případech zároveň s tím importoval přinejmenším Commonscat, je-li řádně vyplněno? --ŠJů (talk) 00:31, 27 January 2015 (UTC)

Ahoj, zakládání nefunguje bohužel tak, jak by mělo phab:T86491. NAvíc zakládání dělá úplně jiný skript než přidávání commonscat, původní skript, který uměl obojí už po mnohých úpravách na straně Wikidat neumí zakládat :-(. Obě úlohy spouštím ručně, ale zakládání nových z domova a commonscat z kanceláře. Tak jako tak bych musel postupně spouštět dva skripty.
Tato konkrétní stránka vznikla tak, že jsem v kancelář spustil příkazy pro commonscat, takže robot založil chybějící, ale vzhledem k nedostatku času a nestabilnímu připojení už nedoběhl druhý cyklus - přidávání commonscat. Až si někdy v týdnu vzpomenu, spustím celý cyklus znovu. JAn Dudík (talk) 15:05, 27 January 2015 (UTC)

Commonscat

"name of the Wikimedia Commons category containing files related to this item". So if a category or its subcategories do not contain files, like with Commons:Category:TOC templates. This category shouldn't be connected to Q8893954 with P373, but with an entry under "Jiné projekty" (which it already had). the cs description of P373 isn't clear on this, most other languages' are. The purpose of Wikidata is to combine similar items over different projects, and the entry does that. P373 isn't for this pupose, but to provide a Commons category with media (i.e. Images, sounds, etc) to article and category items. With categories both a entry under "Jiné projekty" and a P373 may be valid, but only when the commons category contains media P373 is to be used. - cycŋ - (talkcontribslogs) 08:02, 26 March 2015 (UTC)

Import

Ahoj, údajně umíš importovat položky infoboxů, obracím se tedy na tebe. Jde o nově založenou vlastnost P:P1809 užívanou hlavně infoboxem balet (česká verze infoboxu je vložena jen v patnácti článcích, takže by bylo lepší importovat data z en, šlo by to?). Koukal jsem na několik náhodných článků (Q3235140, Q1556445) a na Wikidatech toho je málo, takže by bylo dobré importovat všechny parametry. Propojení parametrů v infoboxech a vlastností na WD je v diskusi českého infoboxu. Najdeš si na to čas? --Marek Koudelka (talk) 16:25, 7 April 2015 (UTC)

Jinak, vím, že to není úplně tvoje chyba (nepořádek na dsb.wiki), ale Q19760691 je duplicita k Q6934680. V příspěvcích toho teď máš hodně. Nemám teď moc času na slučování, ale bylo by dobré dát to dohromady. --Marek Koudelka (talk) 16:31, 7 April 2015 (UTC)

Instance of Czech Republic

Your bot seems to have added numerous statements like this: diff. Very strange. --Yair rand (talk) 17:23, 31 December 2015 (UTC)

Sorry, two years ago i am not able to investigate where was error. Probably i messed property q31 with property for country.
when i will be back on my computer with working bot, i will see if pywikibot have function for replacing - there were none when i last used it for adding statements :-(.
JAn (talk) 20:31, 31 December 2015 (UTC)

Importing coordinates

Please be more cautious while importing coordinates from cswiki. It is not possible to import everything, for example importing coordinates to items describing humans, spaceship or corporation. Please clean-up these edits like that. --Jklamo (talk) 00:39, 25 January 2016 (UTC)

Odpovím česky: Bohužel je na cs.wiki nepoužitelný kategorizační strom dle zeměpisného členění, a i když omezím import třeba jen na jedno město, přesto pod ním budou zahrnuty osoby pohřbené nebo narozené v tomto městě.
Ad firma: souřadnice, přesně v souladu s článkem, ukazují na (bývalé) sídlo firmy. Lépe je to samozřejmě v aktuální verzi, ale to pywikibot neumí a vlastně ani nejde rozumně poznat a vložit roboticky.
Ad Kaplíř: I v něm je to nyní dobře. robot umí poznat, že už jsou souřadnice vložené někde jako vymezení a neimportuje.
Ad Apollo: to už je bohužel vlastnost souřadnicové šablony, že se k článku přidává i v případě, že jde o řádkovou a ne infoboxovou informaci. Stejně tak u jakéhokoliv seznamu budou vloženy první souřadnice, které se v něm vyskytují. Ale i zde je to nyní v pořádku.
TAkže lepší, než bezhlavě revertovat, je přidat souřadnice na správné místo.
english: Better than reverting is to correct coorddinates to qualifier.
JAn Dudík (talk) 06:13, 25 January 2016 (UTC)
Tak tedy také česky:
Nedokonalost kategorizačního stormu na cswiki není omluva pro přidávání nedokonalostí do wikidat.
Nikoliv, u firem není jasné, k čemu se souřadnice vztahují, proto patří souřadnice jako vymezení (qualifier) k příslušné položce, nikoliv jako samostatná vlastnost (property).
Ano, podobně u osob patří souřadnice jako vymezení (qualifier) k příslušné položce, nikoliv jako samostatná vlastnost (property), protože pak není jasné k čemu se souřadnice vztahuje (může být místo odpočinku, místo smrti, místo narození...).
Viz výše, opět je to nejasné.
Nikoliv, doby kdy boti importovali chyby/nejasnosti s tím, že jde o malou část a někdo jiný to opraví, už jsou prostě pryč. Zodpovědnost za opravu chyb je na botovodičovi. Pokud není botovodič schopen nápravy v kódu robota, pak musí následně své chyby/nejasnosti opravit ručně/poloautomaticky.
English: Bot owner must fix its bots (to avoid erros) or fix its errors. --Jklamo (talk) 02:43, 28 January 2016 (UTC)
Tak znovu, souřadnice u firem prosím kopírovat přímo jako vymezení (qualifier) příslušné vlastosti (property), tedy nejčastějí P159. Ať pak nemusím žádat jiné roboty, aby to po jiných opravovaly (Wikidata:Bot requests#Moving coordinates to headquarters (again)). --Jklamo (talk) 22:08, 5 March 2016 (UTC)
Principiálně je mi to jasné. Ale: 1) ne vždy je z názvu / kategorizace poznatelné, že jde o firmu. 2) pywikibot to neumí. 3) - u některých firem jsou uvedeny pouze souřadnice, ale ne sídlo. 4) někdy článek směšuje budovu a instituci v ní sídlící. Pak je jen otázkou, zda je dříve položka označena jako budova nebo jako firma - správně by tam mělo být obojí.
A vhledem k tomu, že takovéto případy nebudou ojedinělé, bylo by dobré, kdyby to příslušní boti opravovali pravidelně. JAn Dudík (talk) 08:16, 7 March 2016 (UTC)

Berthold Schwarz

Ahoj. To úmrtí v Dachau je podle všeho chybný údaj, protože tam zemřel B. Sch. nazozený 1910, takže to by musel svůj první dům postavit v deseti letech. Chybný údaj se dvěma solidními zdroji. co s tím?--Gampe (talk) 17:54, 7 February 2016 (UTC)

Na Wikidatech smazáno, holt nebude vyplněno. JAn Dudík (talk) 17:59, 7 February 2016 (UTC)

Constraint check before adding values

If you check Wikidata:Database reports/Constraint violations/P2529 you see why a bot needs to check the constraints before adding a value. Over 200 violations for ČSFD film ID (P2529) added to items that aren't a movie/televisionseries. There are 69 format violations because the value is not just the numbers. And make sure your bot checks if a value exists before adding it. In some cases you added it twice. I saw you were busy cleaning up some of the Type constraints by adding the missing instance of (P31) claim, that's very good. I don't know if your bot is able to clean up the format constraints, otherwise I'll have to think of another plan to do those. Mbch331 (talk) 09:51, 10 February 2016 (UTC)

Hello, do you know how to check these things in pywikibot? I am afraid, that this function is requested for more than year, but still not implemented. For me seems easier to revert/repair few tens of items on WIkidata than manually add hundrets of missing IDs.
BTW, over 200 violatins is really only about 70, many of them were television series without instance of (P31) from sk.wiki.
these 69 format violations are mostly still valid links (leads to correct film), but there is no way how to repair them using pywikibot (try User:KrBot)
There are also some problematiic cases - articles about musical or opera, which have film record with ČSFD id (Musical sometimes also with film infobox on cs.wiki). JAn Dudík (talk) 10:12, 10 February 2016 (UTC)
I have no idea how pywikibot works. So can't help you with that. Format violations will be semi-manual labour then (export the wrong values, delete the statements and re-add clean statements via Quickstatements). Regarding the Q12047856 where you reverted me, I cleaned up the statements there, the instance of (P31) claim there was invalid. The musicals/opera's thats indeed a problematic case. Either they need to split up the musical/opera and the recording of the musical/opera or change it into a film and add musical/opera as a genre. I had a list of 73 items that were certainly wrong, which I cleaned up with Autolist (and 1 manually after that). If you check the wrong results afterwards then it's fine by me that your bot does it wrong, but I know a lot of bot owners don't clean up afterwards and those bots are problematic. Mbch331 (talk) 10:23, 10 February 2016 (UTC)
Because I like ČSFD, I want to clean it personally. There is now task in cs.wiki to add missing ČSFD ID to all articles with wilm infobox - yesterday there was 550 missing, now about 360 :-). JAn Dudík (talk) 10:30, 10 February 2016 (UTC)

Q662197

Is Večerníček (Q662197) the title of a televisionseries (consisting of movies) or is it some sort of special type of tv-series? In the first case instance of (P31)Večerníček (Q662197) is invalid, in the second case Večerníček (Q662197)instance of (P31)television series (Q5398426) should be Večerníček (Q662197)subclass of (P279)television series (Q5398426). Q12047856instance of (P31)Večerníček (Q662197) is currently an invalid statement (you are now saying that Q12047856 is a televisionseries "Večerníček", which is incorrect, it either is a part of that televisionseries or it is a Večerníček (which is a subclass of televisionseries)). Mbch331 (talk) 10:47, 10 February 2016 (UTC)

@Mormegil: You have been busy with my edits regarding ČSFD film ID (P2529) as well and according to your userpage you are cs-N, maybe you can answer above question? Mbch331 (talk) 11:02, 10 February 2016 (UTC)
@User:Mbch331: I have changed Večerníček (Q662197) to be Večerníček (Q662197)subclass of (P279)television series (Q5398426) (and also Večerníček (Q662197)instance of (P31)television program (Q15416)) just a few moments before your message. Is the current situation better? --Mormegil (talk) 11:16, 10 February 2016 (UTC)
Večerníček is specific format: same opening and closing theme and episode of tv-series between.
The themes are the same for 50 years, and the episode is usually czech and animated. These series were often filmed primally for Večerníček.
I am not sure with series/episodes terminology in neither in czech nor in english, but Večerníček is for me not series, its programme. JAn Dudík (talk) 11:17, 10 February 2016 (UTC)
Based on you answer I think the change by Mormegil is correct. It's a special type of tv-series, so it should indeed be Večerníček (Q662197)subclass of (P279)television series (Q5398426). That way they won't violate the type constraint for P2529. Mbch331 (talk) 11:20, 10 February 2016 (UTC)

Items not marked as tvseries/movie

On Wikidata:Database reports/Constraint violations/P2529 the first section, you can see there are a lot of items that don't have set if it's an tv-series or a movie. (Recognisable, because there's nothing after the :) Can your bot update those items? Mbch331 (talk) 11:27, 12 February 2016 (UTC)

I am not able now to add statement to set of items from WD, but I can add it to list from WP. Lets see tomorrow, how many items will be updated ... JAn Dudík (talk) 18:58, 12 February 2016 (UTC)

Hi Jan Dudik,

Your bot seems to add some problematic values with the above property. Samples: [4][5]. You might want to double-check the additions. As the property is a bit an oddity, I'm not sure if there is much use of adding more of it.
--- Jura 07:38, 22 April 2016 (UTC)

My bot is adding exactly the same value as is in cs.wiki article (@Nadkachna:)
Unfortunatelly I dont know way how 1) check if commons page/category exists 2) disable re-adding of wrong value.
JAn Dudík (talk) 08:19, 22 April 2016 (UTC)
If the gallery doesn't exist, I think Krbot would eventually remove it. Not ideal, but it solves that.
The problem I saw with the additions were that they used the same gallery for a series of items or a gallery for another person.
--- Jura 08:25, 22 April 2016 (UTC)
Yes, this is problem, but the same as if in source is e.g. incorrect place of birth - bot only imports wahatever is filled.
But good news, I found in old fork of script the way how to disable re-importing of recently removed statements and it seems to work. JAn Dudík (talk) 09:03, 22 April 2016 (UTC)
Please seek approval for this bot-task. Re-adding the property at Q4650299 is not acceptable.
--- Jura 10:39, 22 April 2016 (UTC)

Opakované přidávání chyb

Zdravím,

bylo by možné nějak zajistit, aby JAnDbot pořád dokola nepřidával chyby jen proto, že si znovu všimnul nějakého odkazu v článku na Wikipedii? To přidání při prvotním importu ještě chápu, ale nešlo by zajistit aspoň to, aby to nedělal pořád dokola i u článků, které už jednou zpracoval a někdo (já) to po něm pak opravil?

--Mormegil (talk) 13:24, 25 April 2016 (UTC)

@Mormegil: - viz o sekci výše. Podařilo se mi snad znovuzprovoznit (zatím na jednom PC), že robot nepřidá tvrzení, pokud bylo v minulosti už odstraněno. Bohužel ale nepřidá ani opravenou hodnotu ani omylem odstraněné. JAn Dudík (talk) 19:12, 25 April 2016 (UTC)

Hele, tohle asi není Instance of ... kostel, ne? --Vojtěch Dostál (talk) 20:31, 20 May 2016 (UTC)

Jakpak by ne, když to začíná na kostel :-D asi jsem tehdy zadal moc obecný příkaz... JAn Dudík (talk) 20:59, 20 May 2016 (UTC)
Dobrý, to se stane. Ještě se ujišťuji - toto není v Česku, ne? --Vojtěch Dostál (talk) 22:28, 22 May 2016 (UTC)
Proč by mělo? JAn Dudík (talk) 06:11, 23 May 2016 (UTC)
Promiň, jde mi o Q8777340. Je to myslíš výjimka nebo nějaký příznak systémové chyby? --Vojtěch Dostál (talk) 15:13, 23 May 2016 (UTC)
Stále překlep? :-) JAn Dudík (talk) 18:49, 23 May 2016 (UTC)
Facepalm Poslední pokus a pak to vzdávám: Q877734 --Vojtěch Dostál (talk) 21:00, 23 May 2016 (UTC)
Inu, když je v rakouské vesnici použit infobox pro česká sídla, snadno se přidá chybný státní útvar. provizorně opraveno. JAn Dudík (talk) 05:12, 24 May 2016 (UTC)

Co s osadami, které mají infobox - sídlo, ale nejsou částmi obcí dle zákonné definice? Např. Q2114483 Prusíny. Bude JAndbot přidávat neustále instance of ... část obce? Odstraňuji zatím tyto chybné informace manuálně, evidujeme asi 200 chyb. --Vojtěch Dostál (talk) 22:51, 22 May 2016 (UTC)

To je problém strojové čitelnosti dat. 1) jak tato sídla popsat jinak? 2) podle čeho (položka v infoboxu, kategorie) snadno zjistit, že nejde o část obce ale že pouze leží v administrativní jednotce?
Pokud odstraníš chybné tvrzení bez náhrady, je dost možné, že jej nějaký bot v budoucnu opět přidá. V případě českých sídel už pravděpodobně moc nových článků o částech obce nevznikne, to se dá dodělat ručně. JAn Dudík (talk) 06:11, 23 May 2016 (UTC)
Jsem otevřen všem návrhům. Možná udělejme monitorovací kategorii pro články, které nemají Czech neighbourhood ID code (P2788), a přitom se dle infoboxu tváří jako část obce. Uměl bys to? Dík --Vojtěch Dostál (talk) 15:13, 23 May 2016 (UTC)
Myslíš jako přidat do infoboxu sídlo tento kód a monitorovat jej? JAn Dudík (talk) 18:49, 23 May 2016 (UTC)
Jojo, přesně tak. --Vojtěch Dostál (talk) 21:00, 23 May 2016 (UTC)

A ještě dotaz: je myslíš konsensus na těchto editacích? Jestli ano, projel bych ty labely podle oficiálního číselníku částí obcí. --Vojtěch Dostál (talk) 15:21, 23 May 2016 (UTC)

Odstra%novat rozlišovače má smysl ve chvíli, kdy je dostatečný popis položky jiným způsobem (label, tvrzení) - problém s našeptávačem, že nepoznáš, který je ten správný. JAn Dudík (talk) 18:49, 23 May 2016 (UTC)
OK, tedy můžeme vymyslet jednoduchý textový řetězec, který budeme přidávat do popisu ("část obce XY v okrese Z"). Zároveň změníme název položek na oficiální název části obce. Něco podobného možná i pro obce. --Vojtěch Dostál (talk) 21:00, 23 May 2016 (UTC)

Volmanova vila

Nazdar. Ten článek na cswiki a na dewiki - tam jde o dva rozdílné objekty. Já to nesvedl nějak roztrhnout, mrkni se na to. Čau -jkb- (talk) 13:33, 18 June 2016 (UTC)

cs:Volmanova vila + de:Volmanova vila

Wikicitáty

Ahoj...bot vytváří duplicity. --Lenka64 (talk) 08:39, 23 August 2016 (UTC)

Vytvořit opravdovou duplicitu je dost těžké. Spíš asi vytváří nové citátové položky tam, kde už existuje příslušná položka na Wikipedii, ne?
To je věc, která jde automaticky těžko ošetřit, ale pokud má zároveň stejné jméno, jako už existující heslo na WP, dostane se na seznam k potenciálnímu sloučení. JAn Dudík (talk) 08:58, 23 August 2016 (UTC)
ok. --Lenka64 (talk) 09:06, 23 August 2016 (UTC)

Nepřidávat souřadnice pokud článek je seznam

Ahoj, asi importuješ ze souřadnicových šablon i v článcích, které jsou seznamy a tedy se nevztahují ke konkrétnímu jednu místu. Doporučuji nějak příště při přebírání položky souřadnice pošéfovat. Nyní jsem spustil příkaz, který to aspoň z těch nejčastějších typů seznamů odstraňuje. Díky :) --Vojtěch Dostál (talk) 23:32, 23 September 2016 (UTC)

Bohužel, do nedávna nebyl způsob, jak takovéto články identifikovat a přeskočit. Teď už by to snad jít mohlo, ale seznam musí mít vyplněné instance of (P31)=Wikimedia list article (Q13406463) a musí se vyřešit phab:T137842. JAn Dudík (talk) 05:57, 26 September 2016 (UTC)

out-commented place of death from sk.wiki / zakomentované místo úmrtí převzaté ze sk.wiki

Hello JAn, could you please have a look at this edit? At the end of February 2012, Jetam2 added IB with "| Miesto úmrtia = <!--[[Okoličné]], [[Obec]]-->" to sk.wiki, I have no idea why. Have a nice day, JanSuchy (talk) 09:28, 9 October 2016 (UTC)

Probably because importing script have some bugs. I use three different versions and some of them probably always takes first sequence between [[ and ]] as link.
But why is this written (even commented) in article if it is not true? JAn Dudík (talk) 05:33, 10 October 2016 (UTC)

Wrong dates

Some dates of publication was set wrong: e.g.. --Infovarius (talk) 12:26, 22 November 2016 (UTC)

Old bug with old script I use no more. [6]. JAn Dudík (talk) 12:57, 22 November 2016 (UTC)
I've repaired all wrong language of work or name (P407). --Infovarius (talk) 05:54, 23 November 2016 (UTC)

Problem with Bot edits of commons cats

Hello, I just noticed this diff on my watchlist and it puzzles me, as that commons category is already assigned to the creator item. The category shouldn't be added to all of the creator's painting items and it also shouldn't be possible to do this. Please check in any case that you aren't adding a creator category when you add commons categories to items about works of art. I will leave it up to you to revert this and any other ones you may have inadvertently made in this bot run. Jane023 (talk) 12:22, 20 December 2016 (UTC)

@Jane023: Hello, Bot is only importint what is in en.wiki template (emptying w:en:Category:Commons_category_without_a_link_on_Wikidata). If is in this article wrong value in template, bot cannot recognize it (it is only machine).
For correcting you can set value on wikidata as <novalue> or remove this statement both from wikidata item and wikipedia article. JAn Dudík (talk) 12:28, 20 December 2016 (UTC)
No, I don't believe the template should be deleted from that Wikipedia page as readers may possibly be interested in other paintings by the same painter. I do think you should stop importing these however. Wikidata does not dictate what Wikipedia should do with commons categories. On painting items, we only want commons categories specifically created for the painting itself. You need to change the logic of your imports to make sure that the bot doesn't do this. Jane023 (talk) 13:19, 20 December 2016 (UTC)
JAn, you're responsible for the correct functioning of your bot. If you can't detect it, don't run a bot. Please stop the bot and correct your mistakes before you continue to run this job. Multichill (talk) 13:25, 20 December 2016 (UTC)
bot can detect if template is wrong (target not existing) or good (target exists) - but something between? Some people says that this case is good, some that is wrong. I wanted to hep with this huge category, but OK if you want to do it manually, good luck. JAn Dudík (talk) 13:29, 20 December 2016 (UTC)
BTW: on cs.wiki the commonscat template have parameter "local", when filled, article is not in maintenance category and cannot be imported. But en.wiki is mastodontish and often against common sense. JAn Dudík (talk) 13:34, 20 December 2016 (UTC)
I appreciate you helping out. Be careful though, Commons category (P373) is a can of worms!
The fallout for paintings seem to be limited:
SELECT ?item ?painter ?commonslink {
  ?item wdt:P31 wd:Q3305213 .
  ?item wdt:P373 ?commonslink .
  ?item wdt:P170 ?painter .
  ?painter wdt:P373 ?commonslink .
  } LIMIT 100
Try it!
Petscan returns 52 more paintings in the category. Combined about 100 out of 30.000+ articles. Do you run one of the standard bots or one of the custom ones? Can you add a check to see if creator (P170) exists and if it has a Commons category (P373) link that is the same? That would catch it. Otherwise I would say, just run it and we'll clean up after the run. Multichill (talk) 13:40, 20 December 2016 (UTC)

Problem with Bot edits of commons cats

Is there any way I can prevent your bot from adding commons cats like https://www.wikidata.org/w/index.php?title=Q12317863&oldid=428221119 and https://www.wikidata.org/w/index.php?title=Q12303875&oldid=423688484 ? I think these categories are a bit too broad for these items. --Hjart (talk) 17:08, 13 January 2017 (UTC)

Problem is with the source - danish WP have this link in article and category exists, so bot can easily import it. Solution should be: delete link from da.wp or set Commons category (P373) to novalue or set this value as deprecated. JAn Dudík (talk) 21:14, 13 January 2017 (UTC)

[7] your edits do not fit with the German and english version, please check with cs--Oursana (talk) 04:34, 27 January 2017 (UTC)

Problem is, czech article is mixture of everything - final period in the life of Jesus + int the theatre + in the music. DOu you know about better instance of (P31) for this article? JAn Dudík (talk) 05:41, 27 January 2017 (UTC)
I replaced your edits with part of (P361) New Testament (Q18813)--Oursana (talk) 14:54, 27 January 2017 (UTC)

Item to be delete

In RFD there are one or more item proposed for the deletion created by you. If you do not agree you can participate in the debate --ValterVB (talk) 23:20, 3 March 2017 (UTC)

Q18249423

Ahoj, tady robot přidal vadný identifikátor kulturní památky. Nevím jestli zjistíš, proč, ale radši ti to píšu. Měj se --Vojtěch Dostál (talk) 12:20, 31 May 2017 (UTC)

@Vojtěch Dostál: Bot importoval to, co je v článku. Zřejmě bude nějaká chyba v infoboxu, že hodnotu přebíranou z Wikidat neoznačuje. JAn Dudík (talk) 13:09, 31 May 2017 (UTC)
Vida. Tak to by měla být vzácná chyba, nic systémového. Ať se daří, --Vojtěch Dostál (talk) 13:11, 31 May 2017 (UTC)

P301 merges

Thanks for your great work! We will empty User:Pasleim/uniquemerge/P301 within the end of July or August! Bye, --Epìdosis 16:30, 13 July 2017 (UTC)

Imported from

It isn't imported from Latin Wikipedia but from Latin _Wiktionary_. Emijrp (talk) 10:10, 9 July 2017 (UTC)

@Emijrp: This is fallback, because no Wiktionary is listed on Wikidata:List of wikis/python, which is used by these scripts. JAn Dudík (talk) 19:29, 9 July 2017 (UTC)
So, it is easy to fix, isn't it? Emijrp (talk) 19:32, 9 July 2017 (UTC)
Easy? it is necessary to create items for the rest of 144 Wiktionary editions and then add them there. Good luck. ````JAn Dudík (talk) 12:16, 12 July 2017 (UTC)
Then, you shouldn't add the "imported from" qualifier. A Wiktionary category can't be imported from Wikipedia, it is blatantly wrong. Emijrp (talk) 13:32, 18 July 2017 (UTC)
I have created items for all Wikimedia sites and updated the list. I hope your bot adds the right info now. --Emijrp (talk) 07:27, 19 July 2017 (UTC)

New categories

Why don't you add the P31 property to the categories you are creating [8] ? Emijrp (talk) 13:33, 18 July 2017 (UTC)

This must be done by another script which is more slowly. JAn Dudík (talk) 19:32, 18 July 2017 (UTC)
It could be done in the same run. Can you share your code? Emijrp (talk) 07:28, 19 July 2017 (UTC)
I use interwikidata.py for creating categories and claimit.py for adding statements. JAn Dudík (talk) 07:33, 19 July 2017 (UTC)

Very curious

Hi JAn Dudík,

I see that your bot first removed the category at cswiki and then used this now wrong link to Commons at cswiki (to a homonym) to make a wrong link at Wikidata. This seems rather too much autonomy for a bot?

Probably there should not be any link to Commons, as the category at cswiki seems to be about notable individual trees, and there is no closely matching category at Commons. - Brya (talk) 16:28, 18 July 2017 (UTC)

@Brya: It seems to me like curiosity from you. Because of Commons category (P373) on wikidata item, my bot removed duplicate link from cs category. Then for 4 years everything was allright. But after four years YOU removed this link, and then template used fallback - because of no value on WIkidata nor in template it used {{PAGENAME}} as target. But in this case this vas false target and bot imported incorrect value. Topol = Populus, so I changed target back. And please notice, tha main subject (P921) is not for categories. JAn Dudík (talk) 19:31, 18 July 2017 (UTC)
It would indeed be most curious if I removed a link after four years in an item that has existed no more than a month and a half. - Brya (talk) 03:59, 19 July 2017 (UTC)
Sorry, you not removed P373 from item, you removed sitelink from item with P373. I now renamed cs.wiki category, so now is name corresponding with contens and is it OK. JAn Dudík (talk) 07:28, 19 July 2017 (UTC)
You would not want me to leave a wrong sitelink in an item (just to keep a bot from making an error), especially when there is another sitelink which should be moved into the item. Note that this is not an isolated case; cswiki has several more such categories (subcategories of cs:Kategorie:Okrasné dřeviny). - Brya (talk) 10:39, 19 July 2017 (UTC)

Category redirects

Just found a major series of items for category redirects (in ru.wikinews) created by your bot (e.g. Q34380280, Q34378809 Q34378279). You should find a way to avoid them. --XXN, 20:18, 5 August 2017 (UTC)

Wikidata:Requests for deletions#‎Category redirects@ru.wikinews. --XXN, 22:21, 5 August 2017 (UTC)
Not sure if you noticed, very recently (~during last day) one more patch which affects the detection of category redirects in wiktionary, wikinews, etc. was merged in PWB core. Be sure you are up to date with this patch to not re-create accidentally the deleted items;) --XXN, 21:46, 12 August 2017 (UTC)

Zimbábue‎

Hi JAn, you canceled this edition of me [9], but I could not figure out what I did wrong. I think it's wrong but I could not find out why. Could you tell me? Thank you. DARIO SEVERI (talk) 06:23, 7 August 2017 (UTC)

Hello, you merged category with non category (whis was formerly necessary for Wikinews, but now should be obsolete), which caused that label for many language was incorrect "Wikimedia category". JAn Dudík (talk) 06:36, 7 August 2017 (UTC)
Regarding this problem there are new discussions around, e.g. see Wikidata:Bot requests#Resolving Wikinews categories from "wikimedia category". Things goes complicated... --XXN, 21:50, 12 August 2017 (UTC)

Thanks

Hi JAn, thanks for operating User:JAnDbot on urdu wikipedia. Can you work continuously or permanently on urdu wikipedia like EmausBot? BukhariSaeed (talk) 18:22, 26 August 2017 (UTC)

@BukhariSaeed: I added ur.wiki to my batch which I run manually several times per month. So bot check ur:Special:Unconnectedpages and imports pages with interwiki without conflict. May bot leave or remove interwiki [[en:Category:Foo]]from such items? JAn Dudík (talk) 06:17, 5 September 2017 (UTC)
Yes :) . BukhariSaeed (talk) 09:42, 6 September 2017 (UTC)
Your bot is now working or not for urwiki category wikidata purpose? BukhariSaeed (talk) 12:13, 29 October 2017 (UTC)
@BukhariSaeed: Is working, but I run this script manually and had longer pause because of my illness . 17:44, 29 October 2017 (UTC)
Ok BukhariSaeed (talk) 08:19, 12 November 2017 (UTC)

instance of: Wikimedia category via Wikinews

Hey JAn Dudík, your bot is importing claims instance of (P31) Wikimedia category (Q4167836) from Wikinews. Now that’s a really bad idea, since Wikinews categories are supposed to be linked to regular (non-category) items at Wikidata (cf. Wikidata:Wikinews/Development#Interproject links). Please teach your bot not to import this claim based on Wikinews sitelinks, and tidy up the corresponding claims that have not yet been reverted. Regards, MisterSynergy (talk) 17:10, 20 September 2017 (UTC)

I have now blocked your bot, since it repeatedly adds the reverted claims again (just two examples: [10][11]). If you think that the issue has been solved, feel free to ask for unblock at Wikidata:Administrators' noticeboard. Regards, MisterSynergy (talk) 17:29, 20 September 2017 (UTC)
@MisterSynergy: This is problematic. Many wikinews categories are already categories, but some of them (as linked above) are not counted between categories. Bot had list of wikinews wikis and added instance of (P31) for all categories in batch (one wiki, second wiki, third wiki... - you can see that every reverted edit have another imported from Wikimedia project (P143)) . I supposed, that these exceptions (for small wikinews <10%, e.g. for cs.wikinews 4100 categories vs. 200 not categories) have P31=something else. Problem for these pages is that have not P31 but P271 and I did'nt counted this case.
OK, I leave already imported wikinews categories without any claim, so you can, please, unblock my bot. JAn Dudík (talk) 07:30, 21 September 2017 (UTC)
Thanks for your reply. I guess many of the Wikinews category items created by your bot recently need to be merged into regular items anyway. The situation with wikinews categories is somewhat similar to Commons categories, since the category namespace has a different role in those project families compared to e.g. Wikipedias. It is IMO very useful to have the Wikinews category sitelinks here at Wikidata (I don't know of any rule not to have them at least), but instance of (P31) Wikimedia category (Q4167836) is probably not a good claim for them. I’ll now unblock your bot. Regards, —MisterSynergy (talk) 07:38, 21 September 2017 (UTC)
@MisterSynergy: There are dozens of Wikinews maintenance categories which should be merged with similar categories on other wikis (e.g. Category:Possible copyright violations (Q4616504)). And thousands of date categories like Category:May 1, 2014 (Q17563497) which have category's main topic (P301) and cannot be merged with their topic. And (in most cases) small percentage of thematic categories, which were merged into wikipedia articles, because there was not possible get information from another wikidata item in the time (arbitrary acces, phab:T49930), when wikidata sitelinks started on wikinews. This now is possible. Maybe time for change (RFC)? JAn Dudík (talk) 07:50, 21 September 2017 (UTC)
Oh, I don’t know whether it is time for a systematic change there. I have never been involved much with Wikinews, but I guess there is a Wikinews taskforce here at Wikidata to discuss these issues with. I suggest to start a discussion at Wikidata:Wikinews, or directly at Wikidata:Project chat. —MisterSynergy (talk) 08:38, 21 September 2017 (UTC)

On nl.wikinews we try do do this manyally and are helped by Romainebot. It's very nice that you try to help us, but I think it's better to not do anything with the categories there with a bot on Wikidata. You're very quick sometimes, quicker than we can react ourselves. However appreciated we feel it when people help us :-) Keep on with your other good work! :-) Ymnes (talk) 09:19, 6 January 2018 (UTC)


Format of P4279

Hi Jan Dudik, at Wikidata:Database_reports/Constraint_violations/P4279#"Format"_violations, there are some items where it seems that the bot added the reference into the value field (sample edit).
--- Jura 08:36, 10 January 2018 (UTC)

Hi @Jura1:, I tried to import this number, but I found, that there are also used vlaues for other countries in bad format. Then I tried to find better source and then I forgot there are some imported problems because of real life ilness.
The best solution will be if you can remove all these malformed statements. (Maybe by Quickstatements or some other tool I don't know how to use) JAn Dudík (talk) 09:45, 10 January 2018 (UTC)
No worries. I will convert them to value+ref. PetScan and the new version of QuickStatements can both remove them. HarvestTemplates might work better for imports as it strips references and checks the format constraint.
--- Jura 09:49, 10 January 2018 (UTC)
@Jura1: But these should be converted to Gewässerkennzahl (P1183) with prefix LT: because Czech hydrological order number (P4279) should be for Czech rivers. JAn Dudík (talk) 10:10, 10 January 2018 (UTC)
I thought the idea was to delete P1183 eventually.
  • Here is a link that could import them with HarvestTemplates: HarvestTemplates (it can be run in Demo mode without actually editing. This does list the values).
  • Maybe we should remove them entirely and add them to a new property once available. To remove the values, this PetScan link can work: PetScan.
For both tools, you might need to use the associated login first for the pages to load correctly.
--- Jura 10:19, 10 January 2018 (UTC)