Commons:Bots/Requests
If you want to run a bot on Commons, you must get permission first. To do so, file a request following the instructions below.
Please read Commons:Bots before making a request for bot permission.
I | Create a user account (while logged in to your normal account) and user page for the bot
On the bot's userpage, add {{Bot}}, which automatically adds the page to Category:Commons bots. Then add the following information to the bot's userpage (all this is mandatory):
|
---|---|
II | Write your program code.
When you put a request at this page, you are expected to be ready for testing. If you are unsure and want to know if your intended bot job will be accepted, please seek community feedback at a suitable venue, e.g. Commons:Village pump. |
III | Create your bot request:
Add your bot request to the list here:
|
IV | Test run
You can be demanded to make a short test run with your bot account (30–50 edits/uploads) to allow other users to review your bot's tasks. Unauthorized test run is not allowed. |
V | Waiting for approval.
You now need to wait for community approval. A bureaucrat will close the request and will also grant a bot flag, where necessary. Closed requests are moved to Commons:Bots/Archive. |
|
Requests made on this page are automatically transcluded in Commons:Requests and votes for wider comment.
Requests for permission to run a bot
[edit]Before making a bot request, please read the new version of the Commons:Bots page. Read Commons:Bots#Information on bots and make sure you have added the required details to the bot's page. A good example can be found here.
When complete, pages listed here should be archived to Commons:Bots/Archive.
Any user may comment on the merits of the request to run a bot. Please give reasons, as that makes it easier for the closing bureaucrat. Read Commons:Bots before commenting.
GogologoBot (talk · contribs)
[edit]Operator: MFossati (WMF) (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: add the following structured data statement and qualifier to the file page of a new upload that is detected as a logo by this tool.
- statement: instance of (P31) logo (Q1886349)
- qualifier: determination method (P459) machine learning (Q2539)
Automatic or manually assisted: automatic, supervised
Edit type (e.g. Continuous, daily, one time run): continuous
Maximum edit rate (e.g. edits per minute): it depends on the amount of image uploads and on the amount of images detected as a logo. Hard to tell for now
Bot flag requested: (Y/N): Y
Programming language(s): Python, Pywikibot
Source code: https://gitlab.wikimedia.org/toolforge-repos/gogologo
MFossati (WMF) (talk) 12:19, 24 July 2024 (UTC)
- Discussion
- I think it'll much better application for bot it it could detect non-trivial logos or logos already deleted. --EugeneZelenko (talk) 14:41, 24 July 2024 (UTC)
- Wouldn't it be better to add them with a separate property? While I'm in favor of adding more such ways to identify images, I don't think it mixes well with other statements. This was attempted and finally discarded with "depicts" statement a while back. Please make sure these statements can also be searched with Special:Search. Enhancing999 (talk) 14:53, 1 August 2024 (UTC)
- Is this bot going to be used as "act once on new uploads", "act once on all existing files", "potentially act more than once on the same file", or what? Unless it only acts exactly once on any given file, what is to prevent it getting into an edit war if its edit is reverted or otherwise changed? - Jmabel ! talk 18:11, 1 August 2024 (UTC)
DannyS712 bot (talk · contribs)
[edit]Operator: DannyS712 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: automatically marking pages with no net changes for translation
Automatic or manually assisted: automatic
Edit type (e.g. Continuous, daily, one time run): hourly
Maximum edit rate (e.g. edits per minute): 0 edits, plenty of log entries
Bot flag requested: (Y/N):
Programming language(s): Not sure yet, probably JavaScript
- Discussion
- I am filing almost identical requests for bot approval on a bunch of wikis, and figured I should put some of the details in a central location. Please see meta:User:DannyS712/TranslationBot for further info. --DannyS712 (talk) 02:58, 21 July 2024 (UTC)
- Sounds good to me. Is your code ready for testing? --Krd 14:03, 23 July 2024 (UTC)
- @Krd not yet, mostly because I haven't written it yet, but also I cannot test it unless the bot has translationadmin rights (unless you want me to test it from my own account?) DannyS712 (talk) 00:55, 26 July 2024 (UTC)
- At which date do you expect to be ready for testing? Krd 07:15, 27 July 2024 (UTC)
- I'm not sure - I already have the rights needed to run the trial on wikidata, but the code should be the same for all of the wikis - probably a few days, but if you are willing it might be easier to have a single trial on wikidata and then since the code will be the same, just accept that as the trial results here too DannyS712 (talk) 18:18, 27 July 2024 (UTC)
- Please report when the wikidata test is done. --Krd 05:20, 3 August 2024 (UTC)
- I'm not sure - I already have the rights needed to run the trial on wikidata, but the code should be the same for all of the wikis - probably a few days, but if you are willing it might be easier to have a single trial on wikidata and then since the code will be the same, just accept that as the trial results here too DannyS712 (talk) 18:18, 27 July 2024 (UTC)
- At which date do you expect to be ready for testing? Krd 07:15, 27 July 2024 (UTC)
- @Krd not yet, mostly because I haven't written it yet, but also I cannot test it unless the bot has translationadmin rights (unless you want me to test it from my own account?) DannyS712 (talk) 00:55, 26 July 2024 (UTC)
- Sounds good to me. Is your code ready for testing? --Krd 14:03, 23 July 2024 (UTC)
Operator: DaxServer (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: Convert TIFF files to JPEG files and link both. As requested at Convert Commons:Bots/Work requests § Category:Photographs by Carol M. Highsmith to JPEG. The TIFF files at Category:Photographs by Carol M. Highsmith are [recursively] loaded into the bot and converted to JPEG using Wand, a Python binding for ImageMagick. The Exif metadata is copied over using PyExifTool, a Python binding for ExifTool by Phil Harvey. The metadata groups that are being copied over, that I've discovered so far, are: Author
, Camera
, Composite
, ExifIFD
, GPS
, ICC_Profile
, IFD0
, IPTC
, Location
and XMP-crs
. The entire metadata can be copied indiscriminately if that is preferred rather a selection. The new JPEG file will have the same wikitext as the TIFF file, with an addition of {{{other_versions}}}
gallery and but a removal of categories such as Uploaded by xyz user as it will be retained in the TIFF file page. The TIFF file page is edited with a link to the JPEG in the gallery and all the categories are removed with the addition of Category:LC TIF images with categorized JPGs. If duplicates are found, using the checksum, the page is skipped over and marked for manual verification and linking using gallery. The OpenCV strategy as described at User:Fæ/LOC#Housekeeping is rather out of my reach. The bot is being written using Pywikibot and is intended to run on Toolforge.
Automatic or manually assisted: Automatic
Edit type (e.g. Continuous, daily, one time run): Continuous
Maximum edit rate (e.g. edits per minute): 5
Bot flag requested: (Y/N): Y
Programming language(s): Python (Pywikibot)
-- DaxServer (talk) 15:07, 1 July 2024 (UTC)
- Discussion
- I'm not able to understand the issue we are trying to solve. All previews of these gigantic TIFFs load just fine for me (in under 2 seconds). I do not expencience much difference as compared to JPEGs. --Schlurcher (talk) 14:18, 2 July 2024 (UTC)
- On hold for the discussion linked -- DaxServer (talk) 08:58, 4 July 2024 (UTC)
- TIF format is an archive format which is simply not suitable for web use, for example TIF file previews look much worse than JPG when used in Wikipedia articles, them being "lossless" dosen't improve the actually displayed quality, it is made worse. "Freely usable media" also means not needing to have very fast internet connections, or needing special programs to edit the files. Another random example: Free email clients allow only very limited attachment sizes (GMail 25MB for example), and sending one document which includes an 100MB TIF image would not be possible for the average person, who has no clue about file formats. TheImaCow (talk) 11:58, 24 July 2024 (UTC)
- The argument appears to be in line Commons:File types. Given that, should we convert all TIFF files, replace their usage, and delete the TIFFs? Krd 07:34, 27 July 2024 (UTC)
- I would generally support that, but I am sure that this would need wider consensus. (as it would also affect these 200k images) TheImaCow (talk) 21:13, 28 July 2024 (UTC)
- I'd appreciate if anybody could start such discussion at a suitable venue. Krd 05:19, 3 August 2024 (UTC)
- I would generally support that, but I am sure that this would need wider consensus. (as it would also affect these 200k images) TheImaCow (talk) 21:13, 28 July 2024 (UTC)
- The argument appears to be in line Commons:File types. Given that, should we convert all TIFF files, replace their usage, and delete the TIFFs? Krd 07:34, 27 July 2024 (UTC)
- @Schlurcher, TheImaCow, and Krd: I've started a discussion at Commons:Village pump#Should we convert all TIFFs to JPEGs?. I hope this would be the right place -- DaxServer (talk) 16:40, 3 August 2024 (UTC)