Wikipedia:Bots/Requests for approval/C1MM-bot
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was
Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: C1MM (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 17:30, Friday, August 5, 2022 (UTC)
Function overview: This bot uploads images of assembly constituencies in Indian states to their Wikipedia pages.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: Standard Pywikipedia
Links to relevant discussions (where appropriate):
Edit period(s): Runs as requested
Estimated number of pages affected: 30-400/run, depends by specific category
Namespace(s): Articles
Function details: This bot takes pages of assembly constituencies in an Indian state (specified by category) and would extract the text of the page, and add a Commons file with a locator map of the constituency following a predetermined naming system (Constituency name+number) to the |image section of the {{Infobox Indian state assembly constituency}} if one is already not present. If there is no infobox, the constituency is skipped. If an image file is already present, it changes the current image file to the locator map. This follows a template set by several pages such as Villavancode and Ambur among others. See Anekal or Afzalpur for an example of the bot in action (I forgot that you needed to submit for approval, but still you can see 20 pages in this bot's edit history to see it in action). This bot is currently run locally on my machine using Pywikibot, but it would be ideal for the bot to run directly on Wikipedia servers without any connection to my local machine (if anyone could help me figure out how to do this, I would be glad of the help). None of the pages this bot is run on exclude bots.
Discussion
[edit]Few questions: this reads like a one-time run, but you say "as necessary"; once the maps are in place, they should stay static, yes? Second, you say if an image file is already present, it changes the current image file to the locator map
- is this desired behaviour, and is there a discussion saying that a user-determined image is better than a bot-supplied map? Third (and I suppose somewhat importantly) - where was this task requested, discussed, or otherwise determined to be a "good idea"? I'm not necessarily saying it's not useful, but if this is just something you've decided to do because you think it's a good idea, then you should probably get consensus somewhere first. I have other questions but these should get us started. (please do not ping on reply) Primefac (talk) 16:33, 6 August 2022 (UTC)[reply]
Once the maps are in-place, I won't modify them unless the constituencies are re-delineated and the maps of the constituencies change. The bot allows for you to specify not to replace images but in this case, user-determined images are nearly always bad .png versions of the same type of map with very few exceptions. And I although I do agree that consensus is important on this, there really isn't an active enough community on this subject to get a timely consensus. C1MM (talk) 03:47, 8 August 2022 (UTC)[reply]
Note: This bot appears to have edited since this BRFA was filed. Bots may not edit outside their own or their operator's userspace unless approved or approved for trial. AnomieBOT⚡ 03:57, 13 August 2022 (UTC)[reply]
Administrator note: This bot appears to have been running without BAG approval or a bot flag, so I've blocked it indefinitely pending the outcome of this discussion. --Blablubbs (talk) 16:18, 13 August 2022 (UTC)[reply]
- Also noting repeated errors: [1][2][3][4]. --Blablubbs (talk) 16:21, 13 August 2022 (UTC)[reply]
- Thank you for pointing this out and for stopping me. I just thought there was no criticism in so many days so it must be that it isn't very controversial to make these edits. Sorry about this. C1MM (talk) 16:41, 13 August 2022 (UTC)[reply]
- No worries, C1MM; Wikipedia processes can be pretty complicated on occasion. In order to run the bot, you will need a goahead from BAG for either a limited trial run or the full task (usually the latter is given once the former has been successful). If/when that happens, please give me a quick ping so I can unblock (I also don't have any objections to any other admin unblocking as they see fit without consulting me further). --Blablubbs (talk) 11:38, 14 August 2022 (UTC)[reply]
- Thank you for pointing this out and for stopping me. I just thought there was no criticism in so many days so it must be that it isn't very controversial to make these edits. Sorry about this. C1MM (talk) 16:41, 13 August 2022 (UTC)[reply]
- Also noting repeated errors: [1][2][3][4]. --Blablubbs (talk) 16:21, 13 August 2022 (UTC)[reply]
{{BAG assistance needed}} — Preceding unsigned comment added by C1MM (talk • contribs) 17:16, 1 September 2022 (UTC)[reply]
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I am not overly thrilled with not having consensus, so please do not mark these as minor, and do not replace existing images. In other words, this task will be the minimum of what was discussed - adding images where there are none but should be. Primefac (talk) 08:36, 5 September 2022 (UTC)[reply]
- @C1MM? — Qwerfjkltalk 20:24, 13 November 2022 (UTC)[reply]
- {{Operator assistance needed}} Primefac (talk) 15:24, 20 November 2022 (UTC)[reply]
Trial complete. Here, this might help. I think that is 100 edits. C1MM (talk) 18:09, 25 November 2022 (UTC)[reply]
Approved. Just as a reiteration of my previous comment, this run should only be used to add images where there are none. If and when there comes a need to replace redrawn maps, that will be a new bot task. Primefac (talk) 11:29, 11 January 2023 (UTC)[reply]
- @C1MM? — Qwerfjkltalk 20:24, 13 November 2022 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard.