Commons:Bots/Work requests/Archive 10

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

Another category task

In Category:Aircraft registered in Germany, please sort all subcategories with a "+" like Category:10+01 (aircraft) into Category:Military aircraft registered in Germany. De728631 (talk) 22:42, 19 January 2014 (UTC)

✓ All the ones with titles starting with numbers is done by cat-a-lot.  Waiting for db replica to catch up to find the rest. --Zhuyifei1999 (talk) 03:45, 20 January 2014 (UTC)
✓ Should be done --Zhuyifei1999 (talk) 04:11, 20 January 2014 (UTC)
Thank you! I wasn't aware of the fact that there's this option in the Cat-a-lot preferences. If I had known that before I wouldn't have bothered you. De728631 (talk) 17:15, 20 January 2014 (UTC)

Broken links

Please fix the broken links and replace the '+' with '_'. Examples: https://commons.wikimedia.org/wiki/File:Wing_0011th_Bomb.png#Original_upload_history or https://commons.wikimedia.org/wiki/File:Wing_0007th_Bomb_%28B-29_Era%29.png#Original_upload_history --134.60.124.33 15:05, 22 January 2014 (UTC)

 Doing…. They will be fixed by user:YaCBot. (c.f. diff). Though it may take some years for him to hit those files starting with 'W'. --McZusatz (talk) 16:59, 26 January 2014 (UTC)

File:Coat of Arms of Transcarpathian Oblast.png->Karptska Ukraina-2 COA.svg

Please have a bot replace all use of File:Coat of Arms of Transcarpathian Oblast.png with the superior File:Karptska Ukraina-2 COA.svg--Kintetsubuffalo (talk) 05:32, 2 February 2014 (UTC)

If I'm not wrong, this should go to User talk:CommonsDelinker/commands#Image_replacement_requests. --Zhuyifei1999 (talk) 15:41, 7 February 2014 (UTC)
And CommonsDelinker ignores non-SVG file to SVG replacements. Only way to do this is do it manually. —레비Revi 16:24, 14 February 2014 (UTC)
This section was archived on a request by: 레비Revi 16:25, 14 February 2014 (UTC)

All files whithin this category show paintings that have been created in the period between 1857 and 1883 (see en:Alexander Duncker). Thus, the appropriate date entry would be {{other date|between|1857|1883}}. Currently, most files contain {{other date|–|1857|1883}} which implies that it took from 1857 to 1883 to create each image while probably all images have been created in one year whithin that time period. Could a bot change that? Thanks,--Leit (talk) 15:13, 7 February 2014 (UTC)

I am willing to do this.  Hazard SJ  04:18, 14 February 2014 (UTC)
@Leit: Are these okay so far?  Hazard SJ  04:03, 18 February 2014 (UTC)
Yes, absolutely, thank you!--Leit (talk) 12:32, 18 February 2014 (UTC)
@Leit: ✓ Done (edits), you're welcome.  Hazard SJ  01:06, 23 February 2014 (UTC)
This section was archived on a request by:  Hazard SJ  18:12, 1 March 2014 (UTC)

Rotating books

Has anyone created a tool/bot to rotate selected pages in a long pdf document? This has arisen in my World Digital Library batch upload project and as I am uploading quite a few illustrated books, it would be nice if other contributors could easily mark-up pages within a book that would benefit from rotations as I doubt I would get around to it by myself. -- (talk) 09:55, 3 March 2014 (UTC)

We currently have ~44k files (still growing) in this cat uploaded by User:Slick-o-bot using an incorrect parameter other_version instead of other_versions. Can someone run a cleanup script on them? --Denniss (talk) 20:08, 7 February 2014 (UTC)

Bump, images in this cat grew from ~2800 to (currently) 139k and I suspect all are caused by this wrong parameter used by Slick-o-Bot. Last time I looked it was 44k out of ~48k images there. Bad Boys tool can't count them anymore due to exceeding memory limits. --Denniss (talk) 10:35, 8 February 2014 (UTC)
@Slick: Could Slick-o-bot fix these? --Zhuyifei1999 (talk) 10:00, 13 February 2014 (UTC)
Maybe. Currently I am very busy. --Slick (talk) 17:08, 14 February 2014 (UTC)
This is my mistake, so I work on it now... Stay tuned. --Slick (talk) 18:38, 14 February 2014 (UTC)
 Doing… see Special:Contributions/Slick-o-bot --Slick (talk) 19:29, 14 February 2014 (UTC)
With the current pace, the bot will need approx. one week to finish. --Leyo 00:06, 15 February 2014 (UTC)
The bot has stopped before having completed half of its task. --Leyo 23:03, 18 February 2014 (UTC)
user:McPot decided to take over and do some other cleanup tasks in this category. --McZusatz (talk) 20:37, 20 February 2014 (UTC)
Thank you. However, such edits should rather be done by a bot with flag. --Leyo 22:29, 20 February 2014 (UTC)
I stopped the bot to wait for the flag to be set. --McZusatz (talk) 23:23, 20 February 2014 (UTC)
German@McZusatz: Ich versteh da gerade ein wenig Bahnhof. Welcher Bot wurde gestoppt? Slick-o-bot? (der ist geflagt oder sehe ich das falsch) Oder kann/soll ich den wieder anwerfen (der hatte sowieso Kaffeepause ;))? --Slick (talk) 19:50, 24 February 2014 (UTC)
Hol deinen Bot von der Kaffeepause zurück! ;-) Diese Aufgabe soll er fertig machen. McZusatz' Bot (noch ohne Flag) hat andere Dateien in dieser Kategorie zu korrigieren versucht. --Leyo 21:45, 24 February 2014 (UTC)
McPot laeft seit heute morgen schon mit Bot-flag. Und ja: Das "other_versions" ist ein Teil des Cleanups. Ich weiß nicht wie du den Slick-o-bot programmiert hast (meiner geht alphabetisch durch die Kategorie), aber falls er einen anderen Weg nimmt, sollten die beiden auch parallel laufen können. --McZusatz (talk) 21:44, 25 February 2014 (UTC)
Der ging alphabetisch vor. Habe die Liste zufällig gemischt und wieder angeworfen. Sollte keine Probleme machen und die Fertigstellung beschleunigen. --109.44.32.117 21:35, 26 February 2014 (UTC)
Slick-o-bot ✓ Done --Slick (talk) 11:04, 3 March 2014 (UTC)

Is anyone able to fix these files automatically? My regex skills are very limited. --Leyo 16:52, 1 March 2014 (UTC)

@Leyo: Could you explain it please? For example in File:NGC201-hst-R190G606B160.jpg, what should be the correct url for http://hla.stsci.edu/hlaview.html#Images|filterText%3D%24filterTypes%3D|query_string=NGC%20201&posfilename=&poslocalname=&listdelimiter=whitespace&listformat=degrees&RA=9.895083&Dec=0.859889&Radius=0.014583&inst-control=all&inst=ACS&inst=ACSGrism&inst=WFPC2&inst=NICMOS&inst=NICGRISM&inst=STIS&inst=FOS&inst=GHRS&imagetype=best&prop_id=&spectral_elt=&preview=1&output_size=256&cutout_size=12.8|ra=&dec=&sr=&level=&image=&inst=ACS%2CACSGrism%2CWFPC2%2CNICMOS%2CNICGRISM%2CSTIS%2CFOS%2CGHRS&ds=? (Sorry but I really can't find it) --Zhuyifei1999 (talk) 08:59, 4 March 2014 (UTC)
Sorry for that. No | may be part of an URL. They need to be replaced by |. It is, however, tricky not to replace correct |, too. --Leyo 22:10, 4 March 2014 (UTC)
http://hla.stsci.edu/hlaview.html#Images%7CfilterText%3D%24filterTypes%3D%7Cquery_string=NGC%20201&posfilename=&poslocalname=&listdelimiter=whitespace&listformat=degrees&RA=9.895083&Dec=0.859889&Radius=0.014583&inst-control=all&inst=ACS&inst=ACSGrism&inst=WFPC2&inst=NICMOS&inst=NICGRISM&inst=STIS&inst=FOS&inst=GHRS&imagetype=best&prop_id=&spectral_elt=&preview=1&output_size=256&cutout_size=12.8%7Cra=&dec=&sr=&level=&image=&inst=ACS%2CACSGrism%2CWFPC2%2CNICMOS%2CNICGRISM%2CSTIS%2CFOS%2CGHRS&ds= <= blank page --Zhuyifei1999 (talk) 08:57, 5 March 2014 (UTC) Never mind, I got it wrong --Zhuyifei1999 (talk) 09:00, 5 March 2014 (UTC)
I don't think this is possible by regex. :( Will do manually. --Zhuyifei1999 (talk) 11:34, 5 March 2014 (UTC)
✓ Done with some custom JS scripts I noticed that the new url does't seem to work on some browsers. --Zhuyifei1999 (talk) 11:38, 6 March 2014 (UTC)
Thank you. I have no idea why this is the case. --Leyo 22:47, 6 March 2014 (UTC)
This section was archived on a request by: Revicomplaint? 14:38, 7 March 2014 (UTC)

Add category

Hi, can somebody please add by bot Category:Files by User:Richenza to all images uploaded by user:Richenza? She asked me to find somebody more experienced instead of her here cause she does not speak English. She would like to have one category where she can browse all images which she already uploaded. Be aware please, that some her images from recent past already have this category, but the older one not. Thanks in advance for your help! Best regards --Chmee2 (talk) 18:13, 26 February 2014 (UTC)

Maybe you can try VisualFileChange.js with custom replace. —레비Revi 19:00, 26 February 2014 (UTC)
It's harder than that. First, a lot of the files has already categorized there. Also, that's a Append any text. Anyway  Doing… by VFC. --Zhuyifei1999 (talk) 09:16, 27 February 2014 (UTC)
There's thousands of them. Could you confirm that it's really all images? --Zhuyifei1999 (talk) 09:52, 27 February 2014 (UTC)
@ Zhuyifei1999: Yes, all images. Because of this huge number, I do not want to do it manually. (PS: To filter/find images where to add the category, it might help to know that images uploaded after 4 September 2013‎ have already the category, before this date they are without). Thanks for your help! --Chmee2 (talk) 12:14, 27 February 2014 (UTC)
It's about 9194 files uploaded by that user in all (if my db query was right), minus 1906 (the number of pages in the category) ... about 7288 files! If anything by bot could do it.  Hazard SJ  19:29, 1 March 2014 (UTC)
✓ Done all images uploaded by Richenza are now in the user category (9,523). -- (talk) 12:57, 7 March 2014 (UTC)
This section was archived on a request by: Revicomplaint? 14:27, 7 March 2014 (UTC)

Mass rename

Not sure if this is the right place, but I figure I'd go here first before consuming admins times with a rename template. The following list of files was uploaded by me so you don't need to manually check each. I accidentally typoed "county" (I wrote "country" instead). would it be possible for a someone to rename them all?

list
Northampton country - Ackermanville.png
Northampton country - Allen Township.png
Northampton country - Bangor.png
Northampton country - Bath.png
Northampton country - Belfast.png
Northampton country - Bethlehem Township.png
Northampton country - Bethlehem.png
Northampton country - Blank.png
Northampton country - Bushkill Township.png
Northampton country - Chapman.png
Northampton country - Cherryville.png
Northampton country - East Allen Township.png
Northampton country - East Bangor.png
Northampton country - Eastlawn Gardens.png
Northampton country - Easton.png
Northampton country - Forks Township.png
Northampton country - Freemansburg.png
Northampton country - Glendon.png
Northampton country - Hanover Township.png
Northampton country - Hellertown.png
Northampton country - Lehigh Township.png
Northampton country - Lower Mount Bethel Township.png
Northampton country - Lower Nazareth Township.png
Northampton country - Lower Saucon Township.png
Northampton country - Martins Creek.png
Northampton country - Middletown.png
Northampton country - Moore Township.png
Northampton country - Nazareth.png
Northampton country - North Catasauqua.png
Northampton country - Northampton.png
Northampton country - Old Orchard.png
Northampton country - Palmer Heights.png
Northampton country - Palmer Township.png
Northampton country - Pen Argyl.png
Northampton country - Plainfield Township.png
Northampton country - Portland.png
Northampton country - Raubsville.png
Northampton country - Roseto.png
Northampton country - Stockertown.png
Northampton country - Tatamy.png
Northampton country - Upper Mount Bethel Township.png
Northampton country - Upper Nazareth Township.png
Northampton country - Walnutport.png
Northampton country - Washington Township.png
Northampton country - West Easton.png
Northampton country - Williams Township.png
Northampton country - Wilson.png
Northampton country - Wind Gap.png

They are currently being used on wikipedia, however, I can update that later. That's not an issue (unless a bot can update that as well). Thank you! --CyberXRef 22:11, 10 March 2014 (UTC)

✓ Done 48 files moved. The redirects should sort themselves out on the English Wikipedia without you having to do anything by hand. -- (talk) 22:56, 10 March 2014 (UTC)
This section was archived on a request by: CyberXRef 04:34, 11 March 2014 (UTC)

Change source

Hello,

can you change source in file description from {{own}} to https://archive.org/details/gov.archives.arc.1538222 in files from User:Juandev/VicunaUploader#2014-03-16 09:57:00. Thank you very much!--Juandev (talk) 10:27, 16 March 2014 (UTC)

✓ Done --Zhuyifei1999 (talk) 11:02, 16 March 2014 (UTC)

Thanks!--Juandev (talk) 17:27, 16 March 2014 (UTC)

This section was archived on a request by: Revicomplaint? 13:38, 17 March 2014 (UTC)

Replacing DRBot

There is discussion about DRBot (talk · contribs) at COM:AN#DR Log bot speedup?, and since botop is Bryan, if any bot operator is possible, please make a clone of it, which works faster than current bot. Thanks. Revicomplaint? 15:36, 13 March 2014 (UTC)

