User talk:EuseBot

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


Lakes categories sync

[edit]

This should be doing too many changes, but I'd like to know where we stand. -- User:Docu at 12:33, 17 July 2009 (UTC)[reply]

This should result in almost no changes at all, source categories contain mostly other categories. --Eusebius (talk) 12:58, 17 July 2009 (UTC)[reply]
It does work with categories, no? Category:Lakes of Dominica would be one that's not in "Lakes of North America". BTW it currently reads "Synchronize en:Category:Lakes by country with Category:Lakes by country.", but as editing is done on commons, wouldn't it be the other way round? -- User:Docu at 13:04, 17 July 2009 (UTC)[reply]
I've coded that two months ago, but no, I don't think it categorizes categories. I may change that once I'm convinced that it cannot be too harmful. About your last remark, yes, I know, I should modify the template. --Eusebius (talk) 13:10, 17 July 2009 (UTC)[reply]
I see, so Category:Fulgencio Batista is added to Category:1901 births because en:Fulgencio Batista is in en:Category:1901 births? It's probably prudent to limit it to categories equivalent of articles for now.
Maybe just changing "with" to "and" in the template avoids changing the sequence of the parameters. -- User:Docu at 13:20, 17 July 2009 (UTC)[reply]
Articles/categories: yes that's it. There's probably a way to improve things, but I'd like to take time to think about it, because automatic categorization is always risky. About the template, I've updated the phrasing (no change in the syntax). --Eusebius (talk) 13:37, 17 July 2009 (UTC)[reply]

Cat sync

[edit]

BTW your bot seems to work fine. -- User:Docu at 14:19, 21 July 2009 (UTC)[reply]

It works fine, but it is very slow, I'm testing improvements. --Eusebius (talk) 16:57, 21 July 2009 (UTC)[reply]

bot adding wrong information

[edit]

Hello, I would like to inform you that this edit introduced wrong information. In my view, one cannot (automatically, without a human checking) rely on the fact that two articles with the same name on different wikipedias treat the same subject when there are no interwiki links between these articles. Greetings, --UV (talk) 19:10, 23 July 2009 (UTC)[reply]

Hi, thanks for your awareness... Yes, there can be some mistakes, sorry about that, and your remark makes sense. However, as long as Commons interwiki links are neither maintained automatically (AFAIK it is not possible or easy) nor as populated as inter-language link, it is hardly possible to rely on them. Do you have a suggestion on what should be done, other than shutting down the bot feature (which is the only way I see to fully take your comment into acount)? --Eusebius (talk) 21:27, 23 July 2009 (UTC)[reply]
Hello, I am not suggesting to shut down the feature altogether. Maybe it would be possible to add the categories automatically only if there is either a link from en: to commons: or from commons: to en:, and in all other cases have a human check and confirm that en: and commons: treat the same subject before a bot adds the categories? Greetings, --UV (talk) 22:17, 24 July 2009 (UTC)[reply]
I think the rarity of interwiki links between en:WP and Commons (especially in the not-so-famous Commons cats and galleries where cat sync is useful) would make the feature totally useless. In the examples I've run, the bot actually worked on about 10% of the existing WP articles. With such a restrictions, it would be only 1 or 2%, I'm afraid. That's a lot of computation time for nothing, and we're basically going back to manual edit. That's why I said that fully complying with your request would probably mean shut down this feature (it was not an aggressive comment at all). --Eusebius (talk) 22:27, 24 July 2009 (UTC)[reply]
I understand. Let us hope that the proportion of errors remains small ;-) --UV (talk) 23:27, 24 July 2009 (UTC)[reply]

Quelques erreurs

[edit]

Salut,

J'ai vu que ton bot avait commencé à ajouter les catégories naissances et décès quand celles-ci sont manquantes sur Commons mais présentes sur en:

C'est cool, mais lors de cet edit, alors qu'une catégorie naissance était déjà présente mais dont la date diffère du wiki anglophone (sur son article, ils ont du mal à trouver une source fiable et ont opté pour 1990 alors que la majorité des sources semblent indiquer 1988), le bot ne prend pas la peine de la corriger et se contente d'ajouter une seconde catégorie.

Désolé de ce petit souci, il faut bien voir que le bot ne raisonnait pas sur les dates et la sémantique des catégories, il synchronisait bêtement le contenu de deux catégories (c'est-à-dire qu'il n'est pas spécialisé "naissances" et "décès" et qu'il n'était pas capable de voir qu'il y avait déjà une catégorie "naissance"). S'il y a débat sur le fond, il est à résoudre par des humains. --Eusebius (talk) 07:36, 24 July 2009 (UTC)[reply]

Autre souci, pour respecter les conventions, il faudrait ajouter les nouvelles catégories à la suite des premières et non pas en fin d'article, ce qui les place potentiellement après les interliens (ce qui était le cas pour Kanon Wakeshima). Ne pas non plus ajouter tout plein de lignes vides un peu partout (comme ici). C'est con, mais ça rend le code super moche, et maniaque comme je suis, j'en pleure :) Okki (talk) 07:20, 24 July 2009 (UTC)[reply]

100% d'accord, mais ce n'est pas mon code ! J'utilise la bibliothèque standard de pyWikipedia, que je ne développe pas. Je serai bien content quand ils auront corrigé ça, mais je n'ai pas la main sur ce code ! Et j'ai la flemme de recoder la fonctionnalité pour l'instant. --Eusebius (talk) 07:36, 24 July 2009 (UTC)[reply]
Much later: some errors also at Category:Alain Fournier, a redirect, which got birth and death dates from an vandalised english article.... --Havang(nl) (talk) 21:55, 22 March 2010 (UTC)[reply]
The bot is currently not working, and I don't think I'm going to repair it: too many issue, too few benefits. --Eusebius (talk) 22:13, 22 March 2010 (UTC)[reply]