Open main menu

Shortcut: COM:BR· COM:BWR

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

SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 7 days.
# Title Status Replies Participants Last editor Date/Time (UTC) Last botop editor Date/Time (UTC)
1 Add category based on filename 1 1 Nyttend 2019-09-22 03:28
2 Change in template documentation 2 2 Masumrezarock100 2019-10-02 00:00
Legend
  • In the last hour
  • In the last day
  • In the last week
  • In the last month
  • More than one month
Manual settings
When exceptions occur,
please check the setting first.

Add category based on filenameEdit

There's a large number of US locality maps that have a certain filename syntax and that aren't in any locality categories. The files in question are entitled "COUNTYNAME County STATE Incorporated and Unincorporated areas PLACENAME Highlighted" — for example, File:Westmoreland County Pennsylvania Incorporated and Unincorporated areas Adamsburg Highlighted.svg. As far as I know, these files are all in Category:Maps of Incorporated and Unincorporated areas by county in the United States. I'm wondering if someone could run a bot to add relevant categories if necessary. Ideal process:

  • Bot opens each file in Category:Maps of Incorporated and Unincorporated areas by county in the United States and checks the categories applied to each one.
  • Bot checks for the existence of a category called "Maps of PLACENAME, STATE", and if it exists, checks to see whether the file's in the category.
  • Bot checks for the existence of a category called "Maps of COUNTYNAME County, STATE", and if it exists, checks to see whether the file's in the category.
  • Bot checks for the existence of a category called "PLACENAME, STATE", and if it exists, checks to see whether the file's in the category.
  • Bot checks to see whether the file's in a category called "COUNTYNAME County, STATE". [No point in checking, since all 3000+ US counties have categories.

Whenever the bot runs a check, if the checked-for category exists and the file's not in it (and not in a subcategory), the bot should place the file in the category. If the file is in the checked-for category, the bot should stop checking the file and go to the next one. One caveat: if the first word of PLACENAME or COUNTYNAME is "St.", "Ste.", "Saint", or "Sainte", the bot should also check alternate forms of this word before concluding that the category doesn't exist.

Nyttend (talk) 03:28, 22 September 2019 (UTC)

Change in template documentationEdit

Hello!

I suggest a change on all pages in https://commons.wikimedia.org/w/index.php?title=Special:WhatLinksHere/Template:Convert_to_SVG/layout&namespace=10&limit=100 except the notification pages and the /fr and /ru documentation. The change is Commons:Media for cleanup -> Commons:Media for cleanup#PNG or JPEG images that should be SVG however I am unable to do it, unless I would do it manually which would take quite a while. For the languages that have [[Commons:Media for cleanup|/translation/]] I suggest [[Commons:Media for cleanup#PNG or JPEG images that should be SVG|/translation/]] and for the languages that have [[Commons:Media for cleanup]] I suggest [[Commons:Media for cleanup#PNG or JPEG images that should be SVG|Commons:Media for cleanup]]. Some languages doesn't even link to COM:Media for cleanup (i.e. zh-hant) so you know. Thanks!Jonteemil (talk) 02:33, 1 October 2019 (UTC)

You could probably do it using COM:AWB. Masum Reza📞 00:00, 2 October 2019 (UTC)