Commons:Bots/Work requests

Une page de Wikimedia Commons, la médiathèque libre.
Aller à : navigation, rechercher
Raccourcis
COM:BR
COM:BWR


Règles d’utilisation et liste des bots · Demande d’autorisation
Requête aux bots · Changements pour permettre la localisation  · Requêtes de versement en masse
Gnome-system-run.svg


Filing cabinet icon.svg

SpBot archive toutes les sections marquées avec {{Section resolved|1=~~~~}} depuis 1 jour.



Match items in Category:Creator templates without Wikidata link[modifier]

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)

 En cours... Sorry for not noticing this. --Zhuyifei1999 (discuter) 23:54, 20 August 2014 (UTC)
Commons:Bots/Requests/YiFeiBot (20) --Zhuyifei1999 (discuter) 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 (discuter) 08:25, 21 August 2014 (UTC)
I'm not sure if I have time to do this, sorry. --Zhuyifei1999 (discuter) 10:52, 21 August 2014 (UTC)
Never mind, no problem. Jheald (discuter) 11:44, 21 August 2014 (UTC)

WLM categories[modifier]

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ů (discuter) 18:27, 3 September 2014 (UTC)

There's a list at [1] for the detection of photos. However I'm not sure of a way to automatically detect the country of the photos. --Zhuyifei1999 (discuter) 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. -- (discuter) 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ů (discuter) 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ů (discuter) 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 (discuter) 04:05, 7 September 2014 (UTC)

Track File references from Wikidata items[modifier]

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 (discuter) 13:32, 9 September 2014 (UTC)

This looks like more of MediaWiki feature than a bot work. --Zhuyifei1999 (discuter) 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 (discuter) 09:08, 12 September 2014 (UTC)
Right. But wouldn't it need a massive cleanup after the feature finally got coded and deployed? --Zhuyifei1999 (discuter) 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 (discuter) 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 (discuter) 10:54, 12 September 2014 (UTC)
Okay, I've raised it on Wikidata's Contact the development team page. Jheald (discuter) 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 (discuter) 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 (discuter) 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) (discuter) 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 (discuter) 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 (discuter) 14:22, 17 September 2014 (UTC)
Checkmark Cette discussion est résolue et peut être archivée. Si vous divergez d'opinion, remplacez ce modèle par votre commentaire. Steinsplitter (discuter) 14:33, 17 September 2014 (UTC)

Batch sortkey modification[modifier]

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 (discuter) 16:04, 11 September 2014 (UTC)

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

Categorizing work[modifier]

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 (discuter) 11:24, 17 September 2014 (UTC)
✓ Should be all done now --Zhuyifei1999 (discuter) 15:03, 17 September 2014 (UTC)
Checkmark Cette discussion est résolue et peut être archivée. Si vous divergez d'opinion, remplacez ce modèle par votre commentaire. Zhuyifei1999 (discuter) 15:03, 17 September 2014 (UTC)