I believe the request here is not to work faster (processing time) but more frequently, so that DRs might be archived hourly. It sounds straight-forward but a bot-writer who has access to the admin tools is probably needed, as I would have difficulty testing changes. -- (talk) 16:21, 13 March 2014 (UTC)
Imo it's better to email Bryan instead. --Zhuyifei1999 (talk) 09:26, 14 March 2014 (UTC)
Fae: I wanted to say that. Revicomplaint? 07:00, 15 March 2014 (UTC)
Fae is correct -- more frequently is what I asked for. I'm not sure that Admin status would be required. Very simply put, the bot would examine every open DR log, and for any entries that had been closed more than one hour, would remove the transclusion from the log and add it to the archive. Neither of those actions requires an Admin. .     Jim . . . . (Jameslwoodward) (talk to me) 10:40, 14 March 2014 (UTC)
There are a few deletion related topics on my mental backlog, such as DR management and reporting, or a better tool to split file histories using OAuth, but these will remain indefinitely parked unless I am eventually supported by enough of the community to be able to access the sysop tools. It might sound selfish, but it would be remarkably unsatisfying to burn my volunteer time to create a tool or bot that I am not trusted to employ using my own account. -- (talk) 11:28, 14 March 2014 (UTC)
My bot already does this, see here. I run it once or twice a day, and while it could be configured to run on an hourly (or perhaps bi-hourly) basis, this is complete overkill IMHO. I've found that running it once a day alongside DRBot is more than sufficient (main reason being how so few admins actually care for DRs). -FASTILY 05:58, 15 March 2014 (UTC)
Maybe 6~8 hrs is enough. Revicomplaint? 07:00, 15 March 2014 (UTC)
I disagree strongly. If I start working on DRs at 0001 UTC, then no problem. But if I go to work on yesterday's DRs, or those from the day before, I find that I spend more time paging through closed DRs than I do closing them. If the closed DRs were cleared away promptly, it would both save me time and, by making it easier to do productive work, encourage me to close more. .     Jim . . . . (Jameslwoodward) (talk to me) 13:06, 17 March 2014 (UTC)
Configured the bot to run every 6 hours. If that's not frequent enough, leave me a note on my talk page and I'll change some numbers around 👍 -FASTILY 08:06, 18 March 2014 (UTC)

Thanks. Right now, the DR backlog is in good shape -- let's see how it goes. .     Jim . . . . (Jameslwoodward) (talk to me) 12:57, 18 March 2014 (UTC)

This section was archived on a request by: McZusatz (talk) 20:58, 20 March 2014 (UTC)

Placing .wav files into Category:WAV files

Should be a self-explanatory request; there might be false positives if someone decides to name their file "Foo.wav.ogg" for example, but this should not be much of a problem. TeleComNasSprVen (talk) 10:21, 30 March 2014 (UTC)

P.S. I've already started the process for placing a few files into the category based on a few returns from Special:Search, so if there are any duplicate categories, please remove them or let me know. Thanks, TeleComNasSprVen (talk) 10:22, 30 March 2014 (UTC)
✓ Done --Zhuyifei1999 (talk) 12:28, 30 March 2014 (UTC)
This section was archived on a request by: McZusatz (talk) 12:55, 1 April 2014 (UTC)

Uncategorized Bundesarchive images

The famous photo

Hello all. I think it'ld be reasonable to make a category of Bundesarchive images having no categories, except for the hidden, like this one. Obviously this is work for a bot. Thank you beforehands! Ain92 (talk) 10:53, 18 March 2014 (UTC)

✓ Done See catscan2 report. -- (talk) 10:28, 21 March 2014 (UTC)

PD images from Flickr with a non-free license

Hello,

There are many public domain images on Flickr which have a non-free license. They can't be uploaded with the Upload Wizard. I wonder if it would be possible to use a bot. Examples:

What information do you need to upload all this with a bot? Yann (talk) 13:59, 30 November 2013 (UTC)

@Yann: you mean to use a bot to upload them? And how do the bot show that the image is not a copyvio? --Zhuyifei1999 (talk) 07:29, 8 December 2013 (UTC)
@Zhuyifei1999: I would check that. That's what I ask: if I make a list, could a bot upload them? Sorry if I was not clear. Actually, I was also asking if the bot could make a list. Upload all images where one of this photographer is mentioned in the description, and add a category "Files to be checked". Yann (talk) 09:36, 8 December 2013 (UTC)
@Yann: If there's a list of photos (or even better, urls), yes. If there isn't, or the bot have to google it, I'm afraid it would be hard for me to do so. Not sure about other bot operators, though. --Zhuyifei1999 (talk) 09:11, 9 December 2013 (UTC)
OK, I am going to make a list at User:Yann/PD images from Flickr with a non-free license. Yann (talk) 20:12, 11 December 2013 (UTC)
@Zhuyifei1999: OK, I made a list: User:Yann/PD images from Flickr with a non-free license. Could you start with that? And I found more photographers with the same case. Thanks in advance, Yann (talk) 19:28, 30 January 2014 (UTC)
Will do. --Zhuyifei1999 (talk) 06:21, 31 January 2014 (UTC)
I completed the first part: all photographers I had initially selected above. Yann (talk) 19:19, 31 January 2014 (UTC)
@Yann: How to bypass {{Flickrreview}} and show the image really is PD? --Zhuyifei1999 (talk) 06:55, 8 February 2014 (UTC)
 Doing… --Zhuyifei1999 (talk) 07:01, 8 February 2014 (UTC)

@Zhuyifei1999: Ok, thanks, tell me when you are done. Regards, Yann (talk) 12:28, 13 February 2014 (UTC)

Sorry, will take some time. I'm just busy with everything. --Zhuyifei1999 (talk) 11:10, 14 February 2014 (UTC)Timestamp (no archiving): Zhuyifei1999 (talk) 11:00, 6 March 2014 (UTC)
@Zhuyifei1999: Hi, What's the status of this request? Regards, Yann (talk) 14:43, 16 March 2014 (UTC)
It's mostly done, but technical problem with User:Yann/PD_images_from_Flickr_with_a_non-free_license, I'll get this done before or on Friday (and a test run and a BRFA after that). --Zhuyifei1999 (talk) 15:02, 16 March 2014 (UTC)
OK, thanks. Yann (talk) 04:11, 17 March 2014 (UTC)
@Yann: Commons:Bots/Requests/YiFeiBot_(17) Also what filename would you like for http://www.flickr.com/photos/28433765@N07/5014106447/ ? --Zhuyifei1999 (talk) 12:52, 21 March 2014 (UTC)

@Yann: @Yann: All listed ones ✓ Done except if it is detected as a duplicate. --Zhuyifei1999 (talk) 08:53, 28 March 2014 (UTC)

TIF files with jpeg compression

The image thumbnail generating process seems to have problems with .tif files using .jpeg compression (distorted colors). Is there an easy way to detect them and re-upload them as uncompressed version? --Denniss (talk) 14:39, 16 April 2014 (UTC)

 Making a list... The first 2 tiff images with jpeg compression is grayscale (no color problems) --Zhuyifei1999 (talk) 08:24, 17 April 2014 (UTC)
SELECT img_name FROM image WHERE img_minor_mime = "tiff" AND img_metadata LIKE '%s:11:"Compression";i:7;%'User:Zhuyifei1999/sandbox (in fact, most, even colored photos look good) --Zhuyifei1999 (talk) 08:57, 17 April 2014 (UTC)
File:AloisianumLinzMaerz.tif looks fine but check the other thumb sizes,File:Alte Schule mit Pausenhalle, Eschelbronn.tif look completely wrong colored. See Commons:Village_pump#Change_of_colours_after_a_move and linked bugzilla report. Anyway I don't think it's a good idea to have TIF images using JPEG compression, the original intention of TIF is lossless. --Denniss (talk) 10:51, 17 April 2014 (UTC)
Could you resubmit the query with something like AND img_user_text <> \"Swiss Federal Archives\" as additional parameter? It seems like most of the compressed TIF were uploaded by the Swiss Federal Archives. Those images look mostly fine and are greyscale anyway. --McZusatz (talk) 12:44, 20 April 2014 (UTC)
✓ Done User:Zhuyifei1999/sandbox --Zhuyifei1999 (talk) 13:54, 20 April 2014 (UTC)
✓ Decompressed those. The failing thumbs in the older versions will work only after bugzilla:63907 got fixed. --McZusatz (talk) 21:22, 20 April 2014 (UTC)
This section was archived on a request by: McZusatz (talk) 06:47, 23 April 2014 (UTC)

Fixing typo "transfered" to "transferred" 2

Apologies for resurrecting a two-year old thread, but since this issue with the Upload Bot has been fixed, can someone contact User:Schlurcher on their dewiki page if they're still active and let them know they've got the go-ahead to run the bot to fix the typos, or perhaps write up a bot yourself for this task? TeleComNasSprVen (talk) 10:19, 30 March 2014 (UTC)

@TeleComNasSprVen: {{Transferred from}} should be used instead of simple text. --Ricordisamoa 11:05, 30 March 2014 (UTC)
I guess this would be more in the scope of an internationalization issue then --TeleComNasSprVen (talk) 17:06, 30 March 2014 (UTC)
Then, as SchlurcherBot 1, SamoaBot 3 and OgreBot 3. --Ricordisamoa 21:56, 30 March 2014 (UTC)

BadSVG

Hi there,

it would be nice if somebody could generate a list of all svg files (current version) that contain the string "xlink:href="data:image". Anybody up for that?

Cheers --Cwbm (commons) (talk) 11:54, 21 March 2014 (UTC)

 This will likely take weeks/months/years --Zhuyifei1999 (talk) 03:01, 22 March 2014 (UTC)

It would also be helpful if a bot could check the recent uploads and mark them with {{BadSVG}}. --Cwbm (commons) (talk) 08:36, 24 March 2014 (UTC)

Could you explain why this would be valuable and (considering the bandwidth cost) if there are any other non-controversial checks that could be usefully added at the same time? -- (talk) 08:53, 24 March 2014 (UTC)
1) There are always new users who think that uploading raster files in a svg container is a good idea and user that convert existing pngs by uploading them in a svg container. Having a bot checking the recent uploads would enable to inform the uploader in a timely manner. 2) One could also check if the file is corrupt or if the svg is valid. But I don't know if that's reasonable. --Cwbm (commons) (talk) 11:25, 24 March 2014 (UTC)

As a method of filtering out suspect files, the following table was generated in pywikipediabot by looking at the latest 2,000 files uploaded and filtering out those with "svg" extensions and those over 50,000 bytes in size. It took under 10s to run. Do you think if we only checked SVGs of this size for further possible problems, this would be useful? A bot running this once an hour might be sufficient. -- (talk) 13:27, 24 March 2014 (UTC)

You are going to miss some files, particularly logos which can be under 10 kb even as embedded raster graphics. But it's better than nothing. --Cwbm (commons) (talk) 13:37, 24 March 2014 (UTC)

I have dropped the old report from this discussion. A recent run is at User:Faebot/SandboxS. This goes through the last hour of uploads, to a maximum of 2,000 images (which appears plenty), picks out the SVG files over 5k in size, and then retrieves these files and examines their contents. If they match the regex "xlink..?href.?=.?.?data:image" then {{BadSVG}} is added to the image page. It seems a bit silly to load each matching SVG if this is the only test. It would be neat if there were several things to test while the bot is looking.
I am running the script locally rather than on WMF labs, which means it would probably be faster later. At the moment this run took 4 minutes to do but this represented the last 3 hours worth of uploaded images. So, say, running every 60 minutes back through the recently uploaded log, up until the point where it last ran to a maximum of 2,000 files in each slurp, would probably cope quite easily. -- (talk) 21:55, 28 March 2014 (UTC)

First test run—running hourly, updating User:Faebot/SandboxS, I expect to leave this as a soak test over the weekend:
Images marked as BadSVG:
  1. 15:16, 31 March 2014 File:Cilician Armenia-hy.svg
  2. 15:16, 31 March 2014 File:KHW logo color.svg
  3. 00:17, 31 March 2014 File:Cannabis laws.svg
  4. 23:17, 30 March 2014 File:MH370 data graphs.svg
  5. 23:16, 30 March 2014 File:Biml logo.svg
  6. 20:16, 30 March 2014 File:IndoParthianKingdom.svg
  7. 17:16, 30 March 2014 File:Roman Empire 125 general map.SVG
  8. 16:16, 30 March 2014 File:Blason ville fr Érize-la-Brûlée (Meuse).svg
  9. 13:16, 30 March 2014 File:Roman Empire 125 political map.svg
  10. 09:16, 30 March 2014 File:Arms of the Viscounts of Villamur.svg
  11. 09:16, 30 March 2014 File:Greco-BactrianKingdomMap-es.svg
  12. 00:17, 30 March 2014 File:2014 Latakia Offensive Map.svg
  13. 23:17, 29 March 2014 File:Gundam Sentinel Wikipedia espanol.svg
  14. 23:16, 29 March 2014 File:Rif Aleppo2.svg
  15. 22:17, 29 March 2014 File:Battle of Qalamoun.svg
  16. 22:16, 29 March 2014 File:Einsatz Pu-12M im Regiment 9K33.svg
  17. 22:16, 29 March 2014 File:Battle of Daraa City.svg
  18. 20:17, 29 March 2014 File:IndoGreekKingdomAndCampaigns.svg
  19. 15:17, 29 March 2014 File:Battle of Marathon Initial Situation (it).svg
  20. 15:16, 29 March 2014 File:2.5 Russian road sign.svg
  21. 12:16, 29 March 2014 File:Major-Cultural-spheres.svg
  22. 11:16, 29 March 2014 File:South East Asia location-Naja-siamensis.svg
  23. 10:17, 29 March 2014 File:HUN Visegrád Címer.svg
  24. 23:16, 28 March 2014 File:Vostok Spacecraft Diagram.svg
✓ Done

I think this request can be marked as done for the moment. I will think about moving my working script over to labs at some point, though it will need little re-writing before then. The data volumes involved and the number of images that might be templated each day are relatively small, for this specific check. As it seems non-controversial, I will keep the bot running like this once an hour (with an average run time of under 60s). -- (talk) 14:51, 31 March 2014 (UTC)

Thanks a lot for your effort. Cheers --Cwbm (commons) (talk) 06:35, 1 April 2014 (UTC)

Detect identical duplicates in file namespace

Is it possible to query the database for files with identical checksum? If possible could this be made a regular query with an output file made similar to Commons:Database reports/Largely duplicative file names? Most interesting would be files with 1 or 2 duplicates, these are most likely not intended. --Denniss (talk) 20:43, 7 January 2014 (UTC)

