Commons:Bots/Work requests

< Commons:Bots

Shortcut: COM:BR · COM:BWR

Bot policy and list · Requests to operate a bot · Requests for work to be done by a bot · Changes to allow localization  · Requests for batch uploads

Filing cabinet icon.svg
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day.

Redundant word in main namespaceEdit

The word "File" or "Image" found in galleries in main namespace, Is it possible delete them by a bot (in all pages using AWB)?Thank you --ديفيد عادل وهبة خليل 2 (talk) 11:22, 7 November 2015 (UTC)

@ديفيد عادل وهبة خليل 2: Please elaborate why this is needed. --Steinsplitter (talk) 11:25, 7 November 2015 (UTC)
@Steinsplitter:The use of "<gallery></gallery>" enriches for this word.Thank you --ديفيد عادل وهبة خليل 2 (talk) 11:31, 7 November 2015 (UTC)
I don't understand, sorry. --Leyo 01:20, 21 November 2015 (UTC)

Find files with missing uploader categoryEdit

Most of my uploads are in the subcategories of Category:Files by User:Nyttend, but some presumably aren't. Could someone write a bot that would go through all of my uploads, check each image, and log all the files that aren't in one of my user categories? Nyttend (talk) 14:19, 20 November 2015 (UTC)

You can try to use en:WP:AWB for that. --Steinsplitter (talk) 15:02, 20 November 2015 (UTC)
You may start with insource:/Nyttend/ -insource:/by User\:Nyttend/ and play around a little. --Leyo 18:27, 20 November 2015 (UTC)
Nyttend you edited 107k files and your role (creator vs. approved) is not always obvious. For example User:Nyttend/uploads has files that link to your user page on commons but are not in the subcategories of Category:Files by User:Nyttend. Those you might want to categorize using VisualFileChanges. However many of your files link to en:User:Nyttend instead of User:Nyttend. Some are uploads by other people of derivative files based on your uploads or even transfers from wikipadia. I do not know good way of capturing a list of your uploads and your best bet if you know SQL might be to use to create a database query. --Jarekt (talk) 19:07, 20 November 2015 (UTC)
I was imagining the following process: (1) Bot gets the complete list of filespace pages that I created: it gets the pages appearing on this page, clicks "older", and keeps going until it gets to the first file that I uploaded. (2) Bot opens one page. (3) Bot checks to see whether this page is a redirect. If so, do nothing and go to the next page; if so, (4) Bot checks to see whether file is in one of my user categories. If so, do nothing and go to the next page; if not, log the page and go to the next page. Note Of course I understand that this is a big process and that it's likely to take quite a while of computing time to perform. I assume that I'll still be active at Commons six months from now, and if it takes that long to perform, that's fine with me. Nyttend (talk) 01:07, 21 November 2015 (UTC)
Such a work load for user categories? Sorry, but there are many more important tasks around. Just go with the search link above. I don't see a reason why you wouldn't be able to do it yourself. --Leyo 01:18, 21 November 2015 (UTC)
Such a work load for doing it myself, and let me suggest that we don't have a strict limit on the number of tasks that can be run. I've uploaded a lot of images that aren't by me, so my username won't appear on the page and won't otherwise be searchable. If you don't feel like helping me, go away and don't waste my time. Nyttend (talk) 03:54, 21 November 2015 (UTC)
I spent some time to come up with my initial suggestion. You have not even bothered to respond to it. --Leyo 10:33, 21 November 2015 (UTC)
Hi @Nyttend: "go away and don't waste my time" - Sorry - but this reply is imho a bit rude and not collegial. Here on commons we are a big family and always friendly to each other :-) <3. --Steinsplitter (talk) 10:48, 21 November 2015 (UTC)
quarry:query/6176 might work --Zhuyifei1999 (talk) 05:48, 21 November 2015 (UTC)

Converting HTML to wiki markupEdit

There are many file description pages where HTML markup is used for external links, see insource:/\<a href=\"http/. It would be great if standard cases (example) could be converted to wikitext by a bot. Unless they are in inside a nowiki tag, of course. --Leyo 16:07, 21 November 2015 (UTC)

Read in another language