Commons:Village pump/Technical/Archive/2023/06

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

A renouned mycologist used my Wikimedia Commons contribution in his book. Please guide me entering that data into my Wikimedia Commons file.

My public domain contribution File:Vesicular Arbuscular Mycorrhizae 40X0031 03.jpg has been used by renouned mycologist Britt Bunyard in his book The Lives of Fungi : A Natural History of Our Planet's Decomposers (https://www.google.co.in/books/edition/The_Lives_of_Fungi/SMtMEAAAQBAJ?hl=en&gbpv=1&dq=RIT+RAJARSHI&pg=PA288&printsec=frontcover) ; Published from Princeton University Press, where my username has been properly credited in the page 288 (Acknowledgement page) and my Wikimedia commons contribution has been included in page number 183 bottom right of the said book. I am very thankful for that to the Author of the said book. However I want to enter the data in the image file (preferably using a category or infobox but don't know how). Please guide me for the necessary steps to link the file to the published book. [fmt[User:RIT RAJARSHI|RIT RAJARSHI]] (talk) 20:11, 25 June 2023 (UTC)

Congratulations, Rit! (And also congratulations to Prof. Bunyard for seeking for the needed illustrations in Commons, instead of just grabbing something off google images or, argueable worse, giving Alamy or Getty some ridiculous sum which they would never further pay to the author.) -- Tuválkin 18:34, 27 June 2023 (UTC)
This section was archived on a request by: You seem to have solved that yourself, on the file's talk page. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:02, 26 June 2023 (UTC)

Help with scraping data from Amazon S3 showing 503 slow down error

I want to download images like this: https://dl.ndl.go.jp/api/iiif/781245/R0000010/full/full/0/default.jpg for old book preservation.

There is a HUGE number of them. When I download like 170 or so it shows 503 slow down error. Is there anyway to avoid that without slowing down? Thanks. 維基小霸王 (talk) 12:50, 1 June 2023 (UTC)

Maximum map data size is too small

When I submitted my 398,963 bytes of geojson map data, I got an error: Error: The text you have submitted is 2,700.314 kilobytes long, which is longer than the maximum of 2,048 kilobytes. It cannot be published. The 2,700.314 kilobytes seems to come from Json formatting with a bunch of spaces for indentation and newlines. I could barely create Data:2022 Mosquito Fire.map which size is 256,155 bytes as Revision history shows. However, when I try to edit the data, the size of all the text is 1,944,017 bytes due to Json formatting. Is the maximum size limit of 2,048 kilobytes with Json formatting necessary? ―― Phoenix7777 (talk) 11:21, 1 June 2023 (UTC)

Yes, it is necessary. There have been several "bugs" of bad server response times which are only due to the sheer size of the map json. In order to see all of the dots on your map, you would have to view it full-screen on a 8k monitor. No Wikipedia uses maps in that resolution. It cannot be expected just to gobble any size, you know. Snævar (talk) 20:48, 1 June 2023 (UTC)
If you know how to run linux programs, PostGIS can slim it for you, see https://postgis.net/docs/ST_Simplify.html --Snævar (talk) 09:40, 2 June 2023 (UTC)
Thank you! Inspired by your suggestion, I found mapshaper and successfully created Data:2022 McKinney Fire.map which is now 1,435 kilobytes.―― Phoenix7777 (talk) 10:59, 2 June 2023 (UTC)

Tech News: 2023-23

MediaWiki message delivery 22:50, 5 June 2023 (UTC)

Source Editor editing window footer

Just wondering why "Creative Commons Attribution-ShareAlike 4.0" is a red link in the source editor editing window footer when you click "Edit" at the very top of a Commons page or at the beginning of an individual section on a page, but it's a blue link in the source editor editing window footer when you click ""Start a new discussion" or "reply". At least, it's that way for me. -- Marchjuly (talk) 02:18, 8 June 2023 (UTC)