That might be a pretty complicated query.  Doing… --Zhuyifei1999 (talk) 05:10, 8 January 2014 (UTC)
WTF 'image' table has no id column? @Hazard-SJ: Can you do this? --Zhuyifei1999 (talk) 05:24, 8 January 2014 (UTC)
Bump --Denniss (talk) 14:27, 29 January 2014 (UTC)
I've just started to test some things, but so far I've received no results. Of course, we can't only rely on duplicate sha1 values, so I'm testing with other fields to see if I can get anything.  Hazard SJ  04:07, 7 February 2014 (UTC)
im hoping that something like this will eventually become a special page (gerrit:85446. Only pending review for 5 months now..). Feel free to copy the query used there. I doubt many other of the fields would be useful (img_metadata possibly, but that would be super slow). From a longer term prespective, i think it would be interesting to have a log of recently uploaded files that are dupes of old and deleted imaged. As for the structure of image/oldimage/filearchive, yeah they suck (from what i understand the article related tables got fixed to something saner in mediawiki 1.5, but nobody ever fixed up the image table). Bawolff (talk) 02:27, 14 February 2014 (UTC)
@Bawolff: If I'm not mistaken, that query just brings up files with the same sha1 values, correct? It is possible for different files to have the same value, so we wouldn't want to rely on that alone.  Hazard SJ  03:31, 14 February 2014 (UTC)
well there certainly exists in theory such files (by the pigeon hole principle), as far as i know, nobody has ever found any examples for sha1 thus far. If you manage to find 2 different files with the same sha1 (excluding some case of db corruption or integrity issues. I know there was at least one bug a while back where a file had the incorrect sha1 in db, but i think that has all been fixed), it would be a very big deal (to crypto folks anyways) Bawolff (talk) 05:20, 14 February 2014 (UTC)
SELECT count(*) as "Numb dupes", MIN(img_name) as "Image name" from image group by img_sha1 HAVING count(*) > 1 order by count(*) desc Gives results like [1] Bawolff (talk) 20:45, 14 February 2014 (UTC)
tldr. Is User:RLuts/duplicates the wanted report? --McZusatz (talk) 19:35, 16 February 2014 (UTC)
@Denniss: is that (Bawolff's list) okay? If so, would you still want a database reports page for it? It could link to Special:FileDuplicateSearch such as Special:FileDuplicateSearch/Abhandlung_von_den_Zähnen_(Pfaff)_219.jpg.  Hazard SJ  01:17, 18 February 2014 (UTC)
User:RLuts/duplicates is almost exactly what I want, just as a regularly updated (weekly?) database report from bottom to top (least numbers of duplicates first) and limited to ~500 entries to keep the page size in reasonable limits. The format of Bawolff's list is also OK, it seems to list only one file with existing dupes and not all existing dupes, if you can transform it into proper wikilinks it would be easier to handle than the pure text. Both pages show a hell lot of dupes.--Denniss (talk) 10:34, 18 February 2014 (UTC)
I'm not really familiar with how the formatting of commons db reports work. I put my list through a quick awk script which yielded [2]. Bawolff (talk) 22:17, 18 February 2014 (UTC)
@Denniss: Would that work?  Hazard SJ  02:51, 23 February 2014 (UTC)
Yes. --Denniss (talk) 07:19, 23 February 2014 (UTC)
Could someone integrate this report into the Databse report overview site? --Denniss (talk) 12:45, 17 March 2014 (UTC)
Could someone please create a regular Bot job for this? Bawolff's page was last updated on March 12. --Denniss (talk) 09:12, 1 April 2014 (UTC)
@Steinsplitter: Try this. You're good at dynamic DBRs. --Zhuyifei1999 (talk) 10:53, 1 April 2014 (UTC)
@Bawolff: is there an ETA for your Special:ListDuplicatedFiles? --McZusatz (talk) 12:59, 1 April 2014 (UTC)
toollabs:steinsplitter/dupe.php (update every day, ~13:00 UTC) --Steinsplitter (talk) 14:37, 1 April 2014 (UTC)
Special:ListDuplicatedFiles should be available on April 4 (It was deployed today, but cached special pages only update every 3 days). Sorry about the script on my tool labs dying. Tool labs moved clusters, and decided not to transfer cron scripts, so all my repetitive tasks stopped working. Bawolff (talk) 21:13, 1 April 2014 (UTC)
The special page finally works! I was half expecting something bad to happen to prevent it from working. Bawolff (talk) 14:16, 4 April 2014 (UTC)

split category from user template

I have uploaded lots of files on which I use the templates user:Thryduulf/cc-by-sa-all or user:Thryduulf/copyleft which categorises the files into Category:Photos by Chris McKenna. I now wish to subcategorise some of my image uploads. The easiest way I can think to do this is if someone could go through all images tagged with those templates and explicitly add them to my category so I can subcategorise using cat-a-lot as I get time. When the run is complete (please advise me here or on my talk page) I will remove the categories from the templates. Thanks. Thryduulf (talk) 19:28, 31 March 2014 (UTC)

Anyone? Thryduulf (talk) 09:53, 7 April 2014 (UTC)
✓ Done You may want to play around with AWB if you don't want to install Pywikipediabot or find a work-around for large categories using VisualFileChange.js. I think we need more people with these tool skills. -- (talk) 15:55, 8 April 2014 (UTC)
Thank you. I don't think I'm the right person for doing this sort of task - as a Linux user AWB isn't an realistic option (I've never successfully used wine for anything), I know no python, don't feel comfortable with the idea of running a bot and much of the VisualFileChange page is gibberish to me. Sorry. Thryduulf (talk) 20:39, 8 April 2014 (UTC)

Freesound

This may be a late request, but can a bot please query the database for any files containing the string "(F/f)reesound" or similar that is not either linked to Template:Freesound or uploaded by me? I wish to replace such instance with the new template I've created, manually if need be and if the sources are accurate. TeleComNasSprVen (talk) 09:37, 20 April 2014 (UTC)

Freesound

This may be a late request, but can a bot please query the database for any files containing the string "(F/f)reesound" or similar that is not either linked to Template:Freesound or uploaded by me? I wish to replace such instance with the new template I've created, manually if need be and if the sources are accurate. TeleComNasSprVen (talk) 09:37, 20 April 2014 (UTC)

Could somebody please send a bot out to go through this list and fix such syntax errors? --Leyo 20:23, 22 May 2014 (UTC)

I can do this replacement for all files. Or is there a way to show "|" ? --Steinsplitter (talk) 20:38, 22 May 2014 (UTC)
{{!}}? --McZusatz (talk) 20:43, 22 May 2014 (UTC)
Thx McZusatz.  Doing… --Steinsplitter (talk) 21:09, 22 May 2014 (UTC)
✓ Done --Steinsplitter (talk) 21:22, 22 May 2014 (UTC)
Thank you. This or this would have been alternatives. --Leyo 10:05, 24 May 2014 (UTC)
This section was archived on a request by: Leyo 10:05, 24 May 2014 (UTC)

Spaces before file extensions

Someone suggested on Commons:Village pump/Archive/2014/03#Spaces before file extensions in titles that a bot go looking around for filenames with spaces before the file extension and rename them to eliminate the space, while still retaining the redirect for reusers linking back to the file just in case. As a subtask, can a bot also look for instances of %E2%80%8E (hidden left-to-right mark U+200E) in filenames, or perhaps upload a test file containing the hidden character? TeleComNasSprVen (talk) 01:24, 9 April 2014 (UTC)

Sounds good to me. --99of9 (talk) 04:12, 9 April 2014 (UTC)
To clarify the subtask, I'd like to see if we can query the database to see if we have any left-to-right marks in either filenames or category names and if possible fix them. TeleComNasSprVen (talk) 06:08, 9 April 2014 (UTC)
Uploading such files are impossible as far as I know. Database query:  Doing… --Zhuyifei1999 (talk) 10:06, 9 April 2014 (UTC)
Query SELECT * FROM page WHERE page_title LIKE CONCAT("%", CHAR(0x200e USING utf8), "%"); → Empty set (37.66 sec) --Zhuyifei1999 (talk) 10:32, 9 April 2014 (UTC)
Space problem → Commons:Bots/Requests/YiFeiBot_(19) --Zhuyifei1999 (talk) 11:02, 25 April 2014 (UTC)

_NOTOC_ cleanup

Hi, If no concerns i will start tomorrow a botrun to remove the _NOTOC_ from filepages (312,381 affected pages). --Steinsplitter (talk) 14:11, 1 May 2014 (UTC)

Out of interest, does anyone know why some images were created with __NOTOC__ in the image page text? It seems an odd thing to do.
I am aware that pywikipediabot has a standard set of cleanups. Any views about adding very large changes (like affecting over 100,000 image pages) to a standard cleanup list so that other bots inherit them? Apologies if this exists somewhere and I'm just not familiar with some past consensus on this. -- (talk) 14:19, 1 May 2014 (UTC)
I think in the old days if a file had more than standard set of sections sections (Summary, License, File history, File usage on Commons, Metadata), for example when it had Original upload log than Table of content was added just like with Articles. That was not desirable so _NOTOC_ was used. I also do not see this bot run as necessary and would prefer to add it to "pywikipediabot has a standard set of cleanups", and postpone it to may be a year or 2 years from now. Is there any harm in keeping _NOTOC_, or is it just esthetics?--Jarekt (talk) 15:26, 1 May 2014 (UTC)
Thank you for commenting. I have asked here because i am not sure if this bot run is really necessary. Yes, esthetics. We are hiding _notoc_ atm with css. --Steinsplitter (talk) 20:31, 1 May 2014 (UTC)

Coats of arms to be classified

in the category: Coats of arms to be classified all coa to user:Etxeko are classified corectly. What is that a bot can remove the category on 200 coa of this user. I have already made hundred thank you but I have it enough.

dans la categorie Coats of arms to be classified tous les blasons de l'utilisateur: Etxeko sont correctement classés. Est ce qu'un robot peut retirer la catégorie sur les 200 blasons de cet utilisateur. J'en ai déjà fait une centaine merci mais j'en ai assez.

thanks merci --Chatsam (talk) 19:55, 13 May 2014 (UTC)

Videos still awaiting transcode

Can a bot please go through a list of videos to find out problematic ones where their "transcode status" has been stuck in job queue for an unusually long time? Given a parameter of, say, more than 24 hours in the "Awaiting transcode since <time>" queue. Or perhaps preferably, have the bot reset the transcode status for the files and see what happens. TeleComNasSprVen (talk) 16:13, 24 April 2014 (UTC)

Let's wait some days for comments to appear on the bug report. --McZusatz (talk) 18:08, 26 April 2014 (UTC)
@Bawolff: I can not figure out how to get a reset-token. prop=info&intoken=transcodereset seems not to work but the API sandbox suggests I could get one of these through prop=info. --McZusatz (talk) 10:31, 7 May 2014 (UTC)
Seems to be bugzilla:65197. --McZusatz (talk) 07:54, 14 May 2014 (UTC)
It should be the same as the edit token. I'll work on fixing the api. Bawolff (talk) 01:03, 15 May 2014 (UTC)

Rotatebot

Can somebody take a look at Rotatebot? (And ideally perhaps also do the migration to the Labs server?) The bot hasn't rotated a file for almost two weeks now, and now has a backlog of over 1300 requests. The original operator, User:Luxo, appears to have gone away, and is not responding to emails. A note on the bot's homepage says "Toolserver has hiccups. Bot is working on and off." But this is stale - it was added in November 2013 [3], and doesn't reflect the total shutdown in activity since 23:15 on the 5th May.

I've left a further message on Luxo's talkpage, User_talk:Luxo#Rotatebot_not_working, but I'm not hopeful.

Can anybody step in and get this bot (or something like it) going again? Jheald (talk) 08:03, 15 May 2014 (UTC)

Is there better alternatives than cloning to Rotatebot 2? --Zhuyifei1999 (talk) 11:59, 15 May 2014 (UTC)
Reactivate User:Reedy RotateBot ? --Denniss (talk) 16:22, 15 May 2014 (UTC)
@Reedy: --Zhuyifei1999 (talk) 08:34, 16 May 2014 (UTC)
 Doing… Because the backlog is huge, the script runs currently under my Botaccount (See User:SteinsplitterBot/Rotatebot). I hope this is okay (if you disagree i will stop the bot immoderately). I like to thank User:se4598 for helping me getting the script running on toolslabs. --Steinsplitter (talk) 18:05, 16 May 2014 (UTC)
Yes I think this is okay. Romaine (talk) 18:19, 16 May 2014 (UTC)
 Request Luxo has not enough time to opearate this bot. If a trusted Commons user with php skills (a lot to debug) like to adopt Rotatebot pleas contact Luxo or me for accessdata to the bot. In the main time SteinsplitterBot will do all rotations. --Steinsplitter (talk) 00:12, 20 May 2014 (UTC)

Category:Subdivisions by country

Most categories of sets of subdivisions inside Category:Subdivisions by country that contain the class name ("bar") for all set members, use the format "Foo Bar". Some deviations exist. Maybe a bot can adjust some easy cases.

That will

  • make it easier for contributors to find items
  • give a better appearance across all Wikimedia projects. The current setup makes Wikimedia look silly, e.g. at https://www.wikidata.org/wiki/Q8385890 one has mostly exclusively "Cochabamba Department" but from commons there is "Department of Cochabamba".

Foo Bar - most common scheme - also widely used in English Wikipedia and WikiData/en - OK.

Bar of Foo - to be changed

Foo bar - to be changed

Foo (Bar) - to be changed

Foo (bar) - to be changed

Mix of different forms - to be changed

Tamawashi (talk) 20:55, 9 June 2014 (UTC)

As this affects *lots* of categories, I'd better see a community consensus before doing this (Commons:By location category scheme) --Zhuyifei1999 (talk) 12:21, 10 June 2014 (UTC)

Daticamera

In images uploaded by Sannita in May 2014 named "File:NAME SURNAME daticamera.it":

  • if there is no description please add "{{en|NAME SURNAME, Italian politician.}} {{it|NAME SURNAME, politico italiano.}}"
  • if licenze is {{CC-BY 3.0}} please replace it with {{dati.camera.it}}

Example. Thank you! --Jaqen (talk) 09:00, 10 June 2014 (UTC)

if licenze is {{CC-BY 3.0}} please replace it with {{dati.camera.it}}

Example. - ✓ Done --Steinsplitter (talk) 21:09, 11 June 2014 (UTC)

Thanks! --Jaqen (talk) 06:38, 12 June 2014 (UTC)

Old user name

Replace the affluents of User:HélioVL (my old user name) for User:HVL, by privacy reasons. --HVL talk 15:20, 12 June 2014 (UTC)

