Open main menu

Wikidata β

Wikidata talk:Bots

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 2018.

New requirementEdit

Perhaps, a bit too late to talk about this, but all WMF projects will continue to grow constantly and this leaves its mark on Wikidata as well, so I think this requirement will be helpful.

Currently there is at least one active bot which adds item descriptions in multiple languages, in multiple separated consecutive edits (up to ten, or maybe more when possbile, IDK), thus cluttering the item history. Another flaw of such bot activity is that it increases chances of servers overload, and per overall it's waste of resources. I suggest to add a new requirement for bot operators - when working on category/template/disambiguation items, depending on task, add all your descriptions (and probably labels) in a single edit. Let's save resources and to keep items histories tidy and short. --XXN, 18:37, 10 May 2017 (UTC)

I guess you're not aware of en:Wikipedia:Don't worry about performance. I generally like to see different edits from bots when multiple tasks are combined (like here), but updating descriptions should just be done in one edit with a clear edit summary. I'm sure if you ask the operator of the bot nicely that it can be updated to produce less history clutter. Multichill (talk) 18:54, 10 May 2017 (UTC)
Like the history, also watchlist is affected if one have enabled in preferences the option "Expand watchlist to show all changes, not just the most recent".
The "Don't worry about performance" essay is for humans; bot operators have to respect some API/bot etiquettes/policies. --XXN, 15:56, 16 May 2017 (UTC)
If talking about performance, more recently I see too often such messages. XXN, 10:35, 1 June 2017 (UTC)
  • I don't think this is a good idea as-is. There could be valid (technical) reasons to separate out edits.--Jasper Deng (talk) 01:37, 8 June 2017 (UTC)

Check if my bot has already modified a page?Edit

Hello, not sure it is the best place to ask but let's give it a try. I'd like to re-run some scripts I had run years ago to run them on items that have been created since then. But I'd like to prevent touching items that I had already modified when running the script for the first time (if information I had added has been removed, there might be a good reason so I don't want to add it back). Is there an easy way to do that by getting a list of contributors to an item ? I am using pywikibot. Thanks, Symac (talk) 08:34, 13 June 2017 (UTC)

Given that you have an item object, you can do 'userName' in item.contributors() (link). Matěj Suchánek (talk) 08:51, 13 June 2017 (UTC)
@Matěj Suchánek: great, thanks ! Symac (talk) 07:36, 14 June 2017 (UTC)

Wikidata:List of wikis/python updatedEdit

More info in the talk page. Report any errors. Emijrp (talk) 07:25, 19 July 2017 (UTC)

Drop "if possible" for the need for P31/P279Edit

"Bots should add instance of (P31) or subclass of (P279) if possible" I advocate to drop the "if possible", especially given that the sentence already says should and not must. ChristianKl (talk) 15:13, 10 November 2017 (UTC)

Maximum edits per minuteEdit

What is the value of maximum edits per minute that a bot with approved task should set? I think the default Pywikibot (put_throttle = 10) of 10 seconds between consecutive edits is too large for massive edits. --Albert Villanova del Moral (talk) 06:41, 19 January 2018 (UTC)

Return to the project page "Bots".