Open main menu

Wikimedia Commons β

Commons:Bots/Work requests

< Commons:Bots

Shortcut: COM:BR · COM:BWR

Bot policy and list · Requests to operate a bot · Requests for work to be done by a bot  · Requests for batch uploads
Gnome-system-run.svg


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

Category:Media needing categories (cyrillic names)Edit

A large part (if not the majority) of files in Category:Media needing categories (cyrillic names) are currently categorised one way or another. Could they be removed from the category by a bot? For example, User:TaxonBot... 91.219.24.99 18:25, 18 November 2017 (UTC)

I checked a couple of files. Most had no categories and thus are correctly flagged. I think the categories get removed automatically, when two or more categories are paresent. --Schlurcher (talk) 07:15, 13 December 2017 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Schlurcher (talk) 07:15, 13 December 2017 (UTC)

SVGsEdit

Could someone compile a list of SVGs missing an XML declaration (<?xml version="1.0" encoding="UTF-8"?> and similar <?xml ?> tags)? Without it, SVGs do not render but there are still some cached renders of files without XML declarations from before 2010. Furthermore, could the files be reuploaded with the declaration prepended? Thanks, Jc86035 (talk) 10:10, 29 November 2017 (UTC)

Does this only affect files before 2010? Currently, I could only provide a list by downloading and searching the SVG information. This might be easy doable for SVG files before 2010 or 2012, when these files where still uncommon. --Schlurcher (talk) 07:14, 13 December 2017 (UTC)
Year SVGs GiB
2005 1,223 0.1
2006 38,469 7.3
2007 57,734 5.7
2008 61,794 8.0
2009 76,254 15.0
2010 87,943 22.8
2011 123,384 40.0
2012 77,872 21.9
2013 136,338 309.9
2014 105,558 76.8
2015 94,403 30.7
2016 112,814 32.0
2017 224,011 38.4
Total 1,197,797 608.6
SELECT SUBSTRING(img_timestamp,1,4) AS Year, COUNT(*), SUM(img_size) FROM image WHERE img_media_type="DRAWING" GROUP BY 1 ORDER BY 1;
Its a tradeoff between development time and bandwidth. While backend support HTTP range requests (thus <2 GiB bandwidth for complete scan), the requests python library does not. You'll have to add custom headers to urllib2. —Dispenser (talk) 22:15, 13 December 2017 (UTC)
We have a 2017 upload with an <?xml tag, but is missing xmlns= so it does not render.
 
Oddities: The thumbnailer scales up the smallest cached render if SVG rendering fails.
A full run would take 40+ hours. —Dispenser (talk) 12:10, 14 December 2017 (UTC)