- |Author=[[User:HélioVL|HélioVL]]
+ |Author=[[User:HVL|HVL]]
✓ Done for all files linking to HélioVL --Steinsplitter (talk) 12:17, 13 June 2014 (UTC)
Thanks, Steinsplitter, but still have affluents. --HVL talk 17:00, 13 June 2014 (UTC)
Done. Pleas do the remaining one by hand & signatures are not changed. --Steinsplitter (talk) 13:20, 14 June 2014 (UTC)
Thanks, again. --HVL talk 14:44, 15 June 2014 (UTC)

~800 files with broken template links etc.

one of the affected files (issue already fixed for this one)

Today I found that nearly 800 good aerial photos from a Wikimedia Germany project called "Fotoflüge" have broken template links and other minor issues. I think a bot could fix this.

  • [4] – example for the basic fix that is needed: remove 2 spaces before "/" in 2 specific templates
  • [5] – example that shows what could further be done (if present): remove "Template:" from templates, remove "|" between categories, and order categories "one per line"
  • [6] – list of affected files

hope someone can help. Holger1959 (talk) 18:24, 27 June 2014 (UTC)

✓ Done. --McZusatz (talk) 12:51, 28 June 2014 (UTC)
McZusatz, thank you very much! Holger1959 (talk) 13:39, 28 June 2014 (UTC)
This section was archived on a request by: McZusatz (talk) 09:29, 19 July 2014 (UTC)

Requesting an updated list of categories

I would like to get an updated text list of all categories assigned to the images of the Category:Popular Science Monthly illustrations. THIS OLD LIST was created in 2012 through a request to the Toolserver, which is no longer possible (I think). Your help would be greatly appreciated. Ineuw (talk) 18:53, 18 June 2014 (UTC)

Can I ask what request/query/script you used to generate the list? --Zhuyifei1999 (talk) 08:19, 19 June 2014 (UTC)
I can hardly believe it but found the last time it was run at JIRA toolserver on 2012-05-15. It was an SQL statement and the JIRA job number was DBQ-127 - "List of Categories assigned to Commons images of the Wikisource PSM project and uploaded by me (Ineuw)".
This is the SQL statement:
{noformat}SELECT DISTINCT categorylinks.cl_to as cat FROM (SELECT page.page_id as img_id FROM page INNER JOIN categorylinks ON 
categorylinks.cl_from = page.page_id INNER JOIN (SELECT page.page_title as cats FROM categorylinks INNER JOIN page ON 
categorylinks.cl_from = page.page_id WHERE categorylinks.cl_to = 'Popular_Science_Monthly_illustrations' AND page.page_namespace = 
14) as subcats ON categorylinks.cl_to = subcats.cats WHERE page.page_namespace = '6') as tmp INNER JOIN categorylinks ON 
tmp.img_id = categorylinks.cl_from WHERE categorylinks.cl_to NOT LIKE 'Popular_Science_Monthly_illustrations/Volume_%';{noformat}

Ineuw (talk) 09:01, 19 June 2014 (UTC)

Thanks and ✓ Done by querying from Tool Labs with a similar query. --Zhuyifei1999 (talk) 10:56, 19 June 2014 (UTC)
You're most kind, but can I have the results? I have no idea where is the text file. Ineuw (talk) 18:06, 19 June 2014 (UTC)
Query: Special:Permalink/127075630; Results (as of yesterday): toollabs:yifeibot/temp.sql.txt :) --Zhuyifei1999 (talk) 08:04, 20 June 2014 (UTC)
Many thanks.Ineuw (talk) 08:59, 20 June 2014 (UTC)

The Film Daily

Hi,

Could a bot upload these DJVU files The Film Daily from Internet Archive? It can't be done by this tool because the size is near or over 100 MB. License is {{PD-US-not renewed}}, except this one, which is {{PD-US}}. Thanks, Yann (talk) 06:05, 25 July 2014 (UTC)

Is there an easy way to steal the Commons description from ia-uploader? Otherwise this looks like a manual copy-paste task cooperating with ChunkedUpload. --McZusatz (talk) 13:59, 25 July 2014 (UTC)
No idea about the internal of ia-uploader. User:Tpt knows. Downloading, and then uploading manually around 3 GB is out of question for me. That's why I am asking. Yann (talk) 14:25, 25 July 2014 (UTC)
Would you mind copy-pasting the Commons description from ia-uploader into the File:The name you want the file to have.djvu file description pages and send me all the links. I can do the upload pretty fast afterward, I think. --McZusatz (talk) 09:07, 26 July 2014 (UTC)
Like this File:The Film Daily, Jan-Jun 1932.djvu? The IA search engine is currently screwed. So I will do the rest when it is back. Regards, Yann (talk) 13:25, 26 July 2014 (UTC)
Yes, that is just right. --McZusatz (talk) 14:17, 26 July 2014 (UTC)
@McZusatz: Hi, Here is the list User:Yann/The Film Daily. Thanks for your help, Yann (talk) 16:00, 27 July 2014 (UTC)
Should be ✓ Done. --McZusatz (talk) 07:36, 28 July 2014 (UTC)
This section was archived on a request by: Zhuyifei1999 (talk) 11:32, 10 August 2014 (UTC)

Add a single category

All pages with filenames beginning with "ILMap-doton", e.g. File:ILMap-doton-PawPaw.PNG, are locator maps of Illinois cities, but not all of them are in Category:Locator maps of cities in Illinois. It would help if someone would run a bot to check all files with this name format and add this category to all files that don't already have it. Nyttend (talk) 13:54, 3 August 2014 (UTC)

✓ Done with SQL and VFC. 100 files found :o --Zhuyifei1999 (talk) 15:10, 5 August 2014 (UTC)
This section was archived on a request by: Zhuyifei1999 (talk) 11:32, 10 August 2014 (UTC)

Links to Gallica

Hello,

A lot of files from the French National Library (Gallica) have been uploaded for Wikisource, but the source is often not properly given. The template {{Gallica}} should be used, but it is not always the case. Could a bot replace the URL (which looks like http://gallica.bnf.fr/ark:/12148/bpt6k5820787t) by {{gallica|bpt6k5820787t}}? In addition, sometimes no URL was given. Could a list be made, so that the correct source be added manually later? Thanks in advance, Yann (talk) 11:57, 18 July 2014 (UTC)

Open proxy detection

Hello, I have tested bit around with my mobile phone and seen that it is easy to edit with an OP on commons (test). Anyone a idea how to write a open proxy finder? --Steinsplitter (talk) 11:15, 20 July 2014 (UTC)

Why would this be good for Commons (on the presumption that not all open proxies are being misused for spam, crime or vandalism and intelligent prevention or block-list inheritance might be better to automate detection of spam, crime or vandalism...)? -- (talk) 11:25, 20 July 2014 (UTC)
Because open proxy's are forbidden on commons and there is a huge abuser potential. For examle we block TOR atm with Extension:TorBlock.--Steinsplitter (talk) 11:36, 20 July 2014 (UTC)
Yes, if you presume I have read meta:NOP (which includes the Tor example), then we both know that "legitimate users[...] may freely use open proxies [...]" and "This policy is known to cause difficulty for some editors, who must use open proxies to circumvent censorship where they live". A corollary, is that blocking of every possible proxy is not desirable and policies probably ought to focus on known misused open proxies; by inheriting validated lists from elsewhere or based on evidence of a history of proxy range misuse here on Commons.
For this reason the common paradigm that "open proxies are Evil" is probably something that bot writers should probably avoid in preference to a slightly more nuanced interpretation of the meta policy. -- (talk) 11:41, 20 July 2014 (UTC)
Imho it would be at least helpful to tag all open proxy edits on a page. --Steinsplitter (talk) 11:43, 20 July 2014 (UTC)
Possibly, in the same way as we tag mobile platform edits. However I would be cautious if this might be interpreted such that our community presumed bad faith for all such edits, or it were to inevitably result in some administrators going on a blocking campaign as a preventative action. Backing off, happy to see where this goes. -- (talk) 11:48, 20 July 2014 (UTC)
I also don't know how to detect it (scanning ports or smithing like this?). --Steinsplitter (talk) 11:52, 20 July 2014 (UTC)
See Commons:Open proxy detection. -- (talk) 11:57, 20 July 2014 (UTC)
  • It's a tough question. Restating the obvious, for those facing censorship or being watched by their governments, use of open proxies may be an essential part of their personal security. We should be careful with those -- even identifying them on Commons may make them more likely to be investigated by the bad guys. On the other hand, an open proxy is a very useful tool for the spammer or vandal. We'd like to be able to crack down on them.
Generally, if you Google an IP address, you can see whether it is an open proxy or not, but I'm not at all sure you could teach a bot to do it -- there's a certain amount of judgement involved. Perhaps, if such a bot could be developed, it might report on a page accessible only to CUs -- that would solve the first problem and put the information in the hands of those that the community has trusted to take care of this kind of problem. .     Jim . . . . (Jameslwoodward) (talk to me) 12:58, 20 July 2014 (UTC)

CfD link

Please, could somebody add the template:
{{Category for discussion|1=Category:Houses by association|month=09|year=2014}}
to all 48 country subcategories of Houses by association by country? Thank you very much! --ŠJů (talk) 15:56, 6 September 2014 (UTC)

✓ Done with AWB --Zhuyifei1999 (talk) 03:39, 7 September 2014 (UTC)
This section was archived on a request by: Zhuyifei1999 (talk) 03:39, 7 September 2014 (UTC)

Track File references from Wikidata items

There are various properties which Wikidata items can have, that store the name of a media file on Commons as their data type.

For a full list, see: d:Wikidata:Database_reports/Constraint_violations/All_properties and sort by 'type'.

We should be tracking this information on file pages (probably through a template that auto-adds a category too), to identify files that are being referenced as eg the preferred Image (P18) of an item, or Chemical structure (P117), Locator map (P242), Signature (P109) ..., etc, etc.

A JSON file of all WD items with a particular property, and the property value, can be extracted using an appropriate WDQ query -- Jheald (talk) 13:32, 9 September 2014 (UTC)

This looks like more of MediaWiki feature than a bot work. --Zhuyifei1999 (talk) 07:44, 12 September 2014 (UTC)
@Zhuyifei1999: Yes, someone ought to make MediaWiki do this eventually. But in the meantime, this ought to be fairly simple functionality to write a bot to cover until that happens. Wouldn't you think? Jheald (talk) 09:08, 12 September 2014 (UTC)
Right. But wouldn't it need a massive cleanup after the feature finally got coded and deployed? --Zhuyifei1999 (talk) 09:28, 12 September 2014 (UTC)
@Zhuyifei1999: A fairly easy cleanup. If what gets added to the File pages is a template, eg {{Wikidata P18 file|Qnnnnn}}, (generating the linkback and categorisation), then all that needs to be removed is the templates, which just means going down the list of "what transcludes this page". Jheald (talk) 10:37, 12 September 2014 (UTC)
500000+ files would take about 2 months for a pywikibot with proper throttling (6 edits a min). IMHO if this thing actually run, 4 months would be wasted just to add all the tags and mass remove them. Better to spend that time on MW code. --Zhuyifei1999 (talk) 10:54, 12 September 2014 (UTC)
Okay, I've raised it on Wikidata's Contact the development team page. Jheald (talk) 14:35, 12 September 2014 (UTC)
This is registered as bugzilla:46358. Apparently, it is expected that a future redesign of Wikidata pages will show thumbnail images for properties pointing to Commons files. This will automatically add a "Used on Wikidata" line to the image, with the page title. It won't say what property is referencing it, nor set any tracking categories; so detailed reports would still have to be extracted using eg WDQ queries (as they can be at the moment). Jheald (talk) 13:58, 17 September 2014 (UTC)
Why volunteers should fix this in Global Usage extension or write a query? WMDE has enough money to write it self :). --Steinsplitter (talk) 14:01, 17 September 2014 (UTC)
As Jheald already said we are working on the redesign of the user interface of Wikidata. This will mean images used on items in Wikidata will show up in global usage. This is the immediate need that we really need to address. I'm happy to discuss any requests on top of that. Those will likely take time however (developer time is unfortunately limited). If you want a quick and dirty solution then what Jheald suggested will work. --Lydia Pintscher (WMDE) (talk) 14:20, 17 September 2014 (UTC)
This don't looks like a bot job to me. It is a wasting of time & edits. The extension should be fixed, no bot needed. --Steinsplitter (talk) 14:10, 17 September 2014 (UTC)
Fair enough. That's the conclusion that User:Zhuyifei1999 had brought me to as well, so consider the suggestion withdrawn. Jheald (talk) 14:22, 17 September 2014 (UTC)
This section was archived on a request by: Steinsplitter (talk) 14:33, 17 September 2014 (UTC)

Categorizing work

As described detailed in User:Inductiveload/Sarang bot work/Lists#Request 5, I need the insert of template transclusions into many file pages. Both Inductiveload and his bot are not active any more. If somebody owns a bot for such automated inserts, please contact me. If my description is sufficient clear to you, you may as well start your bot immediately. Otherwise ask me for more information. Thank you -- sarang사랑 14:20, 15 September 2014 (UTC)

@Sarang: For eg. File:Regular_Style_CJKV_Radical_001_(1).svg, shall I ignore (1) part? --Zhuyifei1999 (talk) 11:24, 17 September 2014 (UTC)
✓ Should be all done now --Zhuyifei1999 (talk) 15:03, 17 September 2014 (UTC)
This section was archived on a request by: Zhuyifei1999 (talk) 15:03, 17 September 2014 (UTC)

The category has a lot of template that can probably be matched to a Wikidata item. Take for example Creator:Alexander Varnek, it has a link to en:Alexander Varnek which connects to d:Q4103951. These links could be used to add the missing Wikidata links here. Multichill (talk) 18:23, 13 August 2014 (UTC)

 Doing… Sorry for not noticing this. --Zhuyifei1999 (talk) 23:54, 20 August 2014 (UTC)
Commons:Bots/Requests/YiFeiBot (20) --Zhuyifei1999 (talk) 10:52, 21 August 2014 (UTC)
@Zhuyifei1999: . See also d:Wikidata:WikiProject Structured Data for Commons/Data transfer, where User:Jarekt has put up some notes about how he attacked this last year. Please do add your own thoughts and contributions, so we can make the page into a really good how-to guide for Commons people who want to do things like this, for this and other templates. All best, Jheald (talk) 08:25, 21 August 2014 (UTC)
I'm not sure if I have time to do this, sorry. --Zhuyifei1999 (talk) 10:52, 21 August 2014 (UTC)
Never mind, no problem. Jheald (talk) 11:44, 21 August 2014 (UTC)

