Commons:Bots/Requests/VectorImageReplaceBot

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

Operator: ShohagS (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: The bot is going to replace available vector image. It will scan all files from Category:Vector version available and change those image with the available vector images in every wiki. It will generate log files in user page for any other research. In other purpose, it also can take requests if any users need to do this for non-vector images.

Automatic or manually assisted: semi-Automatic

Edit type (e.g. Continuous, daily, one time run): currently one time run, but can make it continuous after hosting on toolforge.

Maximum edit rate (e.g. edits per minute): currently unknown (supposed to be at least 5 per minutes


Bot flag requested: (Y/N): Yes

Programming language(s): Python

Comment, I haven't test it from the bot account, But two test run have been performed from my account. See the logs here. The bot will log better than on my account. ~ A. Shohag (pingme||Talk) 15:43, 16 September 2020 (UTC)[reply]

Discussion
Will you perform any edits on Commons? It seems you plan to edit every Wiki. Thus, you would need to apply at the Wikis you intend to edit. Your logs also do not seem to apply to Commons. So they should not be recorded here. --Schlurcher (talk) 07:25, 17 September 2020 (UTC)[reply]
@Schlurcher: It's exactly does so. As commons is a common platform for all files, I believe it needs to be logged in commons. Currently it has nothing to do with commons as I don't have other ideas to perform by bot. Don't you think that the replacing idea is good enough or handy? ~ A. Shohag (pingme||Talk) 13:57, 17 September 2020 (UTC)[reply]
@EugeneZelenko: If so, then the bot has no work to do. Those are available vector versions of images. If they are just requested to be replaced what the bot exactly does? ~ A. Shohag (pingme||Talk) 14:54, 17 September 2020 (UTC)[reply]
If multiple files should be replaced, your bot could prepare list of commands. --EugeneZelenko (talk) 14:57, 17 September 2020 (UTC)[reply]
@EugeneZelenko: In mannered way, if any image has vector image available they are supposed to be replaced. In other words, you are telling me to filter that if any image has vector version then just make commands for it to be universally replaced. If it just generates commands, it still needs to be replaced in all wikis which is disgusting for humans not for bots. And I want to do that exactly. ~ A. Shohag (pingme||Talk) 15:19, 17 September 2020 (UTC)[reply]
Please note the warning on CommonsDelinker No replacement of images in other formats with SVGs. To avoid World War III, CommonsDelinker will ignore a command to replace an image if the new image is in an SVG format and the original is not. I'm not aware of the background, though, but it seems there have been conflicts already with regard to SVG replacements. --Schlurcher (talk) 15:10, 17 September 2020 (UTC)[reply]
@Schlurcher: That's exactly I needed to know. Thank you. Can you please provide some conversation or any documents regarding that. ~ A. Shohag (pingme||Talk) 15:19, 17 September 2020 (UTC)[reply]

@Schlurcher: Did you mean to avoid generating commands or my bot works? I am not clear. Please, explain. ~ A. Shohag (pingme||Talk) 12:45, 24 September 2020 (UTC)[reply]

My main comment is that you need approval from the portals where your bot makes edits. So Commons is not the correct place to approve this bot. Additionally, the note on CommonsDelinker makes me believe that a general change to svg format is not wanted. --Schlurcher (talk) 12:50, 24 September 2020 (UTC)[reply]

@Schlurcher: Because of your comment, I stopped my bots working. What portal you are talking about? The bot is going to edit almost every wiki, and Its not possible to get approved in every wiki. I mean, can It be possible to get permitted from meta? ~ A. Shohag (pingme or Talk) 12:56, 24 September 2020 (UTC)[reply]

It appears this is about edits done on Wikipedia, not on Commons, so, as said above, it has to be approved on local projects and not on Commons. --Krd 09:05, 10 October 2020 (UTC)[reply]

@Krd: Do you really think that I should apply to every single wikipedia? There's more than a couple hundreds wikipedia. Also the images can be used in other wikiprojects. What about them? If so, I will have to get permitted from almost a thousand different community. Did you think about this? ~ A. Shohag (pingme or Talk) 09:56, 10 October 2020 (UTC)[reply]
This is what the policy is. The Commons community cannot approve edits on Wikipedia. --Krd 10:13, 10 October 2020 (UTC)[reply]
@Krd: Well then, in other words you are saying 'no'. Anyway thanks. ~ A. Shohag (pingme or Talk) 10:18, 10 October 2020 (UTC)[reply]
@Krd: One more thing, if that's exactly the process, then how does the global bots are being approved. What about CommonDelinker? Doesn't it run globally? ~ A. Shohag (pingme or Talk) 08:57, 12 October 2020 (UTC)[reply]
As you see in Special:CentralAuth/CommonsDelinker, it is approved in single wikis only and is not a global bot. --Krd 09:20, 12 October 2020 (UTC)[reply]
@Krd: will being approved in meta permit for global use? ~ A. Shohag (pingme or Talk)
I think it would. But there are some caveats. The task from your bot would require first a change of the global bot policy (see https://meta.wikimedia.org/wiki/Bot_policy#Global_bots), as it currently states: To qualify for global bot access, the following requirements must be met: the bot must only maintain interlanguage links or fix double-redirects; (...). Even if this part is changed, I would assume that bot status of the big wiki's (en,de,fr,es,ru,ja) will be required prior to approval. --Schlurcher (talk) 09:52, 12 October 2020 (UTC)[reply]

I'm going to close this now as declined per above, definitely not approvable on Commons for edits on other wikis. --Krd 10:46, 18 October 2020 (UTC)[reply]