Last modified on 18 October 2014, at 16:15

Commons:Bots/Work requests

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

Filing cabinet icon.svg

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

Rename username on file pagesEdit

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)

Erreur dans la description de fichiersEdit

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)

Category:Temporal population graphs of AustraliaEdit

1 done with cat-a-lot, 2 I guess that needs human intelligence :) --Zhuyifei1999 (talk) 11:31, 10 October 2014 (UTC)


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 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. Smile fasdfdsfoiueire.svg -- (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)