WLM categories

Is there any bot which detect images added to the category Images from Wiki Loves Monuments 2014 or its country subcategories directly, not through a template {{Wiki Loves Monuments 2014}}, and replace the category tag with the appropriate contest template periodically? --ŠJů (talk) 18:27, 3 September 2014 (UTC)

There's a list at [7] for the detection of photos. However I'm not sure of a way to automatically detect the country of the photos. --Zhuyifei1999 (talk) 09:42, 4 September 2014 (UTC)
You may want to express what your expectation is more clearly. I believe that if someone is using the WLM websites or app to do the upload then this is already built into the process, there should be no need for more bots. -- (talk) 15:27, 4 September 2014 (UTC)
: I'm sorry, I don't understand your question. If someone is using the standard way to upload the contest photos (i.e. the tagging contest template), then his photos are already built into the process. However, we need to detect and treat continuously those photos, which are intended in the contest categories but are not really tagged for the contest. Need you to explain why it is a problem and what inconsistencies are caused by it? Or even you consider such cases as impossible or improbable to arrive? --ŠJů (talk) 15:58, 6 September 2014 (UTC)
Zhuyifei1999: Cannot the country be identified automatically from the name of the contest category where the photo was found? --ŠJů (talk) 15:58, 6 September 2014 (UTC)
These test edits by AWB don't look so good to me. Tell me if it's okay for you. --Zhuyifei1999 (talk) 04:05, 7 September 2014 (UTC)

Batch sortkey modification

Lately I have been browsing language pronunciation categories (such as Category:Icelandic pronunciation) to look for sound files to add to Wikipedia articles. Some of these sound files have names that begin with the word whose pronunciation they give, such as Eyjafjallajökull-glacier.ogg. Others, however, begin with the ISO code for the language, such as Ru-алфави́т.ogg. Both groups are by default sorted under their filename. This is fine for the first group, which is alphabetized under the word recorded in the soundfile, but problematic for the second group, which is alphabetized under the ISO code and only after that under the word recorded in the soundfile.

I would like to remedy this situation, but it's too much work to go into each page and change the sortkey, removing the ISO code and hyphen. This seems like a task a bot could do. I know nothing about programming myself. Is there a bot that someone else has created that can do this? Erutuon (talk) 16:04, 11 September 2014 (UTC)

Commons:Bots/Requests/YiFeiBot (21) --Zhuyifei1999 (talk) 07:42, 12 September 2014 (UTC)

Erreur dans la description de fichiers

Bonjour, je vais rédiger ma requête en français, car j'ai du mal à être si précis en anglais. Pour faire simple, je vais régulièrement sur des courses cyclistes, et je les illustre de A à Z. Quand je suis accrédité sur une course, un message est indiqué. En ce moment, j'ai beaucoup de courses, et je fatigue un peu trop.

