Commons:Bots/Work requests/Archive 12
MetaCat
Hi at all. Is there a bot that can run to give at all categories by something the template {{metacat|something}} (if missing), so that the different flat list are complete and I can work on them to complete main categories? It's very heavy to add manually missing Metacat template one by one. Please see also Commons:List of meta category criteria. Thank you very much. Best regards, --DenghiùComm (talk) 06:06, 19 August 2015 (UTC)
- If you want a list, I just made one. A lot of "by something" categories are "by someone", so a bot run would requite manual assistance --Zhuyifei1999 (talk) 09:46, 24 August 2015 (UTC)
- Thanks. But I don't need a list of categories by something, I need that a bot runs to assign the correct MetaCat template by something to those categories that do not have it, at least to the most important of them (by century, by city, by continent, by country, by creator, by date, by decade, by department, by institution, by location, by material, by month, by name, by period, by province, by region, by state, by style, by subject, by type, by year). Anyway thank you again. Best regards, --DenghiùComm (talk) 15:05, 25 August 2015 (UTC)
Copying files from English Wikipedia
Hi, Isn't there any bot available to copy files from the English Wikipedia? There is a huge backlog: en:Category:Copy to Wikimedia Commons. I think at least this category could be processed quite automatically: en:Category:Copy to Wikimedia Commons reviewed by a human. Regards, Yann (talk) 17:09, 29 August 2015 (UTC)
Link replacement
Search finds ~700 images with a link comprised of http://www.navy.mil/view_single.asp which should be changed to http://www.navy.mil/view_image.asp Example: File:Medichaiti.jpg. The correct/updated link would be http://www.navy.mil/view_image.asp?id=80053 Change request limited to File namespace.--Denniss (talk) 20:47, 10 September 2015 (UTC)
- Done VFC'ed Avicennasis also helping --Zhuyifei1999 (talk) 08:31, 12 September 2015 (UTC)
- Yay! Teamwork! On a side note - how have I gone this long without knowing about VFC here? Learn something new every day! sısɐuuǝɔıʌ∀ (diskuto) 08:44, 12 September 2015 (UTC)
- This section was archived on a request by: Zhuyifei1999 (talk) 13:35, 5 October 2015 (UTC)
Some images needs licence
Hi (still me^^).
Some of my images had licences provided by this credit template [1]. It was a mistake as explained here [2]: as suggested by User:Denniss I do here this request.
I'd like a bot loops recursively into my category Category:Images by Benoît Prieur and adds if neccessary (if it lacks actually) the good licence. I would like this stuff to be added:
== {{int:license-header}} ==
{{self|cc-by-sa-4.0}}
If YiFeiBot already left this category "Category:Media without a license: needs history check" please remove it too.
Do you think it is possible?
Let me know if you needs some others details.
Thank you very much, --Benoît Prieur (d) 07:04, 25 September 2015 (UTC)
PS: could we take into this oppotunity to change every licence to cc-by-sa-4.0? (I mean even licence cc-by-sa-3.0 for example even it is ok)?
- Done seems to be done. --Benoît Prieur (d) 18:25, 26 September 2015 (UTC)
- This section was archived on a request by: Zhuyifei1999 (talk) 13:35, 5 October 2015 (UTC)
"Category: Interior de São Paulo" (I, II, III, etc.)
Inside the Category:São Paulo, there is a lot of useless categories (unless there are a lot of images there), called Category:Interior de São Paulo, Category:Interior de São Paulo II, Category:Interior de São Paulo III etc. (up to XI!).
First of all, every single city which is not São Paulo city (São Paulo state capital) is "interior de São Paulo", so the existence of these categories makes no sense.
Second, such categories are named in Portuguese, instead of English.
I ask any robot to empty and delete such categories.
Thanks, and forgive my poor English. Yanguas (talk) 19:39, 26 August 2015 (UTC)
- Anyone? Yanguas (talk) 17:05, 12 September 2015 (UTC)
- This could be done by anyone in a short time with Cat-a-lot. But someone who knows about São Paulo should probably verify that there isn't any information in the categorization that perhaps just isn't being expressed very well - do the different categories perhaps represent different regions of São Paulo? BMacZero (talk) 21:11, 16 September 2015 (UTC)
Tag *.svg.png files {{Should be SVG}}}
Probably is the correct action, double extensions list (350+ files), and would be nice to notify the uploader. Dispenser (talk) 18:14, 1 October 2015 (UTC)
renaming personal categories
Hi,
I would like to have the renaming of my personal categories. Actually I just renamed my user profile (from "Agamitsudo" to "Benoît Prieur") and I'd like this category Category:Images by Agamitsudo renamed as Category:Images by Benoît Prieur. (I cannot do myself cause this reversal supposed to do a suppression). Moreover I'd like to have this replacement in the name of every subcategories -> "by Agamitsudo" replaced by "by Benoît Prieur".
Would be great if you can do that for me.
(actually I will have another request just afterward).
Thank you very much, --Benoît Prieur (d) 06:56, 25 September 2015 (UTC)
- This can be done by just switching the category redirect templates around and waiting for a bot to move the files in the category. I'll try to get that sorted out a little bit later. sısɐuuǝɔıʌ∀ (diskuto) 19:32, 27 September 2015 (UTC)
- Hi sısɐuuǝɔıʌ∀,
- Thank you for answering (I just read your answer).
- Actually there was no hurry.
- Finally I decided to do that by myself (was fun to do some PyWikiBot coding :)). Morever I received a spontaneous help from Wieralee who I thank a lot again here.
- So I think this current request can be considered as fixed.
- Regards, --Benoît Prieur (d) 08:02, 1 October 2015 (UTC)
- @Benoît Prieur: Editing 8 000 files with pywikibot without a bot flag is not a good idea, you're flooding watchlists and RC and your account act like an unauthorized bot account. Please create a request here next time or create a bot account. Thanks. Thibaut120094 (talk) 13:20, 2 October 2015 (UTC)
- Ok sure. I understand. Actually it is done for this task; next time i will follow your advice.
- Regards, --Benoît Prieur (d) 13:24, 2 October 2015 (UTC)
- PS: can I ask a bot flag without a precise goal here and using it only when needing (f.e renaming something in every file in a given category)? Where can I ask it?
- You should ask at Commons:Bots/Requests. In the past it was easier to get bot flag without a precise goal, see for example Commons:Bots/Requests/JarektBot, but I think it might be harder now. --Jarekt (talk) 14:23, 2 October 2015 (UTC)
- @Benoît Prieur: Editing 8 000 files with pywikibot without a bot flag is not a good idea, you're flooding watchlists and RC and your account act like an unauthorized bot account. Please create a request here next time or create a bot account. Thanks. Thibaut120094 (talk) 13:20, 2 October 2015 (UTC)
#REDIRECT ''[[XXX]]''
@Orchi: created many such pages, such as Macroclemys temminckii, Baptisia lecontei and Sobralia sessilis. There should be a bot to fix it.--GZWDer (talk) 12:51, 5 October 2015 (UTC)
- What's the issue with these pages, and what would be the proposed fix? BMacZero (talk) 22:40, 5 October 2015 (UTC)
- Oh, I figured it out, you're talking about the italic marks ''. BMacZero (talk) 22:42, 5 October 2015 (UTC)
Fix category string
Hi,
I have accidently add twice ":" into category string. Could you remove one ":" from [[Category::Files by Juandev to be sorted]] from files in:
- User:Juandev/Vicu?aUploader#2015-10-30 12:04:32
- User:Juandev/Vicu?aUploader#2015-10-30 11:56:59
- User:Juandev/Vicu?aUploader#2015-10-30 11:41:23
- User:Juandev/Vicu?aUploader#2015-10-30 11:26:29
- User:Juandev/Vicu?aUploader#2015-10-30 11:14:02
- User:Juandev/Vicu?aUploader#2015-10-30 10:58:58
please? Thank you!--Juandev (talk) 11:26, 30 October 2015 (UTC)
- Done with VFC --Zhuyifei1999 (talk) 12:14, 30 October 2015 (UTC)
Huh, thx. Maybe I can learn how to do it next time myself.--Juandev (talk) 13:20, 30 October 2015 (UTC)
- This section was archived on a request by: McZusatz (talk) 19:25, 7 November 2015 (UTC)
Name and description change for a sequence of images
Hi, I uploaded a sequence of images from NASA site, which represents a simulation of binary neutron star coalescence. Unfortunately, I changed name during upload, and created a new category only aftermath. So if it is possible, I ask somebody to change names of files NS_merger_simulation_XXX.tif with XXX from 001 to 300 to NS_binary_merger_simulation_XXX.tif and change descriptions of them all to that one of NS_merger_simulation_001.tif. Thanks. --Melirius (talk) 03:51, 25 September 2015 (UTC)
- Done, mostly. I moved the files (I didn't keep redirects since they didn't see needed - if you think they do, I'll add them) but I didn't understand the request to change the descriptions. What exactly do you mean by that? Could you edit one of the files in question as an example? sısɐuuǝɔıʌ∀ (diskuto) 19:30, 27 September 2015 (UTC)
- I mean that you can just copy the full page of NS_binary_merger_simulation_001.tif to all these files, as I made by hand up to the number 079, as here. That is a sequence of images in the same simulation. And please change all the extensions to tiff or tif, because up to 100 it is tiff, then from 101 it is tif. Sorry. --Melirius (talk) 00:22, 30 September 2015 (UTC)
- No worries. If it's no different to you, I'd rather move 101 and up to tiff, as that's the proper name for them (though this is purely personal preference, since we don't have a naming guideline/policy). I can move move 100 and down back to tif, though, if you prefer. I'll effect the other changes at the same time. sısɐuuǝɔıʌ∀ (diskuto) 08:08, 9 October 2015 (UTC)
- I have no preference, so you can do it your, tiff-way. Thanks! --Melirius (talk) 04:55, 11 October 2015 (UTC)
I18n of section title
Please change the following section title
to
There are ~4000 occurrences. --Leyo 21:31, 28 October 2015 (UTC)
- Done. --McZusatz (talk) 19:25, 7 November 2015 (UTC)
- This section was archived on a request by: Leyo 10:09, 11 November 2015 (UTC)
own work by (original) uploader
Those ~700 occurrences may be replaced by {{Own work by original uploader}}. --Leyo 10:12, 11 November 2015 (UTC)
- Leyo, couldn't you use VisualFileChange for it? I have created a gallery.js which is included in common.js. You find then a new item in tools which allows you to store a gallery of the current search results into a wikipage. This page can you then use for VisualFileChange. --Arnd (talk) 13:25, 11 November 2015 (UTC)
- I guess that this would work. However, I am still hoping for having this request fulfilled. --Leyo 13:35, 11 November 2015 (UTC)
- Done--Jarekt (talk) 14:07, 11 November 2015 (UTC)
- I guess that this would work. However, I am still hoping for having this request fulfilled. --Leyo 13:35, 11 November 2015 (UTC)
- This section was archived on a request by: Leyo 01:19, 21 November 2015 (UTC)
Find files with missing uploader category
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 https://quarry.wmflabs.org/ 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)
- Just to add my 3 cents. Nyttend not collegial reply was to Leyo's "there are many more important tasks around" comment which was also not very friendly. If there is a task that an long time contributor needs help with we should take it seriously. We should take seriously requests from new users as well, but people who been around for a while are less likely to ask for something unreasonable. --Jarekt (talk) 16:47, 30 November 2015 (UTC)
- The fact that he did not even react to my proposal made me mad. In fact, the 149 files found are not that much different from the gallery page you created. --Leyo 21:21, 30 November 2015 (UTC)
- Just to add my 3 cents. Nyttend not collegial reply was to Leyo's "there are many more important tasks around" comment which was also not very friendly. If there is a task that an long time contributor needs help with we should take it seriously. We should take seriously requests from new users as well, but people who been around for a while are less likely to ask for something unreasonable. --Jarekt (talk) 16:47, 30 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)
- 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)
- 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)
- 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)
- 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)
- 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 https://quarry.wmflabs.org/ to create a database query. --Jarekt (talk) 19:07, 20 November 2015 (UTC)
- quarry:query/6176 might work --Zhuyifei1999 (talk) 05:48, 21 November 2015 (UTC)
- @Nyttend: , Please look through User:Nyttend/uploads and see if you want to add any to the subcategories of Category:Files by User:Nyttend. I think those are all files you transferred from EN-wiki, but some might be yours. --Jarekt (talk) 17:36, 30 November 2015 (UTC)
- This section was archived on a request by: Jarekt (talk) 17:36, 30 November 2015 (UTC)
Change of a category
I want to change the categories of the files which are here Category:SVG flags of Castile and Leon. The work would be to change Category:SVG flags of Castile and Leon in Category:SVG flags of Castile and León (there is an ortographic mistake). Telle me if I could do the work with the JavaScript gadget Cat-a-lot. --Berdea (talk) 11:46, 28 November 2015 (UTC)
- Already Done by someone. --Jarekt (talk) 04:34, 30 November 2015 (UTC)
- This section was archived on a request by: Jarekt (talk) 17:36, 30 November 2015 (UTC)
Redundant word in main namespace
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)
- @Steinsplitter: The use of "<gallery></gallery>" enriches for this word.Thank you --ديفيد عادل وهبة خليل 2 (talk) 11:31, 7 November 2015 (UTC)
Not done as I understand it the request was to remove prefix "File:" or "Image:" from pages in main namespace that use <gallery></gallery> (as most of them do). This is purely code beautification task, which makes no difference for the pages appearance. --Jarekt (talk) 13:02, 3 December 2015 (UTC)
- This section was archived on a request by: Jarekt (talk) 13:02, 3 December 2015 (UTC)
Adding a category
Please, in these files add the Category:Photographs by Tony Frisina. Thanks, --Horcrux92 (talk) 10:55, 3 December 2015 (UTC)
- Done Horcrux92 please notice that on the right lower corner of the screen you get after these files you will see Cat-a-lot. With that link you can add categories to all or some files in the search. it is not a job for a bot anymore. --Jarekt (talk) 12:56, 3 December 2015 (UTC)
- Good to know, thank you so much! --Horcrux92 (talk) 15:53, 3 December 2015 (UTC)
- This section was archived on a request by: Jarekt (talk) 13:03, 3 December 2015 (UTC)
Converting HTML to wiki markup
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 of a nowiki tag, of course. --Leyo 16:07, 21 November 2015 (UTC)
- @Leyo: At a glance, a number of those fall in the "Original upload log" sections, which we'd probably not want to change (I believe). In its simplest form, however, would converting <a href="(href)">(content)</a> to [(href) (content)] be sufficient, simply discarding any other attributes of the tag? Also, only in the event that (href) is http://(content), simply replace <a href="(href)">(content)</a> with (href), as in Special:Diff/175415782? Hazard SJ 20:19, 26 November 2015 (UTC)
- The “Original upload log” section are usually inside of a nowiki tag. As stated above, they do not need to be touched.
- Yes, that's what I was thinking of. I guess you were referring to Special:Diff/175415782/next. It looks good IMHO. --Leyo 22:08, 26 November 2015 (UTC)
- @Leyo: Yes, that's the diff. However, not all of them are (at a glance at a random one, see the resolution column in the table on File:Shaun Carney rushing.jpg). Hazard SJ 04:20, 27 November 2015 (UTC)
- True. Could you omit anything that is in “Original upload log” sections? Or, alternatively, only consider anything that is inside of the Information template? --Leyo 14:35, 27 November 2015 (UTC)
- @Leyo: Yes, that's the diff. However, not all of them are (at a glance at a random one, see the resolution column in the table on File:Shaun Carney rushing.jpg). Hazard SJ 04:20, 27 November 2015 (UTC)
- Didn't my bot do this? Looks like it is blocked. --McZusatz (talk) 15:26, 29 November 2015 (UTC)
- YaCBot is indeed blocked, but the reason is unclear. This fix could have been done before the block. This one, however, is a file uploaded later. --Leyo 17:02, 29 November 2015 (UTC)
- From the archives, it looks like Krd documented his intention to block the bot in the middle of this this discussion at COM:AN with a note that "McZusatz is free to unblock the bot as soon as the affected job has been stopped." —RP88 (talk) 17:18, 29 November 2015 (UTC)
- Thank you. I wonder if the reasons for the complaints weren't partly narcissistic. The pages found using e.g. insource:/[Aa]uthor *=[^\|]+Uploaded by/ may get cleaned, too. --Leyo 14:12, 30 November 2015 (UTC)
- Should I look to implement this, or should we just try to get YaCBot back? Hazard SJ 05:27, 2 December 2015 (UTC)
- I guess this depends on McZusatz. --Leyo 15:51, 2 December 2015 (UTC)
- Should I look to implement this, or should we just try to get YaCBot back? Hazard SJ 05:27, 2 December 2015 (UTC)
- Thank you. I wonder if the reasons for the complaints weren't partly narcissistic. The pages found using e.g. insource:/[Aa]uthor *=[^\|]+Uploaded by/ may get cleaned, too. --Leyo 14:12, 30 November 2015 (UTC)
- From the archives, it looks like Krd documented his intention to block the bot in the middle of this this discussion at COM:AN with a note that "McZusatz is free to unblock the bot as soon as the affected job has been stopped." —RP88 (talk) 17:18, 29 November 2015 (UTC)
- YaCBot is indeed blocked, but the reason is unclear. This fix could have been done before the block. This one, however, is a file uploaded later. --Leyo 17:02, 29 November 2015 (UTC)
- This section was archived on a request by: Jarekt (talk) 05:08, 11 December 2015 (UTC)
Insert template
Hi,
I would like to ask you, if you can insert {{Mediagrant II|Foto českých obcí}} to files from:
Thank you.--Juandev (talk) 09:31, 11 December 2015 (UTC)
- Done by myslef with VFC. It took me a while to understand, how to do it, but its pretty easy. Just reg expresions, might be a problem for the future.--Juandev (talk) 17:31, 12 December 2015 (UTC)
- This section was archived on a request by: Leyo 15:39, 13 December 2015 (UTC)
Purging badly rendered SVG files
Several of these SVG files are badly rendered (e.g. File:Synthesis 1,1-Dichloroethene.svg). Does anyone have a bot that can purge these files? --Leyo 23:17, 2 January 2016 (UTC)
- How do you purge them? action=purge? --Zhuyifei1999 (talk) 02:31, 3 January 2016 (UTC)
- Yes (and then Ctrl + F5). --Leyo 03:07, 3 January 2016 (UTC)
- I ran touch.py over the 508 pages edited by the user. For Ctrl + F5, it's per browser, and not a bot's job to hack into every browser and clear their cache :P --Zhuyifei1999 (talk) 04:47, 3 January 2016 (UTC)
- That's why I put it in brackets. Is touching equal to purging, i.e. for the file (not the page)? --Leyo 12:32, 3 January 2016 (UTC)
- I never heard of action=purge actually purging the thumbnails stored on Wikimedia Servers. In case touching actually work, I've ran the script both with "-purge" (for action=purg instead of null-edit) and without the option (for null-edit instead of purge) --Zhuyifei1999 (talk) 09:15, 4 January 2016 (UTC)
- That's why I put it in brackets. Is touching equal to purging, i.e. for the file (not the page)? --Leyo 12:32, 3 January 2016 (UTC)
- I ran touch.py over the 508 pages edited by the user. For Ctrl + F5, it's per browser, and not a bot's job to hack into every browser and clear their cache :P --Zhuyifei1999 (talk) 04:47, 3 January 2016 (UTC)
- Yes (and then Ctrl + F5). --Leyo 03:07, 3 January 2016 (UTC)
- This section was archived on a request by: Leyo 20:42, 7 January 2016 (UTC)
Paintings and Wikidata
Hi everyone, I noticed that this page isn't as crowded as I remember it so I hope some bot operators might be able to help me out with several related requests I have. Last year I started the sum of all paintings project on Wikidata. The goal of this project is to get an item for every notable painting. The collection is growing and we have well over 100.000 painting items. The attention shifted a bit more to painters the last couple of months (detailed update) and that seems to be coming along quite well. Time to get more items illustrated and have more files here link to Wikidata. Take for example File:Simon de Vlieger - Arrival of William of Orange.jpg. This file links to Q21715884 and that item uses the file here. This is a 1:n relation. We have one item about a painting on Wikidata and we can have multiple images here Commons that all link to Wikidata. Multichill (talk) 20:22, 14 December 2015 (UTC)
Convert Information to Artwork on paintings
{{Artwork}} is more suited to be used on paintings than {{Information}} and offers the option to link to Wikidata. Any paintings here that use the information template should be converted to use the artwork template. This needs to be done with care so no information gets lost and that we don't end up with half filled templates that people will nominate for deletion. Multichill (talk) 20:22, 14 December 2015 (UTC)
- I can imagine a code that picked up files from artist categories and replaced {{Information}} with {{Artwork}} by using substitution, but that is not going to add any information to most of {{Artwork}} fields. That might not be good enough. What else can be done? We also have 12k files in Category:Artworks missing infobox template without any infoboxes. It would be nice to come up with a way to do something with those. --Jarekt (talk) 03:14, 15 December 2015 (UTC)
Connect Google Art paintings
Some time ago I created Category:Google Art Project paintings with Wikidata item and Category:Google Art Project paintings without Wikidata item. The paintings should be connected to the items on Wikidata. For several collections I uploaded all the paintings, but still a lot to do. Take for example the Getty: over 200 results. Would be nice if a bot could assist here. Multichill (talk) 20:22, 14 December 2015 (UTC)
Replacing renamed template
Please replace Template:flag and Template:Vlag with Template:Infobox flag. Thanks. Evrik (talk) 15:23, 7 January 2016 (UTC)
- Why is this needed? --Leyo 20:41, 7 January 2016 (UTC)
- I want to use the Template:flag to match w:Template:flag. I don't want to make all the updates by hand. Evrik (talk) 04:44, 8 January 2016 (UTC)
- See Special:WhatLinksHere/Template:Flag. --Leyo 16:09, 9 January 2016 (UTC)
- @Evrik: You may do the few remaining ones yourself. --Leyo 11:44, 14 January 2016 (UTC)
- I want to use the Template:flag to match w:Template:flag. I don't want to make all the updates by hand. Evrik (talk) 04:44, 8 January 2016 (UTC)
- This section was archived on a request by: Leyo 11:44, 14 January 2016 (UTC)
Removing space from URLs
Could someone please remove the syntax-breaking space from insource:/\[ +http/? The nowiki parts may be ignored. --Leyo 16:26, 18 January 2016 (UTC)
- Fixed some. Files like File:Bin_Roye_FULLMOVIE.jpg might be copyvios --Zhuyifei1999 (talk) 11:45, 19 January 2016 (UTC)
- This section was archived on a request by: Leyo 01:05, 24 January 2016 (UTC): I fixed the remaining ones.
Special cleanup
Greatly appreciated were some help cleaning up the mess caused by indef blocked User Blackwhiteupl (talk · contributions (views) · deleted user contributions · recent activity (talk · project · deletion requests) · logs · block log · global contribs · CentralAuth) (for more info see Commons:Administrators' noticeboard/User problems/Archive 56#Blackwhiteupl), because Category:Originals contains 17000+ files which cannot get looked up by hand. In pseudo code:
foreach File: of [[:Category:Originals]] { if file is also member of [[:Category:Photographs by Kalispera Dell]] { if insource "{{Original}}" or "{{original}}" then remove that if insource "[[Category:Originals]]" then remove that } }
Thanks for your assistance! --Achim (talk) 21:48, 23 January 2016 (UTC)
- Done --Jarekt (talk) 03:06, 24 January 2016 (UTC)
- Great, thank you, Jarekt! --Achim (talk) 08:55, 24 January 2016 (UTC)
- This section was archived on a request by: Jarekt (talk) 03:06, 24 January 2016 (UTC)
{{LangSwitch}} requires a "default" or "en" parameter and if it is missing it adds Category:LangSwitch template without default version. A while back I was working on this category using semi-automatic AutoWikiBrowser. Again there is 200+ files there, I fixed all the templates and creator pages, but could use some help with files. --Jarekt (talk) 02:17, 4 January 2016 (UTC)
- This section was archived on a request by: Riley Huntley (talk) 22:09, 28 January 2016 (UTC)
Photographic portraits
All the categories with "photographic portraits" in the title should be moved to the corresponding title with "portrait photographs" (that are much more and it's the title of the main cat). --Horcrux92 (talk) 19:40, 17 January 2016 (UTC)
- Support as we have also Category:Portrait paintings. --Achim (talk) 20:34, 17 January 2016 (UTC)
- Commons:Bots/Requests/RileyBot 6 has been created in relation to this request. Upon approval/denial, section resolved will be added. Riley Huntley (talk) 23:27, 28 January 2016 (UTC)
- This section was archived on a request by: Riley Huntley (talk) 05:11, 8 February 2016 (UTC)
Touching
At Commons:Administrators' noticeboard/Archive 56#Category:Non-empty disambiguation categories I mentioned (caching?) problems of disambig categories. As I am not familiar with pywikibot, could someone please perform a null-edit touch run on (now 639) category pages listed here: quarry:query/7250, thank you. --Achim (talk) 15:38, 12 February 2016 (UTC)
- Thank you very much to the unknown one who Done it! --Achim (talk) 11:20, 21 February 2016 (UTC)
- This section was archived on a request by: ★ Poké95 11:32, 21 February 2016 (UTC)
Hi, I populated Category:Pages using Information template with parsing errors again. Many of the issues are problems with the whole batches of images and could be fixed with automatic and semi-automatic processing with AWB or Python. Please help clean up this category. --Jarekt (talk) 05:07, 11 December 2015 (UTC)
- Thanks for creating this maintenance category.
- I noticed that some of the errors were caused by Aschroet's bot. He may be willing to fix those. --Leyo 08:04, 11 December 2015 (UTC)
- I'll do so. --Arnd (talk) 08:10, 11 December 2015 (UTC)
What caused File:Obama at New Economic School-1.jpg, File:S (set u).png and File:Sidamonidze COA.png to be included to this category? Is there anything that needs being fixed there? --Leyo 08:23, 11 December 2015 (UTC)
Jarekt, just to derive an effort estimation, is this the amount of broken templates generated over the last 9 months? As i remember the last run was in March. --Arnd (talk) 12:44, 11 December 2015 (UTC)
- Arnd I thought those are templates generated over the last 9 months, but looking at some of them more closely, it seems like some of those are templates that were broken for years. Other cases include images that did not have information template but did have parsing errors, which were than processed by user:Dexbot and the old parsing errors break the new information template. Leyo sorry for those false alarms, database queries sometimes return those (in this case none of the files were supposed to transclude {{Infobox template tag}} or {{Information}}). I will be adding more files to Category:Media missing infobox template and subtemplates, since I just got quarry:query/2556 to work.--Jarekt (talk) 15:00, 11 December 2015 (UTC)
Users with most affected files seem to be Sailko and Rrius. --Leyo 14:41, 11 December 2015 (UTC)
- I also asked User:Slowking4 for help with some of his uploads which where really confusing. --Jarekt (talk) 15:09, 11 December 2015 (UTC)
- Sailkos problems were caused by my bot. --Arnd (talk) 16:28, 11 December 2015 (UTC)
- Most of them may be found using incategory:Pages_using_Information_template_with_parsing_errors -insource:/description/i. --Leyo 16:32, 11 December 2015 (UTC)
Jarekt, it would be really great when this category is being populated on a daily basis. This way my bot which is already watching other maintenance categories could quickly inform the responsible user. Is that possible or too expensive in terms of runtime or implementation?--Arnd (talk) 19:49, 11 December 2015 (UTC)
- Arnd, I think it is a good idea. User:Zhuyifei1999 this sounds very much like Commons:Bots/Requests/YiFeiBot (13) except for the query and category. May be you want to look at it. Currently the files in this category were added by running quarry:query/2556 and then adding Category:Pages using Information template with parsing errors if string "{{Information" or \|\s*source\s*= were found in the metadata or Category:Media missing infobox template otherwise. --Jarekt (talk) 04:42, 13 December 2015 (UTC)
- Ok, I'll work on it tomorrow probably --Zhuyifei1999 (talk) 07:07, 13 December 2015 (UTC)
- Commons:Bots/Requests/YiFeiBot (25) --Zhuyifei1999 (talk) 11:02, 15 December 2015 (UTC)
- Arnd, I think it is a good idea. User:Zhuyifei1999 this sounds very much like Commons:Bots/Requests/YiFeiBot (13) except for the query and category. May be you want to look at it. Currently the files in this category were added by running quarry:query/2556 and then adding Category:Pages using Information template with parsing errors if string "{{Information" or \|\s*source\s*= were found in the metadata or Category:Media missing infobox template otherwise. --Jarekt (talk) 04:42, 13 December 2015 (UTC)
- insource:/\{\{Information/ -insource:/\<nowiki\>/ -hastemplate:Information -hastemplate:Information_field (or similar searches) yields some real-time results. --Leyo 22:53, 11 December 2015 (UTC)
- There is only one file in this category. Any problem with the bots? ;) -- MaxxL - talk 11:33, 13 December 2015 (UTC)
- The category has been cleaned up, but there are still plenty of files found with my search link above. --Leyo 14:26, 13 December 2015 (UTC)
- Well - after repairing about 1k files by hand I thought the job was done. -- MaxxL - talk 14:40, 13 December 2015 (UTC)
- The remaining ones have other problems, see sample fixes. --Leyo 15:41, 13 December 2015 (UTC)
- This category only included parsing errors that caused the infobox template not to render at all, while there are no other infobox templates in the files. Leyo's excellent search finds files that have templates like {{Artwork}}, but also remnants of broken {{Information}} template. --Jarekt (talk) 02:04, 14 December 2015 (UTC)
- Is anybody able to clean up the following common pattern (removing the first line)?
- This category only included parsing errors that caused the infobox template not to render at all, while there are no other infobox templates in the files. Leyo's excellent search finds files that have templates like {{Artwork}}, but also remnants of broken {{Information}} template. --Jarekt (talk) 02:04, 14 December 2015 (UTC)
- The remaining ones have other problems, see sample fixes. --Leyo 15:41, 13 December 2015 (UTC)
- Well - after repairing about 1k files by hand I thought the job was done. -- MaxxL - talk 14:40, 13 December 2015 (UTC)
- The category has been cleaned up, but there are still plenty of files found with my search link above. --Leyo 14:26, 13 December 2015 (UTC)
- There is only one file in this category. Any problem with the bots? ;) -- MaxxL - talk 11:33, 13 December 2015 (UTC)
{{Information {{Artwork
- I struggle because of the line break. --Leyo 21:56, 14 December 2015 (UTC)
Thank you MaxxL (and maybe some others) for cleaning up that category so quickly. I hope that in future there will be ways to reduce that amount of cleaning work. Maybe we could somehow guestimate this effort to have arguments to push Commons:Structured data. Have a nice evening, --Arnd (talk) 19:03, 13 December 2015 (UTC)
Thanks everybody for quickly fixing all those files. --Jarekt (talk) 02:04, 14 December 2015 (UTC)
Some additional errors are found using insource:/\{\{Information/ incategory:Media_missing_infobox_template. --Leyo 14:16, 16 December 2015 (UTC)
- All but 23 (mostly false-positives) done, but the search link further above still yields 149 hits. --Leyo 23:13, 3 January 2016 (UTC)
Strangely, insource:/\{\{Information/ -insource:/\<nowiki\>/ -hastemplate:Information -hastemplate:Information_field now even yields 264 hits. --Leyo 01:08, 24 January 2016 (UTC)
Creator templates
Hi, We can now get Wikidata information into Creator templates. So there are 2 things a bot could help:
- Update existing Creator templates;
- Create them when missing (see Special:WantedPages). This probably needs some planning.
- Update description pages accordingly (e.g. in File:Horse Middleton cantering, saddled with rider (rbm-QP301M8-1887-619).jpg, replacing "Muybridge, Eadweard, 1830-1904" by Creator:Eadweard Muybridge).
Regards, Yann (talk) 14:50, 26 January 2016 (UTC)
- A Creator template does not make sense in many of the “wanted” Creator templates. --Leyo 15:11, 26 January 2016 (UTC)
- Yes, the list needs checking first. That's why I say above "planning needed". Yann (talk) 15:18, 26 January 2016 (UTC)
- How to get rid of those where a Creator template does not make sense? --Leyo 15:20, 26 January 2016 (UTC)
- Not a definitive answer, but I can see several possibilities: check if an entry exists in Wikidata/Wikipedia -> creation needed, if the author matches the uploader (creation not needed). Regards, Yann (talk) 15:28, 26 January 2016 (UTC)
- Well, I was referring to entries such as Creator:Infrogmation of New Orleans, Creator:Michiel1972 or Creator:Photo: Andreas Praefcke. --Leyo 15:36, 26 January 2016 (UTC)
- It seems that Special:WantedPages lists as missing Creator missing all cases where the author doesn't match the uploader. That's another issue than creating missing Creator pages. Regards, Yann (talk) 16:34, 26 January 2016 (UTC)
- Well, I was referring to entries such as Creator:Infrogmation of New Orleans, Creator:Michiel1972 or Creator:Photo: Andreas Praefcke. --Leyo 15:36, 26 January 2016 (UTC)
- Not a definitive answer, but I can see several possibilities: check if an entry exists in Wikidata/Wikipedia -> creation needed, if the author matches the uploader (creation not needed). Regards, Yann (talk) 15:28, 26 January 2016 (UTC)
- How to get rid of those where a Creator template does not make sense? --Leyo 15:20, 26 January 2016 (UTC)
- Yes, the list needs checking first. That's why I say above "planning needed". Yann (talk) 15:18, 26 January 2016 (UTC)
- About updating existing Creator templates. I would rather wait for phabricator:T49930 "arbitrary Access" feature and rewrite Creator templates so they pull the needed information straight from the wikidata, if information is not provided. --Jarekt (talk) 16:55, 26 January 2016 (UTC)
- I have a bot that can do this widely based on Category:Creator templates to be created by a bot and matching birth and death dates, but we decided not to run it for this reason (better to wait for arbitrary access, supposedly coming within a few months). See Commons:Bots/Requests/BMacZeroBot 3. My bot can also replace "implicit" creators in {{Information}} templates, and has done a lot of them. It doesn't catch many cases, but I'm planning on working on it further. BMacZero (talk) 17:19, 27 January 2016 (UTC)
Removing inadvertent signatures
Every here and there, I stumble upon such inadvertent signatures on file description pages. Any means in finding and removing them in an automated way? --Leyo 17:43, 3 January 2016 (UTC)
- Not sure. The way SignBot detects signatures is by checking a link to userpage, but those likes are also often found in author= fields. "(UTC)" is also found malformed date= fields. Maybe using a dump scan on the general format (without any customization,
[[User:Username|Username]] ([[User talk:Username|<span class="signature-talk">talk</span>]]) HH:MM, (D)D Month YYYY (UTC)
) is good enough? --Zhuyifei1999 (talk) 09:24, 4 January 2016 (UTC)- Author fields may cause many false-positives. I tried insource:/\}\} *\-* *\[\[User\:.+\(UTC\)/ and insource:/\-* *\[\[User\:.+\(UTC\)/. The latter gives quite many hits, too. --Leyo 11:10, 4 January 2016 (UTC)
- Is it possible to ignore author fields? ★ Poké95 02:45, 17 January 2016 (UTC)
- AFAIK, a parser would be required to safely determine if a signatures is in an author field or not, as many signatures contains pipes (|) themselves, and may screw up regexes. --Zhuyifei1999 (talk) 06:02, 17 January 2016 (UTC)
- There are some users who added inadvertent signatures several times. I cleaned them up for a few of these users. --Leyo 13:05, 24 January 2016 (UTC)
- The hard thing is, you can't find "inadvertent" signatures, you can only find all signatures. You can use a parser to make sure it's not inside of a template, but a lot of the pages I found on the list I've compiled for this are like this, or this. You'd have to do this all manually assisted, because the bot can't tell the difference between an "inadvertent signature" and someone using a file page as a talk page (which a lot of people are doing.) Riley Huntley (talk) 23:53, 28 January 2016 (UTC)
- There are some users who added inadvertent signatures several times. I cleaned them up for a few of these users. --Leyo 13:05, 24 January 2016 (UTC)
- AFAIK, a parser would be required to safely determine if a signatures is in an author field or not, as many signatures contains pipes (|) themselves, and may screw up regexes. --Zhuyifei1999 (talk) 06:02, 17 January 2016 (UTC)
- Is it possible to ignore author fields? ★ Poké95 02:45, 17 January 2016 (UTC)
- Author fields may cause many false-positives. I tried insource:/\}\} *\-* *\[\[User\:.+\(UTC\)/ and insource:/\-* *\[\[User\:.+\(UTC\)/. The latter gives quite many hits, too. --Leyo 11:10, 4 January 2016 (UTC)
Throttle limits
I keep bumping into housekeeping jobs for Faebot where the default throttle limits make no sense. My run of the mill reports and uploads are fine, but having a housekeeping task that takes weeks and is likely to drop out several times and need rebooting in that period is a bit silly, when removing the throttle means it could run in an hour.
Could someone who runs faster jobs advise whether it's worth me creating a separate special fast bot account just for these odd jobs (normally GLAM related) and applying for an unthrottled new account, or whether I should just request that Faebot is unthrottled and I'll tack on -putthrottle to my jobs to manage their good behaviour more directly? Thanks --Fæ (talk) 14:08, 4 February 2016 (UTC)
- What is exactly the goal of throttling? If it is to keep users watchlists from flooding, I'd want to argue that one time 1000 edits in a few minutes (which can be skipped) is better than weeks getting 10 edits an hour on my watchlist. For recent changes the same argument holds. If the edits are done under a botflag (given it's a bot), it's even less of an issue. If the goal of throttling is to be able to fix mistakes: maybe a slow start with some careful checking on the edits and then going full speed is then the best idea. Due to sheer number it is not more likely that the edits get checked more thoroughly if they are done on a lower speed. On Commons:Bots the main thing which is said is that if it non-urgent it should be on max 12 edits/minute. Given the number of edits of Fae and his bots I would argue that such a speed is limiting the number of improvements that can be performed. Related is that when using visualfilechange or hotcat (on a non bot flagged account) edits are usually performed much faster, I've seen (and done) 100s of edits with those in just 1-5 minutes. All these edits are generally unflagged (which is not per se a bad thing, it is good if edits are checkable), having a limit for flagged bot accounts of 12 edits/minute makes no sense when these gadgets get speeds above 100/minute. Thus I'm in favor that those who know what they are doing with there bots, and are ready to clean up (or mass revert) if something goes wrong, increase their bot speeds quite a bit. Basvb (talk) 16:43, 4 February 2016 (UTC)
- Thanks for the perspective, encouraging. Any advice on where I ought best to request a change to throttle limits? I'm unsure if this would mean a full request at Bots/Requests, or I can drop a note somewhere else. --Fæ (talk) 17:02, 4 February 2016 (UTC)
- Hmm, the main argument against seems to be server load (see the meta policy, which was the reason the commons policy was formed with this limit). However seeing the visualfilechange and hotcat edits and the fact we are quite a few years after this rate has been discussed on meta maybe it is something worth looking into (are the same limits still important or can they be upped a bit). Given this I would want to lower my encouragement a bit. But I'm wondering how the bot limits relate for example to the semi-automatic gadget edits (hotcat, visualfilechange). Basvb (talk) 17:09, 4 February 2016 (UTC)
- I asked a question at meta regarding technical issues with high speed limits. As it seems that we frequently hit high numbers of edits/minute on Commons (at least I do) I'm wondering whether these bot limits should really be this strict. Using VisualFileChange It seems that I go up to 250 edits/minute (see here), if that influences the server I should stop with that and would like to know that it does (it might be different when one is doing 100.000 edits, compared to those with a max of a few thousand, but it is still a lot). Basvb (talk) 17:24, 4 February 2016 (UTC)
- Well, my next step is probably to raise a request on Bots/Requests then rather than go informal. Just changing to an account limit of 1 edit/second or 100 per minute would be a great improvement, keeping in mind that my reports, tests and run of the mill regular things that work today I would happily throttle to the mediawiki suggested default of 1 every 10 secs and I'm not imagining creating parallel processing threads for any one job, so I'm never going to run like the clappers in the way that VFC does. --Fæ (talk) 19:15, 4 February 2016 (UTC)
- Now added to Commons:Bots/Requests, refinements to the rationale, or suggestions for good practice welcome there in discussion. --Fæ (talk) 19:56, 4 February 2016 (UTC)
- Thanks for the perspective, encouraging. Any advice on where I ought best to request a change to throttle limits? I'm unsure if this would mean a full request at Bots/Requests, or I can drop a note somewhere else. --Fæ (talk) 17:02, 4 February 2016 (UTC)
- I also believe throttle limits of around 1 edit/second is perfectly acceptable. No limit is very handy when working with VFC, but VFC is limited on how many images you could easily select, so those jobs never last long. I just looked at some edits I did with cat-a-lot today and I counted 43 files which were edited at 9:01, 43 edits/sec is equivalent to 2580 edits/min. That speed might be OK for a second or two, but is probably not sustainable for longer periods. --Jarekt (talk) 03:41, 5 February 2016 (UTC)
- @Jarekt: Are you sure those are all in one second? I believe that the edit times always show up in minutes, there's no indication of seconds and in my experience when I did some edits (with visualfilechanger or cat-a-lot) somewhere around 250 edits/minute seems to be the limit of those. With visualfilechange it is possible to go over quite a lot of files (ca 25k I've done in the past), loading the images in is then the main issue, meaning that it is unlikely somebody will start more than one or two of those bigger VFC runs in an hour. Basvb (talk) 14:42, 5 February 2016 (UTC)
- Basvb, You are right. I do not know how I mistook "9:01" for time with accuracy up to a second. So cat-a-lot's speed was 43 edits/min, which seems much more reasonable. Those are the speeds any editor can edit at without any bot flags, so a bot should be able to go as fast too. --Jarekt (talk) 19:44, 5 February 2016 (UTC)
- @Jarekt: Are you sure those are all in one second? I believe that the edit times always show up in minutes, there's no indication of seconds and in my experience when I did some edits (with visualfilechanger or cat-a-lot) somewhere around 250 edits/minute seems to be the limit of those. With visualfilechange it is possible to go over quite a lot of files (ca 25k I've done in the past), loading the images in is then the main issue, meaning that it is unlikely somebody will start more than one or two of those bigger VFC runs in an hour. Basvb (talk) 14:42, 5 February 2016 (UTC)
- I agree as well, I'm running around 80 edits per minute with my bot right now; it has 10,000 files in queue; I can't imagine trying to complete this task at a rate of six edits per minute like Commons:Bots recommends. Riley Huntley (talk) 04:54, 5 February 2016 (UTC)
- I believe the current rate max listed is 12 per minute or one every 5 seconds. Basvb (talk) 14:42, 5 February 2016 (UTC)
I raised the request but removed it again after it was explained that Faebot was not throttled, this was something that was fixable in Pywikibot if I wanted to edit at the 1-per-second rate. I had assumed the behaviour I saw was related to account throttling, but it's down to the Pywikibot defaults, though my confusion came from the -putthrottle:nn parameter not being sufficient. It's probably a topic that the guidance in the mediawiki manual should spell out more clearly. --Fæ (talk) 09:02, 5 February 2016 (UTC)
- The other thing to consider in addition to server usage, is the effect that the flooding has on IRC for CVN channels. I ran my bot on full speed, unthrottled and it delayed my channel by at least two hours, not sure how much #cvn-commons was delayed. Riley Huntley (talk) 03:04, 8 February 2016 (UTC)
- Sorry I do not use IRC and never heard CVN mentioned before. Why would it be delayed? --Jarekt (talk) 03:20, 8 February 2016 (UTC)
- irc.wikimedia.org (read only) is basically a recent changes feed, just on IRC. IRC bots that track recent changes, can "snatch" from there and "snitch" on to freenode into channels that CVN (counter vandalism network) users review. The bots obviously only snitch when needed, like an abuse filter, but it can severely slow down the process if there a bot editing at high speeds (i'd say at least 80 epm+) That is the best explanation I can give. :) Riley Huntley (talk) 05:16, 8 February 2016 (UTC)
- @Riley Huntley: I think the solution for that is to snatch edits from this recent changes without edits made by a bot, so they won't have to snitch edits from bots. I think IRC bots are configured to snatch all changes (which includes bots), so by snatching using the modified recent changes above, the IRC channels won't delay. If I'm mistaken, tell me. I am not good in programming though.... ★ Poké95 02:53, 13 February 2016 (UTC)
- I don't believe that'd work. The IRC bots are only snatching what matches their interests, I believe the delay is just from changes pouring in to irc.wikimedia.org. Riley Huntley (talk) 03:00, 13 February 2016 (UTC)
- @Riley Huntley: I think the solution for that is to snatch edits from this recent changes without edits made by a bot, so they won't have to snitch edits from bots. I think IRC bots are configured to snatch all changes (which includes bots), so by snatching using the modified recent changes above, the IRC channels won't delay. If I'm mistaken, tell me. I am not good in programming though.... ★ Poké95 02:53, 13 February 2016 (UTC)
- irc.wikimedia.org (read only) is basically a recent changes feed, just on IRC. IRC bots that track recent changes, can "snatch" from there and "snitch" on to freenode into channels that CVN (counter vandalism network) users review. The bots obviously only snitch when needed, like an abuse filter, but it can severely slow down the process if there a bot editing at high speeds (i'd say at least 80 epm+) That is the best explanation I can give. :) Riley Huntley (talk) 05:16, 8 February 2016 (UTC)
- Sorry I do not use IRC and never heard CVN mentioned before. Why would it be delayed? --Jarekt (talk) 03:20, 8 February 2016 (UTC)
Rename files
Hi. Can somebody rename files contained in Category:Le Samyn des Dames 2016 & Le Samyn 2016, Quaregnon and Category:Le Samyn des Dames 2016 & Le Samyn 2016, Dour by changing 2015 for 2016 ? I was very tired and make a mistake when I copy-paste the name of files created last year. Jérémy-Günther-Heinz Jähnick (talk) 13:46, 24 March 2016 (UTC)
- Doing… Riley Huntley (talk) 17:22, 24 March 2016 (UTC)
- This section was archived on a request by: Done Riley Huntley (talk) 18:07, 24 March 2016 (UTC)
Hi, I hope this is the right place for the following request:
- all pictures at category:Fries should be moved to category:Friezes in the Netherlands.
- category:Fries should redirect to Category:French fries.
thanks, Gveret Tered (talk) 08:28, 31 March 2016 (UTC)
- Added Category:Friezes in the Netherlands to {{RCE-subject}}. --Achim (talk) 19:37, 31 March 2016 (UTC)
- This section was archived on a request by: Task completed by another user. Riley Huntley (talk) 21:42, 31 March 2016 (UTC)
Caetgory
Not sure if this is best done by a bot or something else; send me elsewhere if I should have gone there instead.
I'm prone to making typos and not noticing, and I'm sure lots of other people are too. Two particularly insidious typos are "Category" and "Cateogry" — when I add a category to an image, or when the image is newly uploaded, I check the bottom of the page to ensure that there aren't any red-linked categories, but if I misspell "Category", it won't even end up at the bottom of the page. Both of these typos being my common mistakes, I wonder if someone could go through a database dump and look for every occurrence of either term, and then list them out for a human to fix. No need to filter anything for false positives, since I'll examine each one before changing it. Nyttend (talk) 13:55, 10 March 2016 (UTC)
- I only come up with one search result for 'insource:Cateogry' and none for 'insource:Caetgory', though I've had problems getting Cirrussearch to do what I want in the past. Also, was your first "Category" intended to be "Caetgory? BMacZero (talk) 17:20, 10 March 2016 (UTC)
/* Mistyped Category: namespace on Image pages
* Beware stupid autolinking template "*\_%"
*/
SELECT
SUBSTRING_INDEX(pl_title, ':', 1) AS "Prefix",
COUNT(*) AS "Count",
SUM(EXISTS (SELECT 1 FROM page WHERE page_namespace=14
AND page_title=SUBSTRING_INDEX(pl_title, ':', -1)
)) AS "EasyFix",
LEFT(pl_title, 50) AS "Example"
FROM pagelinks
WHERE pl_from_namespace=6 AND pl_namespace=0
AND (pl_title LIKE "%Cat%:%" OR pl_title LIKE "%Caet%:%")
GROUP BY 1
ORDER BY 2 DESC;
+------------+-------+---------+--------------------------------------+ | Prefix | Count | EasyFix | Example | +------------+-------+---------+--------------------------------------+ | Categoría | 372 | 88 | Categoría:1916_in_Spain | | Categoria | 322 | 65 | Categoria:!Userbox_da_Desciclopédia | done | Categorie | 255 | 171 | Categorie:Afbeelding_Midden-Delfland | done | Catgeory | 135 | 126 | Catgeory:1872_births | done | Catégorie | 126 | 45 | Catégorie:Agriculture | | Categoty | 100 | 97 | Categoty:1980_in_Oregon | done | Categories | 64 | 31 | Categories: | done | Categpry | 36 | 33 | Categpry:1957_in_the_Netherlands | done | CCategory | 32 | 31 | CCategory:Amphitheatres_in_Germany | done | Categogory | 23 | 23 | Categogory:Typographic_ornaments | done
Dispenser (talk) 17:55, 10 March 2016 (UTC)
- Suggest searching for insource:/[Cc]a(tgeor|teogr|etgor|tegro|tegpr|tegot)y/ . --Achim (talk) 19:44, 10 March 2016 (UTC)
- Nice! BMacZero (talk) 21:41, 10 March 2016 (UTC)
--Achim (talk) 14:42, 18 March 2016 (UTC)
| Categoría | done | Catégorie | done | Kategoria | done | Kategorial | done
Only remaining hits are in categories in nowiki tags. Riley Huntley (talk) 00:04, 2 April 2016 (UTC)
- This section was archived on a request by: Riley Huntley (talk) 00:04, 2 April 2016 (UTC)
- I've made User:Dispenser/Mistyped namespaces for continuing work. Dispenser (talk) 04:45, 2 April 2016 (UTC)
my photo as source
Hi Bots, wouldn't it make sense to replace the value my photo of the source of the information template by {{own}}. --Arnd (talk) 14:23, 11 March 2016 (UTC)
- Moin Arnd, 'insource:/[Ss]ource *\= *(\{\{)?my photo/' gives 4172 hits in File ns. Maybe I remember wrong but I think the AWB snippets did contain something usable, I'll have a look. --Achim (talk) 16:02, 11 March 2016 (UTC)
- Achim, it is not about how to do the replacement (i can use my own Bot), but does it make sense to do this replacement? --Arnd (talk) 16:14, 12 March 2016 (UTC)
- Ach so, sorry. --Achim (talk) 18:50, 13 March 2016 (UTC)
- Yes, it makes sense; "my photo" is English and probably doesn't make sense in any other language (and if it does, it may randomly mean something completely different), while {{Own}} is localised to fit the language you've chosen as your default. If you've set your preferences for German, it will automatically say Eigenes Werk instead of Own work, and if you then change your preferences to Russian, the page will change (without any edits by anyone, even bots, being necessary) immediately to read собственная работа. Nyttend (talk) 03:53, 15 March 2016 (UTC)
- Ach so, sorry. --Achim (talk) 18:50, 13 March 2016 (UTC)
- Achim, it is not about how to do the replacement (i can use my own Bot), but does it make sense to do this replacement? --Arnd (talk) 16:14, 12 March 2016 (UTC)
- Doing… Find:
\|(\s*)[Ss]ource(\s*)=(\s*)(Mes photographies de France|my photo collection|My photo camera(\.|)|My photo. This is the first publication of this image|my photoshop|my photo album|my photograph|my photo|my photo)(\.|s|)\n
. Replace:|$1Source$2=$3Own work\n
I didn't want to overwrite other information and wanted to run this automated, so I made it very specific. Feel free to do other variations. Riley Huntley (talk) 19:20, 1 April 2016 (UTC) - Done Down to 300 hits, likely because I am running an old database dump. Will run a list from wiki search for the rest. Riley Huntley (talk) 20:20, 1 April 2016 (UTC)
- This section was archived on a request by: Riley Huntley (talk) 20:20, 1 April 2016 (UTC)
Around 1700 dupes in Category:Farm-Fresh web icons
I know someone had a duplicate finding bot (but not know who anymore). User:CFCF had mass-uploaded around 3900 icons (a few days ago), but not preselected the dupes ("Cause I'm not perfect…", it seems he is not really interested on solving, but no reproach, it is normal on Commons). The subordinate deletion request is/was here. It seems he used an outdated version of COM:Commonist (I asked him twice but he not answered). (He used first the name "FatCow*" and than "Farm-Fresh*" for the icons, if this is of relevance.) Thanks in advance, and for all people which had begun to tag the files already manually. PS: It is very important that not the old files get deleted.Talk:Farm-Fresh web icons ↔ User: Perhelion 01:27, 16 March 2016 (UTC)
- I have checked all files locally (with the old packed) and all old files are fully included in the new one (last from 2014). So there are theoretically 1700 duplicates but the most are already blocked on upload, s. error log User:CFCF/gallery/Defunct (warning: huge image amount). I have the name of all renamed corresponding files here (73 - 42 already blocked or removed files ): 1. column are the new; 2 column are the old.
So the next step is to unique the name of the files from ^FatCow_ to ^Farm-Fresh_ All resulting name dupes are also fully dupes and can be deleted. After comparing the error log this should around 700 files. PS: but the exact calculated result is now 717!? ↔ User: Perhelion 02:16, 18 March 2016 (UTC)
- I've now set an ordinary DR Commons:Deletion requests/Category:Farm-Fresh web icons ↔ User: Perhelion 14:43, 23 March 2016 (UTC)
- @Perhelion: How can a bot assist for this now? I take it only an admin bot would help. Riley Huntley (talk) 17:48, 24 March 2016 (UTC)
- Hello Riley Huntley, thanks for attention. I thought here are admin-bots, I also thought there is an admin-mass-delete functionality. So we simply should ask here? ↔ User: Perhelion 21:01, 24 March 2016 (UTC)
- @Perhelion: Probably easiest just to request an admin run mw:Manual:Pywikibot/delete.py. The only two admin bots I know of are User:CommonsMaintenanceBot and User:KrinkleBot. Riley Huntley (talk) 01:19, 25 March 2016 (UTC)
- Thanks, I understand that would be a big risk if this would be a common admin tool. I thought too that Rillkes COM:VFC is capable of it (or a GUI part of the bot, with secret options, but this all are only imaginations). ↔ User: Perhelion 04:26, 25 March 2016 (UTC)
- @Perhelion: Probably easiest just to request an admin run mw:Manual:Pywikibot/delete.py. The only two admin bots I know of are User:CommonsMaintenanceBot and User:KrinkleBot. Riley Huntley (talk) 01:19, 25 March 2016 (UTC)
- Hello Riley Huntley, thanks for attention. I thought here are admin-bots, I also thought there is an admin-mass-delete functionality. So we simply should ask here? ↔ User: Perhelion 21:01, 24 March 2016 (UTC)
- @Perhelion: How can a bot assist for this now? I take it only an admin bot would help. Riley Huntley (talk) 17:48, 24 March 2016 (UTC)
- This section was archived on a request by: Credit to Steinsplitter. Riley Huntley (talk) 17:23, 1 April 2016 (UTC)
- Btw. I've spitted the request to another. #Dupes in Category:Farm-Fresh web icons
Dupes in Category:Farm-Fresh web icons (mass-move)
As second part of #Around 1700 dupes in Category:Farm-Fresh web icons (deleted around 750 files) there are some more duplicates, because the first list was only checked locally (from me, with the set compared from 2010, so this was only a theoretically minimum) but in fact there are many files uploaded (until the last set 2014) before the mass-upload (from User:CFCF). Short compare only one page (sort step, shows some dupes):[3][4] An proper preliminary way would be an mass-rename to ^Farm-Fresh_… On the other side this could be some play for an real dupe-bot now. I guess there are also around 100-200 icons wanting (from the last set, which I would upload, if calculated) ↔ User: Perhelion 05:00, 2 April 2016 (UTC)
- Slowly Doing…. Riley Huntley (talk) 05:35, 2 April 2016 (UTC)
- 745 files have been moved. I could only find about 50~ more dupes. Riley Huntley (talk) 08:07, 2 April 2016 (UTC)
- Thank you much and sorry, but the sub-cats are left, to be in full⁉ (seems no dupes) PS: you seems added a speedy-tag at the same time⁉ ↔ User: Perhelion 13:34, 2 April 2016 (UTC)
- Jeesh, you just keep throwing work at me! ;) I think I have gotten all dupes, renamed all files (previous + 394 more) from FatCow to Farm-Fresh, replaced FatCow to Farm-Fresh in pages the files were linked at and but wait, there's more: requested speedy deletion of the unneeded/unused redirects. Please mark this section as resolved if you agree. Riley Huntley (talk) 23:46, 2 April 2016 (UTC)
- Thank you very much! ↔ User: Perhelion 05:00, 3 April 2016 (UTC)
- Jeesh, you just keep throwing work at me! ;) I think I have gotten all dupes, renamed all files (previous + 394 more) from FatCow to Farm-Fresh, replaced FatCow to Farm-Fresh in pages the files were linked at and but wait, there's more: requested speedy deletion of the unneeded/unused redirects. Please mark this section as resolved if you agree. Riley Huntley (talk) 23:46, 2 April 2016 (UTC)
- Thank you much and sorry, but the sub-cats are left, to be in full⁉ (seems no dupes) PS: you seems added a speedy-tag at the same time⁉ ↔ User: Perhelion 13:34, 2 April 2016 (UTC)
- 745 files have been moved. I could only find about 50~ more dupes. Riley Huntley (talk) 08:07, 2 April 2016 (UTC)
- This section was archived on a request by: ↔ User: Perhelion 05:00, 3 April 2016 (UTC)
Batch task needed
Instead of requesting this for every file separately I thought I ask here: Please, could one of you (let a bot) fix the typo in these 20 files: Search results for "File:Glass Mountain in norhtern California"? For those who do not see it: “norhtern” → “northern”. Also, in the file descriptions there is a very similar typo (with one exception, because I already fixed it there): “Norhern” → “Northern”. — Speravir_Talk – 18:06, 13 April 2016 (UTC)
- Moved from Commons:Administrators' noticeboard Riley Huntley (talk) 18:28, 13 April 2016 (UTC)
- Done 29 replacements done. Thank you Speravir! Riley Huntley (talk) 18:32, 13 April 2016 (UTC)
- File moves also Done. Josve05a (talk) 18:34, 13 April 2016 (UTC)
- Thank you both, Riley Huntley and Josve05a. And I want to thank you, Rick, for moving this request to the right place (must remember this). — Speravir_Talk – 18:44, 13 April 2016 (UTC)
- Done 29 replacements done. Thank you Speravir! Riley Huntley (talk) 18:32, 13 April 2016 (UTC)
- This section was archived on a request by: Riley Huntley (talk) 18:32, 13 April 2016 (UTC)
Photographs-taken-on template, again
{{Taken on}} adds the words "Taken on" to the date, and it transcludes a category for the date, so {{Taken on|2014-01-01}} transcludes Category:Photographs taken on 2014-01-01. At my request, a bot previously added this template to several thousand images I'd uploaded, but other users' uploads were ignored because false positives were likely, as not everyone uses the formatting that I do. However, what about adding this template to pages that already have the category? Imagine a bot doing this, for example; as long as the category is already given in the file's text, and as long as its date is the same as the date in the |date= parameter of {{Information}}, I don't see how we'd have a significant risk of false positives. Nyttend (talk) 05:46, 10 March 2016 (UTC)
- Sounds like an easy task, RileyBot can do it. Is there consensus for {{Taken on}}? Riley Huntley (talk) 07:17, 10 March 2016 (UTC)
- Nobody opposed the idea at Commons:Bots/Requests/BMacZeroBot, which approved a task in which the bot would use this template in every edit. Nyttend (talk) 12:57, 10 March 2016 (UTC)
- PS, please perform this task only if the YYYY-MM-DD date comprises the first ten characters in the
|Date=
field. See File:Oyster Bay Station Turntable-2-.JPG for an example of a page that the bot shouldn't edit, since the date has markup. Nyttend (talk) 14:05, 10 March 2016 (UTC)
- Sorry that I haven't had time to do this. Here is my somewhat messy C# code for doing the original task, in case it helps. It probably contains some assumptions about how the wikisource is formatted. Some things it does:
- Check the stated data against the EXIF and any existing 'Taken on' category (and add an error category if they don't match)
- Add an error category if the date is not machine-readable (this should probably not be done for a wider run)
- Remove the category 'Category:Photographs taken on ...' if present because it's added by the template
- Use {{Taken in}} instead of {{Taken on}} if there is no day.
- It also has a little logic for parsing dates that aren't actually in ISO format.
- BMacZero (talk) 17:26, 10 March 2016 (UTC)
- @Nyttend: I'll admit I don't have the skills to check/verify the EXIF data against the existing 'Taken on' category or date in the {{Information}} template. I can complete this task otherwise though. Riley Huntley (talk) 23:15, 3 April 2016 (UTC)
Categories from a list
This might be an AWB task, or it might require a bot; I don't know.
Category:Branta canadensis contains well more than fifteen hundred images, including those in subcategories. Since it has the beginnings of a geography-based category tree, I figured I'd categorise all of them by country, but there's such a well-developed category tree already that most images are in several categories, and this would require a lot of extra work, so I've just generated a flat image list. Nice, but now I can't use Cat-a-lot. I was imagining a bot or AWB user doing a mass category-copy project:
- Country A — File:Goose 1.jpg
- Country B — File:Goose 2.jpg
- Country C — File:Goose 3.jpg
- Country D — File:Goose 4.jpg
- Country E — File:Goose 5.jpg
Basically, Goose 1 would be added to Category:Branta canadensis in Country A, Goose 2 to Category:Branta canadensis in Country B, etc. Would it be easy to write a bot or AWB script to be able to recognise such a layout, and if not, would it be possible to format such a list in an auto-recognisable manner? I'm going to be creating this list (if this request won't work, it will be a guide for manual copying) and will check back when I've identified countries (or "Branta canadensis in unidentified countries") for all of them, unless someone pings me first. Nyttend (talk) 12:51, 1 May 2016 (UTC)
- Nyttend Seems like it wouldn't be too hard, let me give it a try tonight. To get an understanding, I manually categorized 25. Admittedly, even if I ran this manually assisted, it'd be quite easy. :) Riley Huntley (talk) 16:01, 1 May 2016 (UTC)
- This section was archived on a request by: Task completed in full, more details at User talk:Riley Huntley. Riley Huntley (talk) 03:45, 3 May 2016 (UTC)
Replace hardcoding with template
Category:Buildings in Ohio has a large number of localised subcategories with hardcoded category declarations that could be replaced with a set of templates I've recently created. There are eighty-eight counties, each of which can have up to twelve of these subcategories, as follows:
Buildings in X Churches in X Houses in X Wooden buildings in X Brick buildings in X Stone buildings in X Wooden houses in X Brick houses in X Stone houses in X Wooden churches in X Brick churches in X Stone churches in X
Many counties don't have all of these categories, since one was created only if the contents existed; we have no stone-house images from Noble County, for example, so Category:Stone houses in Noble County, Ohio is a redlink. The templates are as follows:
Extended content
|
---|
|
Could a bot check each category meeting this pattern and replace its current contents with the template? I'm imagining it going to Category:Buildings in Ohio by county, opening Category:Buildings in Adams County, Ohio, opening each of its subcategories that meet the above pattern, replacing each one's code as noted above, and then going through the Allen County buildings, the Ashland County buildings, and all the way alphabetically through the Wyandot County buildings. The default contents of each category are the same as what's transcluded by the template, but there's always a small chance that a category might deviate; if you could have the bot log the exceptions for manual review, that would be quite helpful.
Thanks! Nyttend (talk) 13:39, 14 April 2016 (UTC)
- Hmm, this will move direct categories to categories via templates? The latter makes it more difficult/impossible to use for example cat-a-lot. What are the benefits of having templates instead of categories? Basvb (talk) 14:06, 14 April 2016 (UTC)
- I think my meaning was unclear. I'm not asking that you edit any files whatsoever, but that you edit the category itself, e.g. this edit I just made to Category:Wooden houses in Huron County, Ohio. There are few situations in which one category needs to be different from the rest, and those categories can always go without the template. Unless the whole system is reworked (in which case, all relevant categories will need to be edited, so a template will speed things considerably), Wooden houses in Huron County will always need to be a subcategory of Wooden buildings in Huron County, Houses in Huron County, and Wooden houses in Ohio (no reason to remove any of them), and situations where we need an additional category will be rare. Nyttend (talk) 14:27, 14 April 2016 (UTC)
- My excuses, then my comment is irrelevant as I indeed misunderstood. For categories this is indeed a preferable system. Basvb (talk) 14:56, 14 April 2016 (UTC)
- Oh lordy; Sounds like fun. This should be a nice and easy AWB task. I'll run this task in about two hours once I'm free if nobody else does. :) Riley Huntley (talk) 16:24, 14 April 2016 (UTC)
- My excuses, then my comment is irrelevant as I indeed misunderstood. For categories this is indeed a preferable system. Basvb (talk) 14:56, 14 April 2016 (UTC)
- I think my meaning was unclear. I'm not asking that you edit any files whatsoever, but that you edit the category itself, e.g. this edit I just made to Category:Wooden houses in Huron County, Ohio. There are few situations in which one category needs to be different from the rest, and those categories can always go without the template. Unless the whole system is reworked (in which case, all relevant categories will need to be edited, so a template will speed things considerably), Wooden houses in Huron County will always need to be a subcategory of Wooden buildings in Huron County, Houses in Huron County, and Wooden houses in Ohio (no reason to remove any of them), and situations where we need an additional category will be rare. Nyttend (talk) 14:27, 14 April 2016 (UTC)
Edits: 953 Skipped: 5 Task mode: Supervised semi-automatic. Sanity checks: First and last subcategory.
Buildings in X | Done Churches in X | Done Houses in X | Done Wooden buildings in X | Done Brick buildings in X | Done Stone buildings in X | Done Wooden houses in X | Done Brick houses in X | Done Stone houses in X | Done Wooden churches in X | Done Brick churches in X | Done Stone churches in X | Done
This was more labor intensive than I thought as not all of the categories shared the same format, having it now standardized is much nicer. If you're satisfied with this result, please mark as complete using {{Section resolved|1=~~~~}}. Thanks Nyttend! Riley Huntley (talk) 18:44, 14 April 2016 (UTC)
- P.S. This task was run using categories like Category:Brick buildings in Ohio by county, Category:Stone churches in Ohio and so forth. If the subcategories were not categorized, I would have missed them. Judging by the results, I doubt this is the case. Riley Huntley (talk) 18:49, 14 April 2016 (UTC)
- Hmm. It looks like we lost the ability to use sortkeys when the templates were applied. Is there a way to regain that functionality? - Eureka Lott 20:55, 16 April 2016 (UTC)
- {{DEFAULTSORT}} is an option, either that or the template needs to be modified. Riley Huntley (talk) 00:06, 17 April 2016 (UTC)
- Thanks. Using DEFAULTSORT probably isn't a good solution here, so that leaves enhancing the templates. Got any pointers? - Eureka Lott 03:35, 18 April 2016 (UTC)
- Eureka Lott, I don't see why you'd want to do that. The coding for each template is supposed to change the sort in some instances; for example, {{USCountyHouseMat|Brick|Cuyahoga|Ohio}}, applied to "Brick houses in Cuyahoga County, Ohio", sorts "Brick buildings in Cuyahoga County, Ohio" as "Houses" and "Brick houses in Ohio" as "Cuyahoga". If it's not doing that, or if you disagree with the current setup, please let me know. If it's doing as designed, and you agree that it should normally do this but have found an exception, you can always revert the bot and transclude the categories manually. Nyttend (talk) 04:15, 18 April 2016 (UTC)
- For most counties, the new templates work very well. However, the categories for the larger urban counties, like Hamilton County, get more complicated. There can be up to four types of categories within them: by city categories, by material categories, by type categories, and individual building categories. Using sortkeys to separate the different category types can help make the categories more understandable to visitors. - Eureka Lott 17:15, 18 April 2016 (UTC)
- Eureka Lott, I don't see why you'd want to do that. The coding for each template is supposed to change the sort in some instances; for example, {{USCountyHouseMat|Brick|Cuyahoga|Ohio}}, applied to "Brick houses in Cuyahoga County, Ohio", sorts "Brick buildings in Cuyahoga County, Ohio" as "Houses" and "Brick houses in Ohio" as "Cuyahoga". If it's not doing that, or if you disagree with the current setup, please let me know. If it's doing as designed, and you agree that it should normally do this but have found an exception, you can always revert the bot and transclude the categories manually. Nyttend (talk) 04:15, 18 April 2016 (UTC)
- Thanks. Using DEFAULTSORT probably isn't a good solution here, so that leaves enhancing the templates. Got any pointers? - Eureka Lott 03:35, 18 April 2016 (UTC)
- {{DEFAULTSORT}} is an option, either that or the template needs to be modified. Riley Huntley (talk) 00:06, 17 April 2016 (UTC)
- Hmm. It looks like we lost the ability to use sortkeys when the templates were applied. Is there a way to regain that functionality? - Eureka Lott 20:55, 16 April 2016 (UTC)
Easy: scrape Unsplash photo metadata
Unsplash photos usually have metadata in /info pages, eg. https://unsplash.com/photos/3DuDyX5Fpuk/info. However, the images themselves have no metadata embedded in them. It would be useful to get a bot to fetch the metadata in /info pages and categorize Images from Unsplash accordingly. ~★ pikolas [[mia diskuto]] 19:41, 15 April 2016 (UTC)
- @Pikolas: Example diffs please. :) Riley Huntley (talk) 00:22, 24 April 2016 (UTC)
- @Riley Huntley: Hey Riley, thanks for replying. I'm not sure what you meant to say though. I was thinking of having the bot adding categories such as "Photos taken with camera XXXX". Maybe it would be possible to alter the actual metadata of the image, but I'm not sure if this is currently possible. ~★ pikolas [[mia diskuto]] 04:11, 24 April 2016 (UTC)
- @Pikolas: Altering the actual EXIF data requires reuploading the images, this is not an "easy" task by any means and unsplash.com painfully displays it's information. Seems like a lot of work for less than 500 images, but I'll leave the judging to a bot operator whos wanting to do this task. Riley Huntley (talk) 00:58, 26 April 2016 (UTC)
- @Riley Huntley: Hey Riley, thanks for replying. I'm not sure what you meant to say though. I was thinking of having the bot adding categories such as "Photos taken with camera XXXX". Maybe it would be possible to alter the actual metadata of the image, but I'm not sure if this is currently possible. ~★ pikolas [[mia diskuto]] 04:11, 24 April 2016 (UTC)
Automatic upload of USGS Earthquake shakemaps
- See also: Category:ShakeMaps
Not unimportant: there should be a bot polling USGS-Earthquake , then in case of Earthquake with Magnitude > 7 it should instantly upload the shakemap (site,file) . --Itu (talk) 20:24, 29 April 2016 (UTC)
- Isn't this something better suited for Wikidata? Or is it more than a single point with a radius gradient? Dispenser (talk) 21:20, 29 April 2016 (UTC)
- It's definitely more complicated than a simple gradient. -- King of ♥ ♦ ♣ ♠ 23:12, 29 April 2016 (UTC)
- ?? - It's not about having raw data or deriving data from images. It's about instant automatic transfer of images generated by USGS earthquake authority to commons whenever a relevant earthquake occurs. --Itu (talk) 01:39, 30 April 2016 (UTC)
If anyone wants to help, I'll be running my bot through Commons:Template i18n/bot replacements later today. Some of these are being cleaned up on-going, many of them aren't. I've just noticed the following as well that I'll add to the list when I get a chance:
|other_versions=Nope(.|)
I appreciate any help. :) Riley Huntley (talk) 17:47, 2 May 2016 (UTC)
Music copyright detection bot
Wikipedia Zero's made us attractive as a piracy host (T129845). To combat music piracy I suggest setting up an audio fingerprinting system like Echoprint or AcoustID. These are open sourced (unlike Shazam or Gracenote) and supposedly easy to get running. Tracking this as T132650. Dispenser (talk) 23:19, 14 April 2016 (UTC)
- This is a great idea. Sadly, we would be using AcoustID under "commercial use".. while open source, it would cost wikimedia money to use it legally. [5] . For echoprint, "If you download our data and then add to it, you are required to contribute data back to us." - This seems like not a big issue, as common files can be used freely (usually with Attribution). Public domain songs would be no issue to get to them. Cheers! CoolCanuck eh? 20:16, 9 May 2016 (UTC)
- User:CoolCanuck, would you mind re-posting that to phabricator to keep the discussion centralized? Dispenser (talk) 14:02, 16 May 2016 (UTC)
Invalid EXIF dates
Regrettably, UploadWizard completes the date field of {{Information}} template with untrustworthy dates without distinguishing their source and meaning by corresponding templates. This situation requieres a lot of work on detection of suspected, invalid and confusing dates.
Some of candidates for {{Invalid EXIF date}} template are pages with automatically filled dates with time 00:00, especially in combination with date of any first day of the month (see an example). Some systematic seeking of suspected dates should be designed. --ŠJů (talk) 22:26, 14 May 2016 (UTC)
- They can be pulled off the database. Before writing a bot, you could use Quarry to test out some SQL that parses the metadata using the img_metadata field of the image table. E.g. 8020. --Fæ (talk) 06:47, 20 May 2016 (UTC)
Add the watermark removal notice on files
Hello, please add the {{Watermark}} to these files. Thanks. Dianakc (talk) 22:33, 3 June 2016 (UTC)
Replace
Please replace "
" with "Own work" in these files.Thank you --ديفيد عادل وهبة خليل 2 (talk) 15:03, 28 June 2016 (UTC)
- Done VFC is awesome --Zhuyifei1999 (talk) 17:04, 28 June 2016 (UTC)
- This section was archived on a request by: ~riley (talk) 19:10, 12 July 2016 (UTC)
Need a bot to add "Wikidata" parameter to {{Authority control}} templates
We have 40k categories in Category:Pages using authority control without Wikidata many with interwiki links to Wikipedia articles. We need a simple bot that would follow one of the interwiki links to wikipedia article, grab wikidata q-code and add it to {{Authority control}} template's "Wikidata" parameter. For example Category:Albert Aalbers links to en:Albert Aalbers which links to d:Q3417665, so we need to add "|Wikidata=Q3417665" to the {{Authority control}} on Category:Albert Aalbers page. This task would be a great help with migration of Authority control identifiers mentioned here. --Jarekt (talk) 13:46, 15 June 2016 (UTC)
- Hmm. My bot adds the parameter to {{Creator}} templates. I guess I'll try this next week when I have more time (after Wednesday probably) --Zhuyifei1999 (talk) 10:23, 19 June 2016 (UTC)
- → Commons:Bots/Requests/YiFeiBot_(26) --Zhuyifei1999 (talk) 09:44, 22 June 2016 (UTC)
- That would be great. We are close to being done with resolving all mismatches and missing parameter cases in Category:Pages using authority control with parameters. Very soon we will have either all {{Authority control}} templates with Wikidata or with identifiers but not both. --Jarekt (talk) 12:33, 22 June 2016 (UTC)
Pages that link to "Commons:Deletion requests/Files on User:Rodrigolopes/teste"
Please, I need a bot to remove the links to the page above. Basically is replace {{Autotranslate|1=|2=Files on User:Rodrigolopes/teste|3=plural|base=Idw}}
for {{Autotranslate|1=|2=Files in Category:Images from Wiki Loves Earth 2016 in India|3=plural|base=Idw}}
. Thanks. Rodrigolopes (talk) 23:47, 1 August 2016 (UTC)
- Done sısɐuuǝɔıʌ∀ (diskuto) 20:48, 4 August 2016 (UTC)
- This section was archived on a request by: sısɐuuǝɔıʌ∀ (diskuto) 20:48, 4 August 2016 (UTC)
Geo referencing
To whom it may concern: Several files with EXIF-based geo data have been uploaded by myself in a time span of one month but the location was not formatted (example). I guess the bot is in beauty sleep mode? Could his master wake him up please? --Mattes (talk) 17:31, 12 July 2016 (UTC)
Need a bot to add "Wikidata" parameter to templates in Category:Multilingual tags: Locations by country
Category:Multilingual tags: Locations by country has ~1300 templates like {{Paris}} which just translate work "Paris" and provide link to wikipedia article in users language. That functionality could be replaced with a call to {{Label}} template which takes wikidata q-code and pulls the same information from wikidata. It is time to stop maintaining those giant templates and replace them with calls to label. A bot to do the job would follow one of the links to wikipedia article, capture the wikicode and do replacement like this one. --Jarekt (talk) 02:41, 15 July 2016 (UTC)
- @Jarekt: is the replacement safe (i.e. wikidata version == commons version or commons version doesn't exist; not otherwise)? --Zhuyifei1999 (talk) 06:13, 18 July 2016 (UTC)
- All those templates were being created based on interwiki links in the wikipedia articles, and since wikidata started we were not able to easily create or even update them. Commons version should correspond to what wikidata was several years back. --Jarekt (talk) 11:57, 18 July 2016 (UTC)
- Ok Doing… --Zhuyifei1999 (talk) 12:50, 18 July 2016 (UTC)
- →Commons:Bots/Requests/YiFeiBot_(27) --Zhuyifei1999 (talk) 13:46, 18 July 2016 (UTC)
- @Jarekt: it should be linked to {{City}} one way or the other. I think it would make more sense to have {{Paris}} -> {{city|Paris}} rather than {{City|Paris}} -> {{Paris}}, notably because that way we can easily add new parameters, like |lang= or |sitelink=. --Zolo (talk) 12:25, 23 July 2016 (UTC)
- Zolo I was thinking that once Zhuyifei1999's bot is done, I will harvest all the place names, and matching q-codes and rewrite {{City}} to directly pull the data from wikidata, bypassing templates like {{Paris}}. {{City}} will become a template that takes a q-code or an alias like "paris", with the understanding that alias does not do disambiguations and q-code is the most specific. It might be also a good idea to rewrite {{City}} in LUA, as it is called by infoboxes that will be rewriten in lua. --Jarekt (talk) 13:04, 23 July 2016 (UTC)
- Oh I'm pretty sure my bot is done. Last run exited without an unhandled error. --Zhuyifei1999 (talk) 14:04, 23 July 2016 (UTC)
- Zhuyifei1999, Thank you for this run. I missed that the bot was even approved. --Jarekt (talk) 16:31, 24 July 2016 (UTC)
- Zhuyifei1999, any chance you can rerun your bot for templates in User:Jarekt/a. Most of them seem to follow the regular pattern and should be easy to get. Rest I will do by hand. --Jarekt (talk) 15:44, 25 July 2016 (UTC)
- @Jarekt: Oh sorry I think I missed that message. Is that still needed? --Zhuyifei1999 (talk) 10:21, 8 August 2016 (UTC)
- @Zhuyifei1999: The templates at User:Jarekt/a still need conversion. I converted by hand all the "nolink" templates. --Jarekt (talk) 13:58, 8 August 2016 (UTC)
- Ok I'll try to get it done within the next two days. (If I somehow forgot feel free to ping me) --Zhuyifei1999 (talk) 15:09, 8 August 2016 (UTC)
- @Jarekt: Done A few redirects skipped. The issue seems to be that links such as
[[:w:lang:title|title]]
aren't recognized. Make a regex replacement\[\[:?w(?:ikipedia)?:
->[[:
for the detection, and also applied to the creator task (caught Creator:Georg_Günther_Kräill & Creator:Paweł_Sapieha). A few templates seems to have{{{lang}}}
and are also skipped. --Zhuyifei1999 (talk) 08:55, 10 August 2016 (UTC)- Thank you. I will work on the rest and update {{City}} --Jarekt (talk) 13:55, 11 August 2016 (UTC)
- @Jarekt: Done A few redirects skipped. The issue seems to be that links such as
- Ok I'll try to get it done within the next two days. (If I somehow forgot feel free to ping me) --Zhuyifei1999 (talk) 15:09, 8 August 2016 (UTC)
- @Zhuyifei1999: The templates at User:Jarekt/a still need conversion. I converted by hand all the "nolink" templates. --Jarekt (talk) 13:58, 8 August 2016 (UTC)
- @Jarekt: Oh sorry I think I missed that message. Is that still needed? --Zhuyifei1999 (talk) 10:21, 8 August 2016 (UTC)
- Zhuyifei1999, any chance you can rerun your bot for templates in User:Jarekt/a. Most of them seem to follow the regular pattern and should be easy to get. Rest I will do by hand. --Jarekt (talk) 15:44, 25 July 2016 (UTC)
- Zhuyifei1999, Thank you for this run. I missed that the bot was even approved. --Jarekt (talk) 16:31, 24 July 2016 (UTC)
- Oh I'm pretty sure my bot is done. Last run exited without an unhandled error. --Zhuyifei1999 (talk) 14:04, 23 July 2016 (UTC)
- Zolo I was thinking that once Zhuyifei1999's bot is done, I will harvest all the place names, and matching q-codes and rewrite {{City}} to directly pull the data from wikidata, bypassing templates like {{Paris}}. {{City}} will become a template that takes a q-code or an alias like "paris", with the understanding that alias does not do disambiguations and q-code is the most specific. It might be also a good idea to rewrite {{City}} in LUA, as it is called by infoboxes that will be rewriten in lua. --Jarekt (talk) 13:04, 23 July 2016 (UTC)
- @Jarekt: it should be linked to {{City}} one way or the other. I think it would make more sense to have {{Paris}} -> {{city|Paris}} rather than {{City|Paris}} -> {{Paris}}, notably because that way we can easily add new parameters, like |lang= or |sitelink=. --Zolo (talk) 12:25, 23 July 2016 (UTC)
- All those templates were being created based on interwiki links in the wikipedia articles, and since wikidata started we were not able to easily create or even update them. Commons version should correspond to what wikidata was several years back. --Jarekt (talk) 11:57, 18 July 2016 (UTC)
- This section was archived on a request by: Jarekt (talk) 12:36, 12 August 2016 (UTC)
St David Awards images
The whole of the 'St David Awards' website is OGL, and I would like all the photos on the site to be uploaded to Commons: even the small ones. Full text is included with each photo. I've uploaded one. Thanks. Llywelyn2000 (talk) 18:10, 26 June 2016 (UTC)
- @Llywelyn2000: Perhaps I'm wrong but this seems like the place for Commons:Batch uploading. ~riley (talk) 10:57, 18 July 2016 (UTC)
For images that appear in both categories add a third category
Would some please be able to do the following: for images that appear in both the following categories (including all subcategories) please could you add Category:Images from Wiki Loves Earth Biosphere Reserves 2016
Thanks very much indeed
--John Cummings (talk) 12:11, 25 July 2016 (UTC)
- Category:Images from Wiki Loves Earth 2016 in Bulgaria
and any of the following:
- Category:Pirin National Park
- Category:Strandzha Nature Park
- Category:Rila National Park
- Category:Images from Wiki Loves Earth 2016 in France
and any of the following:
- Category:Cévennes_National_Park
- Category:Parc naturel régional du Luberon
- Category:Images from Wiki Loves Earth 2016 in Germany
and any of the following:
- Category:Nationalpark Berchtesgaden
- Category:Nationalpark Schleswig-Holsteinisches Wattenmeer
- Category:Nationalpark Niedersächsisches Wattenmeer
- Category:Parc naturel régional des Vosges du Nord
- Category:Naturpark Pfälzerwald
- Category:Images from Wiki Loves Earth 2016 in Greece
and any of the following:
- Category:Samaria Gorge
- Category:Mount Olympus
- Category:Images from Wiki Loves Earth 2016 in India
and any of the following:
- Category:Sundarbans National Park
- Category:Nanda Devi National Park
- Category:Valley of Flowers National Park
- Category:Satpura_National_Park
- Category:Pachmarhi
- Category:Images from Wiki Loves Earth 2016 in Spain
and any of the following:
- Category:Parque Nacional de Ordesa y Monte Perdido
- Category:Montseny
- Category:Doñana National Park
- Category:Parque Natural de Cabo de Gata-Níjar
- Category:Images from Wiki Loves Earth 2016 in Ukraine
and any of the following:
- Category:Carpathian_Biosphere_Reserve
- Category:Biosphere_reserves_in_Ukraine
I can do it. -- Magioladitis (talk) 12:43, 25 July 2016 (UTC)
- Bulgaria: 457.
- France: 54
- Germany: 123
- Greece: 122
- India: 119
- Spain: 159
- Ukraine: 182
-- Magioladitis (talk) 13:07, 25 July 2016 (UTC)
- This section was archived on a request by: BMacZero (talk) 01:20, 23 August 2016 (UTC)
Removing stray subst:
insource:/\{\{subst\:/ finds many remnants of incorrectly substituted templates. The non-false-positives, i.e. outside of nowiki tags, might be removed by a bot (example). --Leyo 13:21, 5 August 2016 (UTC)
Error-checking for templates
I'm one of many people who write file descriptions with {{W}} links to integrate text with the English Wikipedia. One unfortunate problem with this is that occasionally I forget to type w| in the description, so we end up with links to nonexistent templates; see [6], in which I observed that the file transcluded {{Knox County, Ohio|Knox County}} instead of providing a link to {{w|Knox County, Ohio|Knox County}}, i.e. it displayed as Template:Knox County, Ohio instead of providing a link to Knox County.
Would it be possible for someone to have a bot go through a big database dump looking for possible errors of this sort? I'm envisioning the bot examining each file with the following algorithm:
- Does the file use {{Information}}? If not, go to the next file
- If the file uses {{Information}}, does it have text in the |Description= parameter? If not, go to the next file
- If the file has text in the |Description= parameter, is the {{W}} template used in that section? If not, go to the next file
- If {{W}} is used there, check all uses of other templates in the same section. Do all of those templates exist? If so, go to the next file
- If the bot finds a page using a nonexistent template in the |Description= parameter, check to see if that template previously existed. Did it previously exist, i.e. has it been deleted and the page just hasn't been updated? If so, go to the next file
If the nonexistent template has never existed, this is clearly a mistake of some sort; perhaps it's a failure to use {{W}}, or perhaps someone made a typo in another way. Either the file needs to be tagged (probably a maintenance category), or it needs to be logged in the bot's userspace. Nyttend (talk) 12:43, 22 August 2016 (UTC)
Moving infos from category to description
We uploaded about 17,000 images from Paolo Monti Archive. We wanted to reuse as much infos as possible from the original catalogue, so we have a lot of categories to fix. We need in particular to tranfer a string from a category to the description. Most of images from Monti's Archive have an unexisting, long category. That category has those characteristics:
- not existing (red)
- shared only by an image (or few)
- formed by words separated by periods (".") (not by "-" as the other original categories).
We need to trasfer that string (deleting the category) to the beginning of the description field.
Example: File:Paolo Monti - Serie fotografica (Anzola d'Ossola, 1966) - BEIC 6329139.jpg has a category called "Anzola d'Ossola. Riale. Alberi." (note the commas). The text "Anzola d'Ossola. Riale. Alberi." must be transferred at the very beginning of the description (deleting that category and leaving intact the other categories and the previous description).
A query made by Federico Leva shows we have about 7,000 categories of more than 75 chars that are used in less than 3 images (and 1,000 used in 2). I suggest to consider every red category with 20 chars or more and with commas between words. Thank you for your help. --Marco Chemello (BEIC) (talk) 20:59, 23 May 2016 (UTC)
- In other words, what's needed here is simply a replace.py run where each string in the list is removed from categories and moved immediately after "description =". --Federico Leva (BEIC) (talk) 13:20, 25 May 2016 (UTC)
- This is still needed. Let us know if we can make the job easier in some way. Federico Leva (BEIC) (talk) 09:07, 29 July 2016 (UTC)
- @Marco Chemello (BEIC) and Federico Leva (BEIC): It's not that straightforward, since replace.py really isn't made for moving text from one place to another. I put together a list of the commands that would need to be run at toollabs:ahechtbot/Paolo_Monti.txt (6+ megabyte file), but I don't really have the time or resources right now to put together a bot approval request or run the bot. --Ahecht (TALK
PAGE) 14:59, 30 July 2016 (UTC)- Should be easy enough since Ahecht did most of the work. I'll file a BRFA for AvicBot to handle this. sısɐuuǝɔıʌ∀ (diskuto) 18:38, 30 July 2016 (UTC)
- Filed at Commons:Bots/Requests/AvicBot 3. sısɐuuǝɔıʌ∀ (diskuto) 18:43, 30 July 2016 (UTC)
- Thank you @Avicennasis: . Unfortunately your bot is not targeting the right categories: the categories that must be moved to description contains periods (".") to separate words (not "-"). Sorry if I wasn't clear enough. Thank you again. --Marco Chemello (BEIC) (talk) 22:31, 31 July 2016 (UTC)
- @Marco Chemello (BEIC): Are you able to edit a file or two manually to provide a diff? sısɐuuǝɔıʌ∀ (diskuto) 04:27, 1 August 2016 (UTC)
- @Avicennasis: Of course! example 1, 2, 3, 4, 5. Thank you again. --Marco Chemello (BEIC) (talk) 12:57, 1 August 2016 (UTC)
- @Marco Chemello (BEIC): Ok, so are we excluding categories with -hyphens? Or is it specifically only categories with periods in the name? here is a dump of the next 100 categories to process. Which is the better option, removing categories with hyphens, or only keeping categories with periods? sısɐuuǝɔıʌ∀ (diskuto) 06:26, 2 August 2016 (UTC)
- @Avicennasis: Yes I think we can exclude categories with -hyphens and include only categories with periods. Seeing the dump, the lines 1 to 4 must be excluded, and all the others are ok to be worked. Better to leave untouched all the categories with hyphens, as they must be converted manually into working Commons categories (we already fixed most of them). --Marco Chemello (BEIC) (talk) 13:16, 2 August 2016 (UTC)
- @Marco Chemello (BEIC): Ok, so are we excluding categories with -hyphens? Or is it specifically only categories with periods in the name? here is a dump of the next 100 categories to process. Which is the better option, removing categories with hyphens, or only keeping categories with periods? sısɐuuǝɔıʌ∀ (diskuto) 06:26, 2 August 2016 (UTC)
- @Avicennasis: Of course! example 1, 2, 3, 4, 5. Thank you again. --Marco Chemello (BEIC) (talk) 12:57, 1 August 2016 (UTC)
- @Marco Chemello (BEIC): Are you able to edit a file or two manually to provide a diff? sısɐuuǝɔıʌ∀ (diskuto) 04:27, 1 August 2016 (UTC)
- Thank you @Avicennasis: . Unfortunately your bot is not targeting the right categories: the categories that must be moved to description contains periods (".") to separate words (not "-"). Sorry if I wasn't clear enough. Thank you again. --Marco Chemello (BEIC) (talk) 22:31, 31 July 2016 (UTC)
Unfortunately I do not have the time needed to finish this task. I am sorry. I have withdrawn my bot request for this task. sısɐuuǝɔıʌ∀ (diskuto) 17:35, 26 August 2016 (UTC)