somebody forgot to create a page like Commons:Creative Commons Attribution-ShareAlike 3.0 Unported License.--RZuo (talk) 08:03, 8 June 2023 (UTC)

How to import flickr video to common?

Such as this[5]. Currently common supports importing flickr image formats, but the video format does not seem to work. Fumikas Sagisavas (talk) 07:59, 8 June 2023 (UTC)

com:v2c.--RZuo (talk) 08:03, 8 June 2023 (UTC)

Filenames that differ by capitalisation of extension

is it still possible to upload files like this? has this bug been fixed? RZuo (talk) 12:50, 10 June 2023 (UTC)

Template:Author assumed

Template:Author assumed has some problems.

first, it's including Category:Files with no machine-readable source by mistake. should be author.

but, i'm sceptical whether it should include a cat at all, because if you try previewing File:Square Mooncake.jpg on Mooncake, you can see the source in the interface. it is machine-readable. my understanding is that "Files with no machine-readable..." are set by mediawiki software if, for example, {{Information}} is missing, e.g. try previewing "B&O 1878" at de:Baltimore_and_Ohio_Railroad#Ausdehnung_nach_Westen.--RZuo (talk) 21:13, 10 June 2023 (UTC)

Tech News: 2023-24

MediaWiki message delivery 14:48, 12 June 2023 (UTC)

Tech News: 2023-25

MediaWiki message delivery 20:06, 19 June 2023 (UTC)

Correctiing coordinates in structured data

In File:Lake vinen sweden 2023.jpg, I don't seem to manage correcting the wrong coordinates in the structured template. The smartphone stored wrong coordinates in Exif data, I corrected {{Location}} manually, but I don't seem to be able to delete the wrong "coordinates of the point of view" in structured data, resp. to store the corrected data (nothing happens when I hit "Publish changes"). Any ideas? Gestumblindi (talk) 12:36, 20 June 2023 (UTC)

Apparently, that's normal. See Commons:Village_pump/Technical/Archive/2023/01#Delete_wrong_coordinates_not_working, Commons:Village_pump/Technical/Archive/2023/02#Issues_with_coordinates_in_Structured_data, etc. Enhancing999 (talk) 07:37, 21 June 2023 (UTC)
@Enhancing999: Thanks for the pointer. The workaround mentioned by El Grafo, temporarily changing the interface language to British English, worked for me, too. But that's not very nice, of course, and apparently, nobody cares for structured data if this is a known bug that has not been fixed for about a year now! Gestumblindi (talk) 16:54, 21 June 2023 (UTC)

intermittent cirrussearch-backend-error when trying to select category in Wikimedia Commons Android app?

Trying to debug issue apps-android-commons #5225 when Commons app is spinning indefinitely and failing to select categories, it seems the underlying issue is that the server returns cirrussearch-backend-error when user tries to search for some category:

   2023-06-17 11:24:48,366     [ERROR] [file-logging-thread-1] [OkHttpConnectionFactory$UnsuccessfulResponseInterceptor] : java.io.IOException: {"error":{"code":"cirrussearch-backend-error","info":"We could not complete your search due to a temporary problem. Please try again later.","docref":"See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."},"servedby":"mw1447"}

It happens quite often, but not always (e.g. it happened many dozens of times during whole day on 17 June 2023, but does not happen on 20 June 2023).

Is this a known issue; or can someone offer advice where to ask further? Mnalis (talk) 17:26, 20 June 2023 (UTC)

For those interested, this latest outage was indeed worldwide server issue, as tracked in https://phabricator.wikimedia.org/T339810 and documented in https://wikitech.wikimedia.org/wiki/Incidents/2023-06-18_search_broken_on_wikidata_and_commons later. I'll assume previous encounters of the error are also likely to be such site-wide issues. Mnalis (talk) 21:25, 21 June 2023 (UTC)

Delete pictures

Hello dear colleagues. Dear user User:CaesarIran, according to the edit I saw from him, some of the photos that were personal works were deleted. It seems that if he continues, there will be no photos left. Dicbrat (talk) 18:25, 20 June 2023 (UTC)