Pour toutes les photographies de la catégorie c:Category:Grand Prix d'Isbergues 2014, j'ai par erreur écrit la ligne {{Information field|name=Grand Prix de Wallonie|value={{By courtesy of Grand Prix d'Isbergues 2014}}}} (provenant d'un copié-collé d'une précédente course) alors que j'aurais dû inscrire {{Information field|name=Grand Prix d'Isbergues|value={{By courtesy of Grand Prix d'Isbergues 2014}}}}.

Un autre problème similaire est survenu il y a quelques mois dans c:Category:Paris-Roubaix espoirs 2014 : {{Information field|name=Grand Prix Criquielion|value={{By courtesy of Paris-Roubaix espoirs 2014}}}} est incorrect et devrait être remplacé par {{Information field|name=Paris-Roubaix espoirs|value={{By courtesy of Paris-Roubaix espoirs 2014}}}}.

Est-ce qu'un bot pourrait passer et corriger cette erreur ? En effet, je suis encore en course demain, et le temps me manquera donc dans les jours à venir. JÄNNICK Jérémy (talk) 17:23, 23 September 2014 (UTC)

✓ Done with VFC. Jean-Fred (talk) 18:11, 23 September 2014 (UTC)

Rename username on file pages

Hi, some of my old uploads still have [[User:Peter Weis]] or [[User:Peter Weis|Peter Weis]] on their file pages. I have been manually changing these cases to [[User:Christoph Braun|Christoph Braun]] (Peter Weis was my old user handle) every now and then, but came to the conclusion that this work is better and faster done by a bot. It would be great if a bot could run through all my uploads or through Category:Files by Christoph Braun if that should not be possible. Please let me know if there are any hindering reasons, policy-related or other. Thanks for processing my request. Regards, Christoph Braun (talk) 23:53, 20 September 2014 (UTC)

@Christoph Braun: ✓ Done It was a pleasure to do this for you, for the files in the category, then your uploads, using MediaWiki:VisualFileChange.js (it's a useful tool so you might like to try it; see Help:VisualFileChange.js). RIP "Peter Weis"! Andy Mabbett (talk) 22:19, 17 October 2014 (UTC)

These files still need fixing. Andy Mabbett (talk) 22:34, 17 October 2014 (UTC)

Thanks for your help Andy. Just changed the remaining cases manually. VisualFileChange.js looks quite interesting; I didn't use it so far. Regards, Christoph Braun (talk) 04:35, 18 October 2014 (UTC)
This section was archived on a request by:  revimsg 08:57, 14 November 2014 (UTC)

Category:Temporal population graphs of Australia

1 done with cat-a-lot, 2 I guess that needs human intelligence :) --Zhuyifei1999 (talk) 11:31, 10 October 2014 (UTC)
Thanks. But please also do that for all of the graphs that use the word "Males" in the title!
Everything with "Aged" or "BySingleYearAge" can be moved from Category:Temporal population graphs of Australia to Category:Temporal population graphs by age in Australia and that category can be added to any such charts in both the Category:Temporal population graphs of males in Australia and Category:Temporal population graphs of females in Australia categories. Delphi234 (talk) 19:01, 24 October 2014 (UTC)

Quantify deleted transferred uploads

To prove there is a need for access to deleted material on other projects, I'd like to present some statistics that would quantify (ideally sufficient to warrant that access) how many files were transferred and how many of them were deleted, or how many requests for undeletion or accessing deleted content on other projects Commons folk initiated. Other statistics that help to prove the same are welcome, too. -- Rillke(q?) 16:11, 27 October 2014 (UTC)

Category duplication fixing

I was just going through all of my photographs to fix some licensing and permissions on them and I noticed that there were some categories duplicated twice. Since I ran into it on more than one image, I figured that there must be many more images out there with issues like this. In lieu of having no technical skills to code a bot, would someone be able to run a bot or create one that removes duplicate categories from images? Kevin Rutherford (talk) 05:54, 6 November 2014 (UTC)

As I understand this, it is only a minor problem in the source, not the parsed page. Nonetheless, user:yaCBot fixes those. --McZusatz (talk) 17:46, 6 November 2014 (UTC)
This section was archived on a request by: Leyo 10:05, 27 November 2014 (UTC): OK?

Please remove boilerplate in conflict with {{PD-USGov}} from ~400 files

We have lots of cool official White House photos, which are (or should be) all tagged PD-USGov. Please remove boilerplate that's in conflict with {{PD-USGov}}. For admin confirmation that this is appropriate, see here (concise) and here (longer). Cirt notes, "Commonly the blurb text used for example at http://www.flickr.com/photos/whitehouse/14081505711/ by the current White House Administration account with Flickr is wrong." The admin continues, "The best way to remedy this is not to include the disclaimer text from Flickr from that account, and simply include the "PD-USGov" tag, as that's the official copyright license for those images." I don't have the patience to remove every instance of the boilerplate (~400) manually, but maybe someone will make a bot do it. Thanks in advance! (It looks like VisualFileChange tool can not be used for these mass-changes because it doesn't allow body searches in the initial select. Am I right about that, User:Pigsonthewing?) --Elvey (talk) 17:22, 29 October 2014 (UTC)

Rationale and safety: In addition to the above, I think it's safe to delete the text "This official White House photograph is being made available only for publication by news organizations and/or for personal use printing by the subject(s) of the photograph. The photograph may not be manipulated in any way and may not be used in commercial or political materials, advertisements, emails, products, promotions that in any way suggests approval or endorsement of the President, the First Family, or the White House." en masse from file space because of the explanations given and linked to above. Because it's inherently contradictory, the bot shouldn't be in error. If it's an "official White House photograph", it is a work of the US Government, which makes it PD, so manipulations and commercial use are generally fine. I've already done a half dozen or so such edits, and they have all survived scrutiny.--Elvey (talk) 17:22, 29 October 2014 (UTC)

Leaving it in place is, arguably, perpetuating copyfraud.--Elvey (talk) 20:17, 31 October 2014 (UTC)

Post-archival comment: I've started doing this myself using VisualFileChange.js. See Commons:Village_pump/Copyright#fix_bogus_boilerplate.--Elvey (talk) 23:56, 10 July 2015 (UTC)

Hi, could a bot just do a nulledit to all images within the category? Reason: The categorising by Template:BSD has been changed and all images should now appear in Category:BSD licenses (note the upper/lower case difference). The servers jobqueue seems not to clean up that backlog. Thx in advance. --JuTa 18:27, 29 November 2014 (UTC)

Looks like the job queue has gone over it :) --Zhuyifei1999 (talk) 10:55, 30 November 2014 (UTC)
Looks like User:Wieralee was activ here. Thx a lot. Case can be closed. --JuTa 18:53, 30 November 2014 (UTC)
This section was archived on a request by: — Revi 08:45, 1 December 2014 (UTC)

At the german language Wikipedia the article de:Schachbundesliga was moved to de:Schachbundesliga (Deutschland). de:Schachbundesliga now is a disambiguation page. Could a bot change all such crosswiki links here at Commons:

  • from [[:de:Schachbundesliga| to [[:de:Schachbundesliga (Deutschland)|
  • from [[:de:Schach-Bundesliga| to [[:de:Schachbundesliga (Deutschland)|
  • from [[:de:2. Schachbundesliga| to [[:de:2. Schachbundesliga (Deutschland)|
  • from [[:de:2. Schach-Bundesliga| to [[:de:2. Schachbundesliga (Deutschland)|
  • from [[:de:Schachbundesliga# to [[:de:Schachbundesliga (Deutschland)#
  • from [[:de:Schach-Bundesliga# to [[:de:Schachbundesliga (Deutschland)#
  • from [[:de:2. Schachbundesliga# to [[:de:2. Schachbundesliga (Deutschland)#
  • from [[:de:2. Schach-Bundesliga# to [[:de:2. Schachbundesliga (Deutschland)#

Many thanks for your help! --Filzstift (talk) 12:30, 30 October 2014 (UTC) updated --Filzstift (talk) 20:13, 30 October 2014 (UTC)

I can't find links here on commons. "There were no results matching the query." --Steinsplitter (talk) 20:40, 30 October 2014 (UTC)
I will check it with Tsor. --Filzstift (talk) 10:52, 4 November 2014 (UTC)

Inserting language templates

This section was archived on a request by: Amir (talk) 22:02, 6 December 2014 (UTC)

Could a bot owner please apply such changes to Special:ListFiles/NEUROtiker? --Leyo 22:40, 24 November 2014 (UTC)

@Ladsgroup: Would you be able to do this task? --Leyo 01:15, 3 December 2014 (UTC)
I'll do it in the next week, it's easy Amir (talk) 08:08, 3 December 2014 (UTC)
Thank you. The following non-localized lines that are present in many cases (one of them) may also be removed at the same time:
|Permission=Own work, all rights released (Public domain)
|Permission=Image is ineligible for copyright and therefore public domain.
At least, if {{PD-chem}} (that contains all necessary information) is present. --Leyo 09:05, 3 December 2014 (UTC)

Done Amir (talk) 22:02, 6 December 2014 (UTC)

Thank you. --Leyo 00:41, 7 December 2014 (UTC)

Replace superseded flags of municipalities of the Netherlands

Hello, I created a list with flags and a better vectorized version of the corresponding flag.
It would be nice if somebody could do a mass replace on this list, I could do it myself via GlobalReplace but that would take too much time and all the recent changes will be spammed with my edits.
Thanks in advance!

List:
mirror

Old flag: New flag (all svg):
Flag of Aa en Hunze.gif Flag of Aa en Hunze.svg
Assen flag 450.jpg Flag of Assen.svg
Flag of Borger-Odoorn.gif Borger-Odoorn vlag.svg
Flag of Coevorden.gif Flag of Coevorden.svg
VlagEmmen.gif Emmen vlag.svg
Hoogeveen flag 450 outline.jpg Flag of Hoogeveen.svg
VlagMeppel.gif Flag of Meppel.svg
Flag of Midden-Drenthe.gif Midden-Drenthe Netherlands.svg
Flag of the municipality of Tynaarlo.gif Flag of Tynaarlo.svg
Lelystad flag.jpg Flag of Lelystad.svg
Flag of Noordoostpolder.gif Noordoostpolder vlag.svg
Vlag urk.gif Urk vlag.svg
Zeewolde flag.png Flag of Zeewolde.svg
Flag of Achtkarspelen.jpg Flag of Achtkarspelen.svg
Flag of Ameland.jpg Flag of Ameland.svg
VlagBarradeel.jpg Flag of Barradeel.svg
Het Bildt flag outline.png Flag of Het Bildt.svg
Flag of Bolsward.gif Bolsward flag.svg
Flag of Boornsterhem.jpg Flag of Boarnsterhim.svg
Vlagdokkum.png Flag of Dokkum.svg
Ferwerderadeel flag.png Flag of Ferwerderadiel.svg
VlagFranekeradeel.jpg Franekeradeel flag.svg
Flag of Gaasterlân-Sleat.jpg Gaasterlan-Sleat flag.svg
Flag of Harlingen.png Harlingen flag.svg
Flag of Heerenveen.jpg Heerenveen flag.svg
VlagKollumerzwaag.gif VlagKollumerzwaag.svg
VlagLeeuwarderadeel.jpg Flag of Leeuwarderadeel.svg
Lemsterland flag outline.png Flag of Lemsterland.svg
Flag of Littenseradiel.jpg Littenseradiel flag.svg
Flag of Menaldumadeel.jpg Menaldumadeel flag.svg
Flag of Nijefurd.jpg Nijefurd flag.svg
Flag of Ooststellingwerf.jpg Ooststellingwerf flag.svg
Opsterland flag outline.png Flag of Opsterland.svg
Opsterland flag.png Flag of Opsterland.svg
Aldtsjerk flag.png Aldtsjerk flag.svg
Flag of Skarsterlan.gif Skarsterlan flag.svg
VlagSkarsterlan.jpg Skarsterlan flag.svg
Flag of Smallingerland.jpg Smallingerland flag.svg
Sneek flag.png Flag of Sneek.svg
Vlag Sudwest Fryslan.png Súdwest Fryslân vlag.svg
Flag of the Terschelling Island.svg Flag of Terschelling.svg
Terschelling flag.svg Flag of Terschelling.svg
Flag of Tytsjerksteradiel.jpg Tytsjerksteradiel flag.svg
VlagWorkum.gif Flag of Workum.svg
VlagVlieland.jpg Flag of Vlieland.svg
Vlieland flag 450 outline.jpg Flag of Vlieland.svg
Flag of Weststellingwerf.jpg Weststellingwerf flag.svg
Wonseradeel flag outline.png Flag of Wonseradeel.svg
Flag of Wymbritseradiel.jpg Wymbritseradiel flag.svg
Flag of Ammerzoden.png Ammerzoden vlag.svg
VlagApeldoorn.png Apeldoorn vlag.svg
VlagArnhem.gif VlagArnhem.svg
Vlag Barneveld.png Barneveld vlag.svg
Flag of Berkelland.png Flag of Berkelland.svg
Beuningen flag.png Beuningen flag.svg
Vlagbrakel.gif Brakel vlag.svg
Flag bredevoort.png Flag Bredevoort.svg
Flag of Brummen.png Brummen vlag.svg
Buren flag outline.png Flag of Buren.svg
Culemborg flag 450.png Culemborg flag.svg
Doesburg flag outline.png Flag of Doesburg.svg
Doetinchem flag outline.png Flag of Doetinchem.svg
Flag of Druten.png Druten vlag.svg
Duiven flag outline.png Flag of Duiven.svg
Vlag van Ede.png Flag of Ede.svg
Vlag van Elst.gif Flag of Elst, Gelderland.svg
Flag of Ermelo.jpg Ermelo vlag.svg
Flag of Ewijk.gif Ewijk vlag.svg
Flag of Elburg.gif Elburg vlag.svg
Flag of Epe.png Flag of Epe.svg
Flag of Hattem.png Hattem vlag.svg
Flag of Neerijnen.png Neerijnen vlag.svg
Flag of Nijkerk.png Nijkerk vlag.svg
Flag of Nunspeet.png Nunspeet vlag.svg
Flag of Oost Gelre (purple).gif Oost Gelre vlag.svg
Flag of Oost Gelre (red).gif Oost Gelre vlag oranje.svg
Geldermalsen flag.png Flag of Geldermalsen.svg
Groenlo vlag.png Groenlo vlag.svg
Harderwijk flag.png Flag of Harderwijk.svg
Vlagdorphedel.gif Vlagdorphedel.svg
Heerde flag.png Flag of Heerde.svg
Flag of Heumen.png Heumen vlag.svg
Flag of Kerkdriel.png Flag of Kerkdriel, Gelderland, Netherlands.svg
Lichtenvoorde flag.gif Lichtenvoorde vlag.svg
Flag lingewaard.png Flag of Lingewaard.svg
Lochem flag.png Flag of Lochem.svg
Maasdriel flag outline.png Maasdriel Netherlands.svg
Millingen aan de Rijn flag outline.png Flag of Millingen aan de Rijn.svg
Flag Neder Betuwe.png Neder-Betuwe vlag.svg
Nijmegen flag 450.png Flag of Nijmegen.svg
Flag Oude IJsselstreek.png Oude IJsselstreek vlag.svg
Gemeentevlag overbetuwe.png Flag of Overbetuwe.svg
Putten flag.png Putten vlag.svg
Renkum flag outline.png Flag of Renkum.svg
Rheden flag.png Flag of Rheden.svg
Rijnwaarden flag outline.png Flag of Rijnwaarden.svg
Flag of Oldebroek.png Oldebroek vlag.svg
Flag of Rozendaal.png Rozendaal vlag.svg
Tiel flag 450.png Flag of Tiel.svg
Ubbergen flag.png Flag of Ubbergen.svg
Vlag Lingewaal.gif Lingewaal vlag.svg
Voorst flag.png Flag of Voorst.svg
Wageningen vlag.gif Wageningen vlag.svg
Wehlvlag.gif Wehlvlag.svg
West-Maas-en-Waal vlag.png West Maas en Waal-vlag.svg
Vlag van Wijchen.gif Flag of Wijchen.svg
Winterswijk flag outline.png Flag of Winterswijk.svg
Flag of Zaltbommel.jpg Zaltbommel vlag.svg
Flag of Zevenaar.gif Zevenaar Netherlands.svg
Zutphen flag outline.png Flag of Zutphen.svg
Appingedam flag.png Flag of Appingedam.svg
Bedum flag outline.png Flag of Bedum.svg
BellingweddeVlag.png Bellingwedde vlag.svg
Delfzijl flag.png Flag of Delfzijl.svg
Groningen city flag outline.png Flag of Groningen City.svg
Grootegast flag outline.png Flag of Grootegast.svg
VlagHaren.gif Haren vlag.svg
VlagHoogezandSappemeer.gif Hoogezand-Sappemeer vlag.svg
Kielvlag.jpg Flag of Kiel-Windeweer.svg
Leek flag outline.png Flag of Leek.svg
Vlag van Loppersum.gif Loppersum vlag.svg
Vlag de Marne.jpg De Marne vlag.svg
VlagMarum.gif Marum Netherlands.svg
VlagMenterwolde.jpg Menterwolde Netherlands.svg
Pekela vlag.png Pekela vlag.svg
Reiderland.png Flag of Reiderland.svg
Scheemdavlag.PNG Flag of Scheemda.svg
Slochteren.gif Slochteren vlag.svg
Stadskanaal flag.png Flag of Stadskanaal.svg
Ten-Boer vlag.png Flag of Ten Boer.svg
Veendam vlag.png Veendam vlag.svg
Vlagtwedde vlag.png Vlagtwedde vlag.svg
WINSCHOTENFLAG.JPG Flag of Winschoten.svg
VlagWinsum.gif VlagWinsum.svg
Ambt Montfort flag outline.png Ambt Montfoort flag outline.svg
Beek flag outline.png Flag of Beek (Limburg).svg
Flag of Beesel.png Beesel vlag.svg
Bergen limburg flag.png Bergen limburg flag.svg
Vlagbroekhuizen.gif Vlagbroekhuizen.svg
Flag of Brunssum.gif Brunssum vlag.svg
Echt Susteren flag.png Flag of Echt-Susteren.svg
Vlag Geleen.gif Flag of Geleen.svg
Gulpen-Wittem flag.png Gulpen-Wittem flag.svg
Flag of Heerlen.png Heerlen vlag.svg
Helden flag.png Flag of Helden.svg
Horstadmaas flag.png Horst aan de Maas vlag.svg
Flag of Kerkrade outlined.svg Flag of Kerkrade.svg
Kerkrade flag 450 outline.png Flag of Kerkrade.svg
Flag of Landgraaf.png Flag of Landgraaf.svg
Flag-leudal.png Leudal vlag.svg
Maasbree flag.png Flag of Maasbree.svg
Maasgouw vlag.jpg Maasgouw vlag.svg
Meerlo Wanssum flag outline.png Flag of Meerlo Wanssum.svg
Flag of Meerssen.png Meerssen vlag.svg
Meijel flag.png Flag of Meijel.svg
Flag of Mook en Middelaar.png Mook en Middelaar vlag.svg
Nederweert flag outline.png Nederweert flag.svg
Flag of Nuth.png Nuth vlag.svg
Flag-onderbanken.png Onderbanken vlag.svg
Vlag ottersum.png Ottersum vlag.svg
Roerdalen flag outline.png Flag of Roerdalen.svg
Roermond flag 450 outline.jpg Flag of Roermond until 2010.svg
Roermond flag 450 outline.png Flag of Roermond until 2010.svg
Roermond flag 450.jpg Flag of Roermond until 2010.svg
Schinnen vlag.png Schinnen vlag.svg
Flag of Simpelveld.png Simpelveld vlag.svg
Flag of Sittard.GIF Sittard-Geleen Netherlands.svg
Sittard flag.png Sittard-Geleen Netherlands.svg
Stein flag.png Flag of Stein.svg
Swalmen flag 450.png Flag of Swalmen.svg
Gemeentevlag Vaals.jpg Vaals vlag.svg
Vaals vlag.png Vaals vlag.svg
Valkenburg ad geul flag.png Flag of Valkenburg aan de Geul.svg
Flag of Venlo.png Flag of Venlo, Netherlands (until 2010).svg
Venray flag.png Venray vlag.svg
Flag of Voerendaal.gif Voerendaal vlag.svg
Flag of Weert.jpg Flag of Weert.svg
Flag of Aalburg.png Flag of Aalburg.svg
Flag of Alphen-Chaam.png Alphen-Chaam vlag.svg
Asten flag outline.png Flag of Asten.svg
Baarle-Nassau flag.png Image:Baarle-Nassau flag.svg
Flag of Bergeijk.png Bergeijk Netherlands.svg
Flag of Bergen op Zoom.png Bergen op Zoom vlag.svg
Flag of Bernheze.png Flag of Bernheze.svg
Flag of Best, North Brabant.gif Flag of Best North Brabant.svg
Flag of Bladel.png File:Flag of Bladel.svg
Boekel flag.png Flag of Boekel.svg
Flag of Boxmeer.gif Boxmeer vlag.svg
Flag of Boxtel.gif Boxtel vlag.svg
Flag of Cranendonck.jpg Cranendonck vlag.svg
Vlagcromvoirt.jpg Vlagcromvoirt.svg
Cuijk vlag.png Flag of Cuijk.svg
Deurne vlag.png Deurne vlag.svg
Dongen flag outline.png Dongen Netherlands.svg
Drimmelen vlag.png Drimmelen vlag.svg
Vlag Drunen.gif Vlag Drunen.svg
FlagEersel.gif Eersel vlag.svg
VlagEersel.gif Eersel vlag.svg
Eindhoven flag outline.png Flag of Eindhoven.svg
Flag of Engelen 1960.png Flag of Engelen.svg
Etten-Leur vlag.png Etten-Leur vlag.svg
Geertruidenberg vlag.png Geertruidenberg vlag.svg
Geldrop-Mierlo vlag.png Geldrop-Mierlo vlag.svg
Gemert-Bakel vlag.png Gemert-Bakel vlag.svg
Flag of Gilze en Rijen.png Gilze en Rijen vlag.svg
Flag of Goirle.png Goirle vlag.svg
Grave vlag.png Grave vlag.svg
Vlaghaarennb.gif Haaren vlag.svg
Flag of Halderberge.png Halderberge vlag.svg
Flag of Heeze-Leende.png Heeze-Leende vlag.svg
Helmond vlag.png Helmond vlag.svg
Flag of Hertogenbosch.png Flag of 's-Hertogenbosch.svg
Flag of Hilvarenbeek.png Hilvarenbeek vlag.svg
Laarbeek flag outline.png Flag of Laarbeek.svg
Loon op zand outline.png Flag of Loon op Zand.svg
Mill-en-Sint-Hubert vlag.png Mill en Sint Hubert vlag.svg
Moerdijk flag.png Flag of Moerdijk.svg
Nuenen flag outline.png Flag of Nuenen.svg
Flag of Oirschot.png Oirschot vlag.svg
Oisterwijk flag outline.png Flag of Oisterwijk.svg
Oss flag outline.png Flag of Oss.svg
Reusel-De-Mierden Flag.png Reusel-De Mierden vlag.svg
Flag of Roosendaal.png Roosendaal vlag.svg
Rucphen flag.png Flag of Rucphen.svg
Schijndelse valg.gif Schijndel Netherlands.svg
St michielsgestel flag outline.png Flag of Sint-Michielsgestel.svg
Sint-Oedenrode vlag.png Sint-Oedenrode vlag.svg
Flag of Someren.gif Someren vlag.svg
Flag of Son en Breugel.png File:Flag of Son en Breugel.svg
Steenbergen flag outline.png Flag of Steenbergen.svg
Vlag SteenbergenNB.png Vlag SteenbergenNB.svg
Uden vlag millennium.png Flag of Uden.svg
Uden.png Flag of Uden.svg
Valkenswaard flag.png Flag of Valkenswaard.svg
Veghelvlag.png Flag of Veghel.svg
Vlagveghel.gif Flag of Veghel.svg
Flag of Veldhoven.jpg Veldhoven vlag.svg
Vught flag.png Flag of Vught (unofficial) pre 2010.svg
Vught vlag.png Flag of Vught (unofficial) pre 2010 horizontal.svg
Flag of Waalre.gif Waalre vlag.svg
Waalwijk vlag.png Waalwijk vlag.svg
Flag of Werkendam.jpg Werkendam vlag.svg
Woensdrecht flag.png Flag of Woensdrecht.svg
Flag of Woudrichem.png Woudrichem vlag.svg
Flag of Zundert.png Zundert vlag.svg
Alkmaar flag.png Alkmaar Flag.svg
Alkmaar flag.svg Alkmaar Flag.svg
Amstelveen flag.png Amstelveen flag.svg
Andijk flag.png Andijk flag.svg
Anna-Paulowna vlag.png Anna Paulowna vlag.svg
Baarn flag.png Baarn flag.svg
Beemster flag.png Beemster flag.svg
Bennebroek flag.png Bennebroek flag.svg
Flag of Beverwijk.gif Flag of Beverwijk.svg
Blaricum vlag.png Blaricum vlag.svg
Bloemendaal flag outline.png Flag of Bloemendaal.svg
Bussum vlag.png Bussum Netherlands.svg
Castricum vlag.png Castricum vlag.svg
VlagGemeenteDiemenOfficieel.JPG Flag of Diemen (municipality).svg
Flag of Diemen (old version).png Flag of Diemen (old version).svg
Drechterland vlag.png Drechterland vlag.svg
Edam-volendam flag.png Flag of Edam-Volendam.svg
Enkhuizen vlag.png Enkhuizen vlag.svg
Graft-De-Rijp vlag.png Graft-De Rijp vlag.svg
Haarlemvlag.gif Flag Haarlem.svg
Haarlemmermeer vlag.png Haarlemmermeer vlag.svg
Haarlemmerliede vlag.png Haarlemmerliede vlag.svg
Harenkarspel flag.png Flag of Harenskarpel.svg
Vheemskerk.gif Heemskerk vlag.svg
Heemstede flag.png Flag of Heemstede.svg
Heerhugowaard flag outline.png Flag of Heerhugowaard.svg
Heiloo vlag.png Heiloo vlag.svg
Den-Helder vlag.png Flag of Den Helder.svg
Hilversum vlag.png Hilversum vlag.svg
Hoorn flag outline.png Flag of Hoorn.svg
Huizen vlag.png Huizen vlag.svg
Landsmeer vlag.png Landsmeer vlag.svg
Langedijk vlag.png Langedijk vlag.svg
Laren (Noord-Holland) vlag.png Flag of Laren, North Holland.svg
Medemblik vlag.png Flag of Medemblik.svg
Muiden flag outline.png Flag of Muiden.svg
Flag Naarden.png Naarden vlag.svg
Noorder-Koggenland flag.png Flag of Noorder-Koggenland.svg
Obdam vlag.png Flag of Obdam.svg
Flag of Oostzaan.gif Oostzaan vlag.svg
Opmeer vlag.png Opmeer vlag.svg
Ouder-Amstel flag.png Ouder-Amstel flag.svg
Purmerend flag.png Flag of Purmerend.svg
Schagen flag.png Flag of Schagen.svg
Flag of Schermer.png Schermer vlag.svg
Stede-Broec vlag.png Stede-Broec vlag.svg
Texel flag.png Texel flag.svg
Uitgeest vlag.png Uitgeest vlag.svg
Flag of Uithoorn.png Uithoorn vlag.svg
Velsen vlag.png Velsen vlag.svg
Waterland vlag.png Waterland vlag.svg
Weesp vlag.png Weesp Netherlands.svg
Wervershoof flag outline.png Flag of Wervershoof.svg
Wieringen vlag.png Wieringen vlag.svg
Wieringermeer vlag.png Wieringermeer vlag.svg
Wijdemeren vlag.png Wijdemeren vlag.svg
Wormerland vlag.png Flag of Wormerland.svg
Flag of Zaanstad,Netherlands.png Flag of Zaanstad.svg
Zandvoort flag.png Flag of Zandvoort.svg
Zeevang flag outline.png Zeevang Netherlands.svg
Zijpe vlag.png Zijpe vlag.svg
Almelo flag outline.png Almelo flag outline.svg
Vlag avereest.PNG Flag of Avereest, Netherlands.svg
Borne flag.png Flag of Borne (Overijssel).svg
Dalfsen flag outline.png Flag of Dalfsen.svg
Flag of Stad Delden.jpg Flag of Stad Delden.svg
VLAG DEN HAM.JPG Den Ham vlag.svg
Flag of Deventer.gif Deventer vlag.svg
VLAG DIEPENHEIM.JPG Flag of Diepenheim, Netherlands.svg
VLAG DIEPENVEEN.JPG Flag of Diepenveen, Netherlands.svg
Gemeentevlag Dinkelland.png Dinkelland vlag.svg
Flag enschede.gif Flag of Enschede.svg
Flag enschede2.gif Flag of Enschede.svg
Haaksbergen flag.png Flag of Haaksbergen.svg
Vlag Hasselt.gif Hasselt vlag.svg
Flag of Hellendoorn.PNG Hellendoorn vlag.svg
Hengelo ov flag.png Hengelo Netherlands.svg
Kampen flag outline.png Flag of Kampen.svg
Flag of Losser.gif Flag of Losser.svg
Markelo.png Flag of Markelo, Netherlands.svg
Oldenzaal flag outline.png Flag of Oldenzaal.svg
Flag of Olst-Wijhe.jpg Olst wije vlag.svg
Ommen flag outline.png Flag of Ommen.svg
Flag of Raalte.png Raalte vlag.svg
Flag of Staphorst.png Staphorst vlag.svg
Flag of Tubbergen.png Tubbergen vlag.svg
VlagTwenterand.gif Flag of Twenterand.svg
VLAG VRIEZENVEEN.JPG Flag of Vriezenveen.png
Flag of Wierden.gif Wierden vlag.svg
Zwartewaterland flag outline.png Flag of Zwartewaterland.svg
Flag Zwollerkerspel.GIF Flag of Zwollerkerspel, Netherlands.svg
Flag of Alblasserdam.gif Alblasserdam vlag.svg
Albrandswaard flag.png Albrandswaard flag.svg
Flag of Alphen aan den Rijn.png Alphen aan den Rijn flag outline.svg
Flag of Barendrecht.gif Barendrecht vlag.svg
Vlag Benthuizen.gif Flag of Benthuizen.svg
Flag of Bergambacht.png Bergambacht vlag.svg
Bergschenhoek flag outline.png Flag of Bergschenhoek.svg
FlagBerkelenRodenrijs.gif Flag of Berkel en Rodenrijs.svg
Flag of Bernisse.png Flag of Bernisse.svg
Flag of Binnenmaas.png Binnenmaas vlag.svg
Bleiswijk flag outline.png Flag of Bleiswijk.svg
Bodegraven flag.png Bodegraven flag.svg
Boskoop flag outline.png Flag of Boskoop.svg
Flag of Boskoop.png Flag of Boskoop.svg
Brielle flag outline.png Flag of Brielle.svg
Flag of Capelle aan den IJssel.gif Capelle aan den IJssel vlag.svg
Delft flag outline.png Flag of Delft.svg
Flag of Delft.png Flag of Delft.svg
Gemeentevlag Dirksland.gif Dirksland vlag.svg
Dordrecht flag outline.png Flag of Dordrecht.svg
Giessenlanden vlag.gif Giessenlanden vlag.svg
Gemeentevlag Goedereede.gif Goedereede vlag.svg
Gorinchem flag outline.png Flag of Gorinchem.svg
Flag of Gouda.png Flag of Gouda.svg
Graafstroom flag.png Graafstroom flag.svg
FlagTheHague.jpg Flag of The Hague.svg
Hardinxveldgiessendam flag.gif Hardinxveldgiessendam flag.svg
Flag Hellevoetsluis.png Flag of Hellevoetsluis.svg
Hendrik-Ido-Ambacht flag.png Flag of Hendrik-Ido-Ambacht.svg
Flag hillegom.gif Flag of Hillegom.svg
Flag kaag en braassem.png Vlag van Kaag en Braassem.svg
Flag of Katwijk.gif Katwijk vlag.svg
Katwijk flag outline.png Flag of Katwijk.svg
Katwijk flag.png Katwijk vlag.svg
Korendijk flag outline.png Flag of Korendijk.svg
Vlag krimpen aan den ijssel.gif Krimpen aan den Ijssel vlag.svg
Flag of Lansingerland.png Flag Lansingerland.svg
Leerdam flag.png Leerdam flag.svg
Flag Leiden.gif Flag of Leiden.svg
Leiderdorp flag.gif Leiderdorp vlag.svg
Vlag van leidschendam-voorburg.gif Leidschendam-Voorburg vlag.svg
Lisse flag.png Flag of Lisse.svg
Maassluis flag outline.png Maassluis flag.svg
Gemeentevlag Middelharnis.gif Middelharnis vlag.svg
Vlag md.jpg Midden Delfland vlag.svg
Flag of Moordrecht.png Flag of Moordrecht.svg
Nieuw-Lekkerland flag.png Flag of Nieuw-Lekkerland.svg
Noordwijk vlag.gif Noordwijk vlag.svg
Noordwijkerhout vlag.gif Noordwijkerhout vlag.svg
Oegstgeest flag.png Oegstgeest Netherlands.svg
Vlag Oostvoorne.png Flag of Oostvoorne.svg
Oud-Beijerland flag.png Flag of Oud-Beijerland.svg
Ouderkerk flag.jpg Ouderkerk Netherlands.svg
Papendrecht flag.png Flag of Papendrecht.svg
Vlag pijnackernootdorp.gif Pijnacker-Nootdorp vlag.svg
Reeuwijk flag outline.png Flag of Reeuwijk.svg
Vlag Ridderkerk.png Ridderkerk Netherlands.svg
Rijnwoude vlag.gif Rijnwoude vlag.svg
Rijswijk zh flag.png Flag of Rijswijk.svg
Flag Rotterdam.png Flag of Rotterdam.svg
Sassenheim flag.png Flag of Sassenheim.svg
Schiedam flag.png Flag of Schiedam.svg
Schoonhoven vlag.jpg Schoonhoven vlag.svg
Flag of Sliedrecht.png Sliedrecht Netherlands.svg
Spijkenisse flag outline.png Flag of Spijkenisse.svg
Strijen flag.png Flag of Strijen.svg
Flag of Ter Aar.png Flag of Ter Aar.svg
Ter aar flag.png Flag of Ter Aar.svg
Valkenburg zh flag.png Flag of Valkenburg.svg
Vlaardingen flag 300.jpg Flag of Vlaardingen.svg
Vlaardingen flag.png Flag of Vlaardingen.svg
Flag of Vlist.jpg Vlist vlag.svg
Vlist flag.gif Vlist vlag.svg
Voorhout flag outline.png Flag of Voorhout.svg
Voorschotenvlag.jpg Flag of Voorschoten.svg
Vlag waddinxveen.gif Vlag waddinxveen.svg
Warmond flag outline.png Flag of Warmond.svg
Wassenaar flag.gif Wassenaar flag.svg
Westland municipality flag.png Westland municipality flag.svg
Westvoorne flag outline.png Flag of Westvoorne.svg
Flag of Zederik.png Zederik vlag.svg
Vlagzoetermeer.jpg Zoetermeer vlag.svg
Zoeterwoudevlag.gif Flag of Zoeterwoude.svg
Flag zuidplas.png Zuidplas flag.svg
Zwijndrecht flag.png Zwijndrecht vlag.svg
Amersfoort flag outline.png Amersfoort flag outline.svg
Vlag de Bilt.jpg Vlag de Bilt.svg
Breukelen flag.png Flag of Breukelen.svg
Flag of Bunnik.jpg Flag of Bunnik.svg
Flag of Bunschoten.gif Bunschoten vlag.svg
Vlag Doorn.jpg Flag of Doorn, Netherlands.svg
Vlag Eemnes.jpg Eemnes vlag.svg
Houten flag.png Flag of Houten.svg
IJsselstein flag.png Flag of IJsselstein.svg
Leersum flag.png Flag of Leersum.svg
Leusden flag.png Flag of Leusden.svg
Nederland Montfoort Linschoten Vlag.gif Flag of Linschoten.svg
Flag of Lopik.jpg Lopik vlag.svg
Flag of Montfoort.jpg Montfoort vlag.svg
Nieuwegein flag.png Nieuwegein flag.svg
Renswoude flag outline.png Flag of Renswoude.svg
Rhenen flag outline.png Flag of Rhenen.svg
Flag of de Ronde Venen.jpg De ronde venen vlag.svg
Soest flag.png Soest flag.svg
Flag utrecht city.gif Flag of Utrecht.svg
Veenendaal flag.png Veenendaal Netherlands.svg
Flag of Vianen.jpg Vianen vlag.svg
Vlag van Wijk bij Duurstede.gif Vlag van Wijk bij Duurstede.svg
Vlag Woerden.jpg Woerden flag.svg
Woudenberg flag.png Flag of Woudenberg.svg
Zeist flag.png Flag of Zeist.svg
Flag of Borsele.png Flag of Borsele.svg
Goes flag outline.png Flag of Goes.svg
Flag of Hulst.gif Hulst vlag.svg
Flag of Hulst.jpg Hulst vlag.svg
Kapelle flag outline.png Flag of Kapelle.svg
Flag of Kortgene.jpg Flag of Kortgene SVG.svg
Flag middelburg.gif Middelburg vlag.svg
Vlag van Noord-Beveland.gif Noord-Beveland vlag.svg
Reimerswaal flag.png Flag of Reimerswaal.svg
Vlagschouwenduiveland.jpg Schouwen-Duiveland vlag.svg
Flag of Sluis.gif Sluis vlag.svg
Flag of Terneuzen.png Terneuzen vlag.svg
Tholen flag.png Flag of Tholen.svg
Flag of Vlissingen.gif Vlissingen vlag.svg
Flag of Wissenkerke.jpg Wissenkerke vlag.svg

Robin0van0der0vliet (talk) 17:23, 13 November 2014 (UTC)

For this task, the bot needs to be flagged globally. But this task is not in the scope of global bots. Only CommonsDelinker have flags on a lot of wikis with a task description of "replacing images", but it does not allow gif/jpg/png => svg. I doubt having a bot do this task does anything better than GlobalReplace. --Zhuyifei1999 (talk) 05:23, 14 November 2014 (UTC)
If the source was available, at least one could modify it to do this semi-automatic. --McZusatz (talk) 06:00, 14 November 2014 (UTC)
Is there a global consensus of some sort that changes to svg formats are always better everywhere? Randomly checking File:Flag of Tholen.svg against File:Tholen flag.png shows that the svg currently appears washed out in colour compared to the png file and the png has a black border which does not exist on the svg. I would have expected the minimum requirement would be for the flags to appear identical before swapping; without this as a guarantee, some changes may be contentious (especially considering the long history on Commons of folks arguing and reverting each other over flag designs). -- (talk) 08:31, 14 November 2014 (UTC)
The svg version of the flag of Tholen is better then the png version, since the colors are more accurate the Vexilla Mundi source. If you check the history of the SVG file you see that it also first had those colors. I also generated this list based on the templates on the non-svg versions which indicate that there is a better version. Robin0van0der0vliet (talk) 11:54, 14 November 2014 (UTC)
If the color is the only concern, I support the use of the SVG version because changing the color or uploading a differently colored SVG version is the "cleaner" way compared to keep using the PNG file only based on the color differences. However, if the flag is open for interpretation in regards to shape or realizing object details (e.g. File:Flag of Staphorst.png), a global replace should be handled with caution. --McZusatz (talk) 20:50, 14 November 2014 (UTC)

Remove category based on metadata

I've had a Canon Powershot camera for several years, and a significant majority of my uploads were taken with it. Some time ago, someone went around adding Category:Taken with Canon PowerShot A540 to all of my own-work photo uploads; it's a great idea, but there are occasionally problems, e.g. File:Eastvale Reformed Presbyterian Church.jpg, which I took with a previous camera of a different model. I'd appreciate it if someone could have a bot perform the following routine:

  • Load all files in the relevant categories (see below), one at a time of course
  • See if the file is also in Taken with Canon PowerShot A540; if not, ignore and go to the next photo
  • If it is in that category, check the contents of the "Camera model" field in the metadata
  • If the field contains Canon PowerShot A540, do nothing and go to the next image
  • If the field doesn't contain Canon PowerShot A540 (either it's blank or it has something else), remove the Taken with category and go to the next image

The categories in question are Category:Aerial pictures by User:Nyttend, Category:Building-centered pictures by User:Nyttend, Category:Community pictures by User:Nyttend, Category:Highway pictures by User:Nyttend, Category:Miscellaneous images by User:Nyttend, Category:Portraits by User:Nyttend, Category:Scenery pictures by User:Nyttend, and Category:Signs by User:Nyttend. Thanks for the help! Nyttend (talk) 00:18, 15 November 2014 (UTC)

New licence for my photos

Hello, i would like replace the licence of photos that i have uploaded and where i am the auther of from Creative Commons Attribution ShareAlike {3,4}.0 to CC0 1.0 Universal. Would be great if someone could help me with it. Thanks, --Arnd (talk) 17:06, 12 December 2014 (UTC)

You can try "custom replace" in VisualFileChange --Zhuyifei1999 (talk) 06:47, 14 December 2014 (UTC)
Thank you, good tool which i even can use for other purposes. --Arnd (talk) 12:11, 14 December 2014 (UTC)
This section was archived on a request by: Leyo 12:33, 14 December 2014 (UTC)

Remove hardcoded "See below"s in Information permission field

Hi there. The {{Information}} template used to show the text "See below" when its Permission field was empty, as a way to point to the license. After a while, we stopped showing the empty Permission field altogether, because there was little value in the "See below". Additionally, as we're moving towards more modular ways of presenting content, we can't be sure that the license is actually "below".

However, some users have been adding "See below" manually (see examples), so we should probably get rid of those as well.

I've seen at least three different versions of the See below:

  • as plain wikitext: | Permission = See below
  • as linked wikitext: | Permission = [[#Licensing|See below]]
  • as localized template: | Permission = {{See below}}.

I recommend that we remove those to be in line with the default behavior of the {{Information}} template. Guillaume (WMF) (talk) 00:19, 2 December 2014 (UTC)

I recommend rather to move the license tag from bellow into the Permission field of the Information template. --ŠJů (talk) 02:19, 2 December 2014 (UTC)

I will fix this. Amir (talk) 12:05, 2 December 2014 (UTC)
I'm opposing ŠJů's suggestion. --Leyo 17:07, 2 December 2014 (UTC)

Leyo, what's your ideal? Something like this?

{{Information
 |description = {{See below}}
 |date = {{See below}}
 |source = {{See below}}
 |author  = {{See below}}
 |permission = {{See below}}
 |other_versions = {{See below}}
}}

{{Information}} template is intended to organize the file description page. We should not continue with coexistence of two incompatible ways how to organize the page. Either by section titlets, or by {{Information}} template. --ŠJů (talk) 18:18, 2 December 2014 (UTC)

permission is for OTRS and similar. --Leyo 18:48, 2 December 2014 (UTC)
I agree with Leyo. The current upload tools (Special:Upload, UploadWizard) all distinguish between general information and license information. What I'm suggesting here is that the files that don't conform to the current standard be made consistent. Changing the current standard is a completely different discussion. Guillaume (WMF) (talk) 23:57, 2 December 2014 (UTC)
A license is not a permission? And is not similar to OTRS permission? Oh so... UploadWizard is generally a tragedy which ignores all logic and standards and the feedback as well. It confuses camera location and object location, confuses last edit date with the shot date and the upload date, doesn't group entries logically to the Information template but shatter and scatter them chaotically around and outside etc. As long as we don't want to resolve the problem with "see bellow" phenomenon really, we should rather keep it be as it is for now. --ŠJů (talk) 23:36, 4 December 2014 (UTC)
Your personal grievance with UploadWizard aside, what we're proposing here is to take files that are inconsistent with the current standard and make them consistent. This is also the standard used by the traditional Special:Upload form. One may personally disagree with the standard but that's not a reason to prevent others from applying it. Guillaume (WMF) (talk) 19:07, 5 December 2014 (UTC)
We never had an agreement as to where to place license so it either goes into "permission" field or below the {{Information}}. Both places are OK and unless you want to start WWIII I would not go about changing the choices of the uploaders. I am fine with removing {{See below}} from Permission field as it serves no purpose. --Jarekt (talk) 02:40, 6 December 2014 (UTC)

Commons:Bots/Requests/Dexbot 3: once it got approved I'll start removing them. Amir (talk) 09:06, 6 December 2014 (UTC)

You can close this task as done Amir (talk) 23:39, 12 December 2014 (UTC)

This section was archived on a request by: Zhuyifei1999 (talk) 08:03, 20 December 2014 (UTC)

Wikidata

We need a bot to add {{Wikidata}} to category pages which have a reciprocal "Commons category" property (P373), "Commons gallery" property (P935) or commons page link on Wikidata. See the template's "what links here" page for examples. Can someone do that, please? Andy Mabbett (talk) 10:43, 15 October 2014 (UTC)

Easy enough and Faebot has some slack. Is there a community agreement on this to point to, it would be a very widespread change. -- (talk) 11:40, 15 October 2014 (UTC)
Note that on most wikis, {{Wikidata}} is used to link a page to the Wikidata item that precisely matches that page, not to a related Wikidata item. For Commons categories, article-like Wikidata items are only related, not the items that precisely matches the page. So we should perhaps be cautious about exactly how we use {{Wikidata}}.
Instead, we should perhaps come up with a more specialised template to link Categories here with Articles on wikidata and wikipedias, using the "topic's main category" property (P910) where possible. For those articles we could, for example, give the item's name as given in any language on Wikidata (once Phase 2 is enabled here, which Lydia is happy to turn on whenever we ask for it), and possibly the description in any language (need to check). Further fields could also be provided once Phase 3 is available.
Property P910 is only possible for Categories here that are linked to a category-like item on Wikidata. For reasonably current statistics, see d:Wikidata:WikiProject Structured Data for Commons/Phase 1 progress/Statistics and its talk page. Not all Commons cats currently have items, and of those not all category-items currently have values for property P910 to indicate corresponding article-items. But creating the template would be an incentive to improve this. Jheald (talk) 12:19, 15 October 2014 (UTC)
Pinging @Multichill: for feed-in on this. Jheald (talk) 12:23, 15 October 2014 (UTC)
Parking, pending advice. Looking at https://www.wikidata.org/wiki/Q76 as an example, this shows that the Commons gallery Barack Obama already links to the Wikidata entry, yet I see no obvious template needed to do this. I suspect that any quick bot I run up would not be as efficient as other, more systematic, solutions. :-) -- (talk) 12:33, 15 October 2014 (UTC)
On a gallery page, we should be able to automatically pull the translation table, and a link to a wiki in the user's preferred language or best fallback, on the fly automatically from the corresponding fields on Wikidata. It just needs somebody to knock together a template, and the community to agree that it wants to roll it out. I'd volunteer, but I need to be a bit focussed on the supporting pages and materials for this at the moment. Jheald (talk) 14:52, 15 October 2014 (UTC)
Here's a testpage for a very basic version of such a template: d:Template:SimpleCommonsGalleryHeader/test. On Commons the "see also" link would be prettier, cf the "see also" at the top of the gallery London currently. The text of the wikilink and description should adapt automatically to the user's current language (or preferred fallback). What else would be good to be added ? Jheald (talk) 19:33, 17 October 2014 (UTC)

I'd be content for there to be a "Wikidata item for this category" template, specifically for categories. But to not have a link to Wikidata from categories, at all, is unhelpful, to say the least. As is waiting for a future phase of Wikidata. Andy Mabbett (talk) 22:09, 15 October 2014 (UTC)

@Pigsonthewing: . There are 700,000 categories that can (currently) be tied to a Wikidata article-like item using P373. A bot running at 12 edits a minute would take 6 weeks - 40 days, more precisely - to go through them all. So we should probably work out what we want, and exactly what fields we want to be putting into any template, before starting any such bot run. Jheald (talk) 23:40, 15 October 2014 (UTC)
At least I'm not wasting anyone's time with trivial requests, then ;-) Fair enough; let's decide what we need. Andy Mabbett (talk) 20:41, 16 October 2014 (UTC)
Rather than templates, isn't cross-linking something that could work in a similar way to global links? That is, more at a wiki database level rather than wiki page level, or is that a silly way of making it work system wide? -- (talk) 20:13, 17 October 2014 (UTC)
@Fae: To some extent it already does. We already have sidebar links, and clicking on the little quill at the bottom takes you to the Wikidata page. But this could certainly be made more prominent -- so there's a case for putting the link on the page; but arguably then whether and how to present such a link becomes something for the page markup code.
There's a separate issue, that some categories don't (yet) have Wikidata entries, yet relate to articles which do have a Wikidata item. So these categories need something to relate them to the article-like Wikidata item and the articles. Either that information should be stored on the page; or (better, because it can be navigated the other way as well) they should have a new category-like Wikidata item made for them, and that should be linked to the article-like Wikidata item. It's something that should bring advantages, if we can describe in machine readable form what categories represent -- ie perhaps a multiple intersection of items; or files from a particular scanning of a particular book. But with 3.5 million categories on the system, it will be quite a big task, presumably one that will need to rely heavily on some automated analysis of the category tree. Jheald (talk) 20:57, 17 October 2014 (UTC)
Any such solution will take a significant time to develop and implement. We can start applying a template today, and if the former solution eventually happens, then the links in the templates can be converted to it. Andy Mabbett (talk) 22:01, 17 October 2014 (UTC)
@Fae and Pigsonthewing: . A little more on this.
If pages have a direct 1:1 link to an item on wikidata, then a "Wikidata item" link is shown in the "tools" section of the sidebar, which goes to the wikidata page of the corresponding item.
For headers of galleries that have a linked wikidata item, can I suggest an appropriate template would be something like that tested at d:Template:SimpleCommonsGalleryHeader/test (though a bit more polished), that would automatically show a category link, language-localised wikipedia link, and language-localised description. It could also be display little icons to link to wikisource, wikiquote, wikidata etc similar to the way Creator templates do at present.
That leaves headers of categories. There are two complications here: (i) most Commons categories don't have wikidata items (and it is not clear whether they should, or whether the Structured Data team will find a different place to store structured data about them); and (ii) in most cases it is relevant Wikidata articles we are interested in a template linking to, or the Reasonator page for an article-like item, not the category page.
For categories it probably is useful to store the Q-number for a wikidata item in a template. But it should probably be the Q-number for most closely related article-like item, that could then be displayed using Reasonator, rather than the Q-number for the category-like item (if any) that is directly site-linked to the page.
This is not what {{Wikidata}} does, so we should be looking for a different template, not {{Wikidata}}. Jheald (talk) 13:37, 22 October 2014 (UTC)
RfC now open as to whether we would like to ask for Wikidata Phase 2 now to be activated for Commons. This would allow the automated gallery-header template to be trialled and installed. Jheald (talk) 14:47, 22 October 2014 (UTC)

Redux

While Wikidata Phase 2 is a good thingTM, how can we move this request forward, in the meantime? Andy Mabbett (talk) 16:18, 26 October 2014 (UTC)

@Pigsonthewing: Hi Andy, thanks for cracking the whip and keeping noses to the grindstone. In my opinion, we ought to create a template {{Reasonator}}, with syntax {{Reasonator|P301=Q....}}. The template would create a right-justified patch, similar in style to en:Template:Commons category, with text "Data, and links to articles on this topic, are available on Reasonator", linking through to the Reasonator page for the corresponding wikidata article-like item.
It should be possible to roll this out to about 700,000 Commons categories.
This could be done straight away, and would not need Phase 2 wikidata for it to work. Even with Phase 2, it is about as good as we will be able to do for categories while 'arbitrary access' is unavailable. Jheald (talk) 16:07, 27 October 2014 (UTC)
Why not add a Reasonator link to the existing {{Wikidata}} template? Andy Mabbett (talk) 19:28, 27 October 2014 (UTC)
@Pigsonthewing: The existing {{Wikidata}} template is problematic, because for a category it is not clear whether it is being used to link to one of Wikidata's category-like items, or one of Wikidata's article-like items. The reasonator template would explicitly be linking to the latter.
The existing template in any case only has 3600 transclusions, so it is not such a hardship to start again. Jheald (talk) 20:31, 27 October 2014 (UTC)
In that case, I suggest we add a parameter to the existing Wikdata template to indicate which type it's linking to. Alternatively we could survey which type the majority of the 3,600 transclusions are used for, and either make that the default with a switch for the other type; or deprecate its use for the other type. I'm keen to get this moving. Andy Mabbett (talk) 12:11, 21 November 2014 (UTC)
@Pigsonthewing: Update: TheDJ (talk · contribs) put together a very nice gadget at the hackathon in Amsterdam last weekend (User:TheDJ/wdcat.js), which automatically shows a template-style link to Reasonator on a category page if there is an article-like Wikidata item available without having to add a template to the page.
To try it, add importScript('User:TheDJ/wdcat.js'); to your common.js file.
Unfortunately at the moment it takes a bit too long to load, and puts a bit too much load on the WDQ server for mass usage. But that could quite likely be resolved, if a server tool were written to provide it its own specialist look-up table, rather than using the generic WDQ call. Jheald (talk) 11:03, 23 November 2014 (UTC)

Single Template replace

There are over 2000 times a wrong template used. I mean it is better and sufficient to give the related discussion here!?User: Perhelion (Commons: = crap?)  17:13, 11 March 2015 (UTC)

  --Steinsplitter (talk) 17:17, 11 March 2015 (UTC)
✓ Done --Steinsplitter (talk) 19:28, 11 March 2015 (UTC)
This section was archived on a request by: ↔ User: Perhelion (Commons: = crap?) 20:04, 11 March 2015 (UTC): Thank you for the fast solve also of the DR.