File:لوگو سازمان منابع طبیعی و آبخیزداری کشور.jpg was deleted for "No permission". See notice on the uploader's talk ppage, at User talk:Nikdokht reza#File source is not properly indicated: File:لوگو سازمان منابع طبیعی و آبخیزداری کشور.jpg. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:23, 25 June 2023 (UTC)

Questions about the exact duplicate (speedy delete) process. {

Here Category:Duplicate Ooligan (talk) 02:45, 21 June 2023 (UTC)

It is difficult to find the history related to this speedy deletion process for "exact duplicate" files. Some records are deleted in addition to the target/ tagged "Duplicate" file itself.
Could someone familiar with the details of how this process works, help answer some questions? -- Ooligan (talk) 04:03, 21 June 2023 (UTC)
@Ooligan: I think that will depend on what the questions are. I mark files as duplicates quite a lot, but I don't know much about how it works from the admin side. --bjh21 (talk) 14:48, 25 June 2023 (UTC)

Best way to upload a single page out of pdf separately?

i want to upload https://commons.wikimedia.org/w/index.php?title=File%3ANTUL-0460304_%E5%BB%A3%E5%B7%9E%E5%B8%82%E7%AB%8B%E9%8A%80%E8%A1%8C%E7%9A%84%E6%96%B0%E4%BD%BF%E5%91%BD.pdf&page=128 as a new file. what's the best approach? best meaning quality as lossless as possible, and filesize as small as possible.

should i upload jpg/png/pdf? how should i extract that single page? any existent tool to do this task automatically (like give the pdf url and the page number -> upload)? RZuo (talk) 13:52, 25 June 2023 (UTC)

@RZuo: Since it looks like a scanned image, I'd use pdfimages (part of Poppler and available in most Linux distributions) to extract the image from the PDF file and upload that. If you haven't got pdfimages conveniently available, let me know and I can upload that page. For more general PDF files, ones that aren't simple scanned images, I might use pdftk instead. --bjh21 (talk) 14:37, 25 June 2023 (UTC)
@Bjh21 thx for the info. i'm more interested in the method to accomplish this task. i suppose the following is the approach taken? (sorry i have no knowledge about any jargons.)
  1. if the image is "embedded" in the pdf, extract the embedded file.
  2. otherwise, extract the target page in pdf? or convert the target page to image (jpg/png)?
pdfimages does #1? RZuo (talk) 15:01, 25 June 2023 (UTC)
For extracting the entire page, you could try to "print" the PDF but with a virtual printer and then specifying the page (range) to be "printed". For example, Windows nowadays has a native Print to PDF feature, which may show up in your list of printers. However, since this concerns a map, I am inclined to try and extract it in an image file format, not a document format. --HyperGaruda (talk) 15:14, 25 June 2023 (UTC)
@RZuo: Yes, pdfimages does the first. And for the second, using something like pdftk or "printing to PDF" is good since it'll preserve the structure of the page (text, graphics, images) where generating an image will flatten all that into pixels. Another approach for case 2 is to use Inkscape to convert to SVG. That might be good if you want to extract a drawing or a logo, but is likely to be bad for anything text-heavy. --bjh21 (talk) 23:28, 25 June 2023 (UTC)

Module:Countries does not return some certain names correctly

Module:Countries does not seem to return some certain names correctly. See Commons:Freedom of panorama/Asia. It generates wrong transclusions like "Commons:Copyright rules by territory/中国" instead of the supposed Commons:Copyright rules by territory/China (and also the same to Myanmar and Palestine). Since Module:TNTExpandByCountries used in this page invokes Module:Countries, I tested {{#invoke:Countries|main|Asia}} and believe something about it is wrong, but I don't quite understand its code. Any help? --H2NCH2COOH (Talk) 19:21, 25 June 2023 (UTC)

Tech News: 2023-26

MediaWiki message delivery 16:16, 26 June 2023 (UTC)

Counties in WA last bullet point

Hi. I noticed that on e.g. Category:Houses in Whatcom County, Washington, where Yakima, the last one, is not listed, there is a trailing bullet point on the counties of WA template. However, on Category:Transport in Seattle, using the cities of WA template, the same does not happen. Can someone figure out and fix this please? Thanks (also those cities/counties templates all use the same stuff -- shouldn't there be a master template they all use so you can just put each city in as a parameter?) DemonDays64 (talkcontribsuploads) 19:56, 27 June 2023 (UTC)

coz "Category:Houses in Yakima County, Washington‎" doesnt exist. RZuo (talk) 20:13, 27 June 2023 (UTC)
@RZuo: but I am saying -- on the transport in seattle category, there could be a Yakima entry and it is listed in the Cities template, but while there isn't one there is not the same issue. (please ping on reply) DemonDays64 (talkcontribsuploads) 20:21, 27 June 2023 (UTC)
Template:Cities in Washington (state) using hlist is better than the manually inserted dots in Template:Counties of Washington (state). RZuo (talk) 20:28, 27 June 2023 (UTC)

Commons API ConnectionError when trying to upload image files with Pywikibot

My Pywikibot script was trying to upload a single file to the category Category:Master Frisky, when I got the requests.exceptions.ConnectionError. It will happen every time I try to upload the file, and every time it waits for a given amount of seconds too. The log:

Error log
Uploading file Master Frisky (1902) front cover.png to Wikimedia Commons from projectfiles/processed_files/1.png...
Sleeping for 7.9 seconds, 2023-06-28 20:16:28
ERROR: An error occurred for uri https://commons.wikimedia.org/w/api.php
ERROR: Traceback (most recent call last):
  File "/Users/bobbybumps/Downloads/code_folder/core_stable_2/pywikibot/data/api.py", line 1486, in _http_request
    response = http.request(self.site, uri=uri,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/bobbybumps/Downloads/code_folder/core_stable_2/pywikibot/comms/http.py", line 253, in request
    r = fetch(baseuri, headers=headers, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/bobbybumps/Downloads/code_folder/core_stable_2/pywikibot/comms/http.py", line 408, in fetch
    callback(response)
  File "/Users/bobbybumps/Downloads/code_folder/core_stable_2/pywikibot/comms/http.py", line 298, in error_handling_callback
    raise response from None
  File "/Users/bobbybumps/Downloads/code_folder/core_stable_2/pywikibot/comms/http.py", line 399, in fetch
    response = session.request(method, uri,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 502, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError('The write operation timed out'))

WARNING: Waiting 5.0 seconds before retrying.
Attempted file description
=={{int:filedesc}}==
{{Information
|description={{en|1=The front cover of ''Master Frisky'' (1902), found on page 1 of scan. No caption provided.}}
|date=1902
|source={{extracted from|Master Frisky (1902).djvu}}
|author={{Creator:Clarence Hawkes}}
}}


=={{int:license-header}}==
{{PD-US-expired}}

[[Category:Front cover of books]]
[[Category:Master Frisky]]
Python function for file uploading
def upload_file_to_commons(filename, file_text, file_path, transcription_page_title):
    print(f"Uploading file {filename} to Wikimedia Commons from {file_path}...")
    
    summary = f"Uploading \"{filename}\"..."

    site = pywikibot.Site("commons", "commons")

    print(filename)
    print(file_text)

    # Create an instance of the FilePage for the scan file
    file_page = pywikibot.FilePage(site, filename)

    print(file_page)

    # Set the file description text
    file_page.text = file_text

    # Upload the file
    if not file_page.exists():
        file_page.upload(source=file_path, comment=edit_summary(summary, transcription_page_title), report_success=False)
        print_in_green("File uploaded successfully!")
    else:
        print_in_yellow(f"File {filename} already exists on Wikimedia Commons! Not uploading.")
        process_break()
  • File name: Master Frisky (1902) front cover.png
  • File size: 13 MB

What I've tried:

  • Switching accounts from GemmaBot to my main account, PseudoSkull.
  • Making test edits to text on Wikisource diff and Wikimedia Commons diff.

My script was also able to upload File:Master Frisky (1902).djvu (the scan file) a few days ago.

So I'm completely at a loss as to what the problem could be. Does anyone know what tends to cause this sort of issue? PseudoSkull (talk) 02:02, 29 June 2023 (UTC)

Comment: I just uploaded two other files that were of significantly lower file size. I'm starting to think the problem here is the size of the file. Trying a chunk upload script. I'll let you know if that works out for the cover image. PseudoSkull (talk) 02:25, 29 June 2023 (UTC)


Resolved!!! Finally.

Modified Python function
def upload_file_to_commons(filename, file_text, file_path, transcription_page_title):
    print(f"Uploading file {filename} to Wikimedia Commons from {file_path}...")
    
    summary = f"Uploading \"{filename}\"..."

    site = pywikibot.Site("commons", "commons")

    # Create an instance of the FilePage for the scan file
    file_page = pywikibot.FilePage(site, filename)

    # Set the file description text
    file_page.text = file_text

    # Upload the file
    if not file_page.exists():
        greater_than_3mb = is_file_size_greater_than_3mb(file_path)
        if greater_than_3mb:
            #  upload_file_chunks(file_path, filename, transcription_page_title)
            print("File size greater than 3 MB. Uploading in chunks...")
            chunk_size = convert_to_megabytes(3)
            file_page.upload(source=file_path, chunk_size=chunk_size, comment=edit_summary(summary, transcription_page_title), report_success=False)
        else:
            file_page.upload(source=file_path, comment=edit_summary(summary, transcription_page_title), report_success=False)
        print_in_green("File uploaded successfully!")
    else:
        print_in_yellow(f"File {filename} already exists on Wikimedia Commons! Not uploading.")
        process_break()

PseudoSkull (talk) 03:45, 29 June 2023 (UTC)

Is anyone else seeing this? (Portrait display of categories in "mobile view")

First (1st) of all, I'm extremely happy that the latest update for the "mobile view" has synchronised the experience for desktop 🖥️ and mobile 📲 users, for years I have to constantly switch between "Desktop mode" and "Mobile view" to be able to to some rather basic options, this now all appears to be fixed since today. However, despite the latest update fixing basically everything that was wrong with mobile categories for over a decade it did introduce a new issue (at least for me), while in portrait mode I can't see any of the options, is anyone else experiencing this or is there something wrong on my side? I'd prefer to know if others experience this before I'd report it at the Phabricator. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 16:15, 30 June 2023 (UTC)

Help request with CSS

Hello! Can someone help me align the centers of the elements at the bottom of this page? That is the center of the 2 long columns with that of the 2 buttons with that of the 2 lists below them. I've already done what I could to align them "manually". - Klein Muçi (talk) 19:21, 30 June 2023 (UTC)

Grand Master of Order of Saint John of Jerusalem: not standard titles

Hi, dear colleaguas. The question is about the title ot the Grand Master of Order of Saint John of Jerusalem's category. The subcategories included in Category:Grand Master of Order of Saint John of Jerusalem have quite often a not usual title, for example Category:Alfonso de Portugal (GM 12) and not the standard Category:Alfonso de Portugal. Is there some special rule for it? Thank you. MrKeefeJohn (talk) 14:00, 25 June 2023 (UTC)

@Alaspada: , who created the category given as an example, above. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:37, 25 June 2023 (UTC)
How is this a technical matter? Anyway: I share your perpexity at the cryptic preffix "(GM 12)" in the cat name and add another issue concerning it: The correct spelling of this Portuguese given name is "Afonso", not "Alfonso". -- Tuválkin 19:34, 25 June 2023 (UTC)
thank you for your answer. @Pigsonthewing: As I can see categorie were created by different users for example Category:Martin_Garzes_(GM_53 @Tuválkin: I asked here because I could not find a better place ;-) If necessary, we can move this discussion somewhere else. MrKeefeJohn (talk) 09:29, 26 June 2023 (UTC)
Bonjour, puisque vous m'avez notifié je viens répondre qu'il n'y a aucune règle de dénomination des catégories et comme Commons regroupe toutes les langues de Wikipédia dans quelles langues rédiger une catégorie ? Ou alors j'ai raté quelque chose en 2016 quand j'ai créé ces catégories. J'ai à votre disposition plusieurs catégories en plusieurs langues. Dans la catégorie "Auberges of the Langue of France" (français/anglais, si l'on considère auberge comme un mot anglais !) on trouve "Auberge de France (Birgu)" (français), "First Auberge de France (Valletta)‎" (français/anglais), "Auberge of France (Rhodes)" (français/anglais), "Second Auberge de France (Valletta)" (français/anglais)‎.
Pour "Afonso de Portugal" ou "Alphonse de Portugal", "Alfonse de Portugal" ou encore "Alfonso del Portogallo". Sur la wikipédia en français l'article est sous le nom d'"Alphonse de Portugal (grand maître)", sur la Wikipédia en portugais "Afonso de Portugal, Grão-mestre do Hospital", en anglais "Fernando Afonso of Portugal", en italien "Alfonso del Portogallo (gran maestro)", en allemand "Alfonse de Portugal", en néerlandais "Alfons van Portugal (1135-1207)", etc. Je trouve assez intéressant que Commons fasse suivre un nom dans une langue d'un rang de grand maître comme "Alfonso de Portugal (GM 12)" ou "Martin_Garzes_(GM_53)", cela au moins est international. Cheers - Alaspada (Talk) 16:45, 26 June 2023 (UTC)
Ou seja: Tu inventas nomes marados, e agora a culpa é nossa. Isto tá bonito, tá. -- Tuválkin 02:23, 27 June 2023 (UTC)
My question, by the way in English although I can understand more or less some also French and Portoguese languages, is about the necessity or not to add to the category's name this not standard specification "(M**)". As I can understand this specification is not necessary and it should be removed. About the correct name of category in Commons:Language policy I can read this "Category names should generally be in English, excepting some of proper names, biological taxa and terms which don't have an exact English equivalent". MrKeefeJohn (talk) 07:15, 27 June 2023 (UTC)
Tuválkin Je n'ai jamais écris que c’était de votre faute. Réveillez-vous, cela fait 8 ans que c'est ainsi et personne n'a trouvé à redire jusqu'à aujourd'hui.
MrKeefeJohn Si je comprends bien le nom devrait être en portugais pour "Afonso de Portugal". Vous faites comme bon vous semble dés l'instant ou on le retrouve dans "ordre de Saint-Jean de Jérusalem". Je vous souhaite bon courage, vous allez en avoir besoin avec toutes les catégories dans l'une ou l'autre langue. Cheers - Alaspada (Talk) 17:34, 27 June 2023 (UTC)
It seems that the unusual "_(GM_##)" appended to most subcats of Category:Grand Master of Order of Saint John of Jerusalem are meant as a sort of sorting key, for it seems to be their ordinal number.
I suggest that this useful function should be kept upon renaming these 71 cats into more conventional synonyms by applying proper wikitext sorting keys, namely by (re)categorizing each of the renamed subcats as either
  • [[Category:Grand Masters of Order of Saint John of Jerusalem|##]] (slighly renamed cat) or even
  • [[Category:Grand Masters of Order of Saint John of Jerusalem by succession rank|##]] (new subcat).
I can take care of the tech issues of all this cat renaming and concommitant page file recategorizing in a few hours, just give me a greenlight consensus. -- Tuválkin 21:30, 27 June 2023 (UTC)
As usual, cat histories will be kept after renaming, and redirect cats with the old name will remain in place. -- Tuválkin 21:37, 27 June 2023 (UTC)
I give my "greenlight consensus" to remove the unusual "_(GM_##)". One more question is about the correct name of category. One example: Category:Frère Gérard (GM 1) should be Category:Frère Gérard or Category:Blessed Gerard or something else? MrKeefeJohn (talk) 10:07, 28 June 2023 (UTC)
Further renaming is always possible, of course, but it’s indeed best to do it at once, as much as possible. In that one case and as many others I find, I propose to follow the names used in the English Wikipedia. -- Tuválkin 18:55, 28 June 2023 (UTC)
Ne serait-il pas préférable d'utiliser leurs noms dans leur langue d'origine ? Comme le dit MrKeefeJohn "Category names should generally be in English, excepting some of proper names, biological taxa and terms which don't have an exact English equivalent". (gras de moi) - Alaspada (Talk) 19:30, 28 June 2023 (UTC)
B.v. rimarki ke mi ne proponis renomi la kategoriojn angllingve, mi ja proponis renomi ilin laŭ la angllingva Vikipedio — kiu kutime uzas tiun saman politikon, kiun vi recitas. Jen ekzemploj:
  • Ni havas ordenestron Hermangard d’Asp nomita laŭ ia novlatinigita formo de ĝermansona nometimo, dum la angllingva Vikipedio lin nomas Armengol de Aspa, katalunlingve. Ŝajnas, ke ni ĉiuj konsentas ke ĉilasta nomo estas la plej ĝusta, uzenda okaze de kategorirenomigo en Commons.
  • Aliflanke, ordenestron Pietro del Monte la angllingva Vikipedio nomas (kiel artikoltitolon) Pierre de Monte — eĉ ne *Peter Hill aŭ simile. Tian ekzemplon Commons ne sekvu, kaj lasu itallingve la nomon de tiu italo.
  • Kontraste, ordenestron Antonio Fluvian de la Riviere, ankaŭ katalunlingvano, havas sian nomon ĝuste indikita nur en la tiulingva Vikipedio: Antoni de Fluvià; aliie svarmas historiaj formoj kunflikitaj el miskompreno ke "fluvià", "fluvian[us]", "de la ripa", kaj "de la rivière" estas iel apartaj familinomoj, unuope envicigendaj, kaj ne ja malsamlingvaj sinonimoj: Ankaŭ ĉikaze, kie la angllingva Vikipedio ne sekvas la cititan politikon, ni ne renomu la kategorion de Commons laŭ ĝi.
-- Tuválkin 20:50, 28 June 2023 (UTC)
I moved Category:Riccardo Caracciolo (GM 33) to Category:Riccardo Caracciolo as in all languages has the same name MrKeefeJohn (talk) 07:45, 3 July 2023 (UTC)
Excellent; I plan to follow suit. Some thoughts:
  • Meanwhile I added a sort key to all these categories, as discussed, mostly using the numbers in discussion here. This replaces the thitherto A-Z listing with 0-9, but since many names are fuzzy, maybe that's a net gain (existing sort keys were uneven, at best).
  • Some of the existing cats don’t have this number on their names, likely those previously created.
  • There was a miscategorized cat pertaining to a SJJ officer who was not a GM, and two of these GMs are actually anti-GMs (they sided with the anti-Pope — particle physics is fascinating!), so I added 0.5 to their numeral sorting order.
  • There are subcats (created by another user) where the "(GM ##)" identifier has been critically inherited (example); I have been renaming them.
  • When the only catname change was the parenthetical numeral chopped off, there’s no need to retain the old cat name as a redirect: the only practical use of these is to allow seamless use of Cat-a-lot and HotCat, but since the only difference is at the end, autocomplete will find the new cat anyway.
  • The sorting order used in these cat names is offset by 1 compared to what’s at this source; someone in the knoew should be able to fix this, as needed.
-- Tuválkin 12:52, 3 July 2023 (UTC)