Commons:Village pump/Technical/Archive/2024/08

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

Image keeps being auto-categorized as migration candidate and asking for review unless we duplicate an argument in a template?

Hello, I am trying keep tidy the Category:Pages using duplicate arguments in template calls and I see an image in it, File:TadJonesFuneralSchenckBaby.jpg, what @Infrogmation: said in his edit summary, that it keeps being auto-categorized as migration candidate unless we duplicate an argument in a template. It is difficult to me to understand, how it works, because this is the only image in the category like this. I can see the reason to have some pages in the category, like Commons:Discussion index/VP, which handled by some bot and bots are working with different logic than the wiki software. Could someone help me and double check please? Thank you. -- ato (talk) 08:58, 12 August 2024 (UTC)

Just a typo (out-out pro opt-out). --Geohakkeri (talk) 09:15, 12 August 2024 (UTC)
✓ Done. Indeed. Tank you. -- ato (talk) 09:30, 12 August 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --Geohakkeri (talk) 10:36, 20 August 2024 (UTC)

Can the version by M. Schwendener be moved to a separate page? Note Special:Diff/174308060. Thanks. Enhancing999 (talk) 08:38, 15 August 2024 (UTC)

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --Enhancing999 (talk) 12:11, 23 August 2024 (UTC)

Image cannot be displayed

See File:Brussels metro icon.svg. --BigBullfrog (talk) 14:53, 15 August 2024 (UTC)

It used undeclared namespace. Removed inkscape namespace references. Removed irrelevant clipping. Need to wait to see if servers will display it. Glrx (talk) 16:54, 15 August 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --Enhancing999 (talk) 12:13, 23 August 2024 (UTC)

As spotted by User:Enhancing999, User talk:Test919,733,084 shows up in Special:PrefixIndex/User_talk. Somehow the page has a wrong page_namespace field in the link cache. Page information reports the correct namespace and for example Special:WhatLinksHere doesn’t list the page as a gallery. --Geohakkeri (talk) 09:39, 18 August 2024 (UTC)

I tried unredirecting/editing/moving/deleting it: still the same.
Quarry:query/85434 reports it as being in namespace 0. Enhancing999 (talk) 09:46, 18 August 2024 (UTC)
Kind of weird, but this is from 2019, so its probably way to late to figure out what happened. It is very unlikely this has anything to do with linkcache. If you want to delete it, be sure to refer to it by id number, not its name e.g. https://commons.wikimedia.org/wiki/?curid=84066057 . Usually deleting these sorts of things are easier via the API. Bawolff (talk) 21:20, 18 August 2024 (UTC)
Ah, that explains it (sort of) – there is another page with the same name. That’s why I couldn’t find anything weird with the page I linked – the real culprit is that duplicate, only accessible through the id number. Thanks! --Geohakkeri (talk) 21:51, 18 August 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --Enhancing999 (talk) 12:11, 23 August 2024 (UTC)

Incoherent TOC at Commons:Batch uploading

Could someone with the understanding how the TOC works shed some light into it and if possible fix it so that the TOC actually is a TOC. I'm using the new Vector theme FWIW -- DaxServer (talk) 12:59, 22 August 2024 (UTC)

@DaxServer: The problem is that there are a couple of level-2 headings in the "USACE to commons/examples" expand on Commons:Batch uploading/U.S. Army Corps of Engineers Digital Visual Library, and those confuse the TOC generator. I don't know if there's a way to have those headings be ignored by the TOC generator. --bjh21 (talk) 13:15, 22 August 2024 (UTC)
Is it really necessary to have those headings? I already removed them: Special:diff/914551625. --Geohakkeri (talk) 13:19, 22 August 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --Enhancing999 (talk) 12:12, 23 August 2024 (UTC)

At Category:Piazza, the box now stretches across and pushes the Wikidata infobox downwards.

It seems to be me this was changed recently, but I can't even figure out where. I checked Module:Cat see also. Enhancing999 (talk) 07:03, 22 August 2024 (UTC)

This template is used in a very large number of categories. This really needs quick fixing as it pushes the files and subcategories far down depending on how large the infobox is (example). Prototyperspective (talk) 22:37, 22 August 2024 (UTC)
A solution is to put {{Wikidata Infobox}} below {{See also cat|xxxx‎}} Wouter (talk) 13:55, 23 August 2024 (UTC)
This is not a solution as it concerns a large number of categories and some other templates seem to be affected. Enhancing999 (talk) 07:38, 24 August 2024 (UTC)
See also Template_talk:Wikidata_Infobox#Alignment_next_to_Template:Cat_see_also. Enhancing999 (talk) 07:40, 24 August 2024 (UTC)
This template piggy backs on the catlinks class (used for the categories at the bottom). There's no need for that, so I'll remove it. —TheDJ (talkcontribs) 08:30, 27 August 2024 (UTC)
Thanks. I guess it was broken at Special:Diff/911758887 [1]. Should have investigated further.
 ∞∞ Enhancing999 (talk) 15:24, 27 August 2024 (UTC)
This section was archived on a request by: --
 ∞∞ Enhancing999 (talk) 15:24, 27 August 2024 (UTC)

Seems like this gallery uses some way of showing translated versions of the headers depending on which ?uselang= is set: Deutschland

The headers display fine in the gallery itself but are bugged in the TOC. Why is that / how can this be fixed – is there some issue about this? (I don't think galleries are very useful, e.g. even large ones are barely viewed or well-populated, but as long as they are used and displayed in search results, they should work properly.)
Prototyperspective (talk) 10:37, 1 August 2024 (UTC)

Updating an icon image in a translated template

I changed Template:Bad AI/i18n to use an .svg icon instead of a .png one yesterday, but the edit hasn't propagated to Template:Bad AI (where it's embedded), nor to any of the localised versions such as Template:Bad AI/i18n/en (which I cannot edit directly). What have I done wrong here? Belbury (talk) 12:19, 1 August 2024 (UTC)

No, you did nothing wrong. The edit has to be now accepted by COM:translation administrators before it gets propagated. --Geohakkeri (talk) 12:32, 1 August 2024 (UTC)
Thanks, I'll wait for that, then. From the This page contains changes which are not marked for translation message I assumed nothing was pending. Belbury (talk) 13:02, 1 August 2024 (UTC)

Discussion about possible i18n changes to the Protectedpagetext in Mediawiki namespace

Hello, I didn't know which noticeboard this would be more suited to, but you might want to change out COM:VPP#More appropriate MediaWiki translation structure for protectedpagetext templates. —Matrix(!) {user - talk? - uselesscontributions} 05:21, 3 August 2024 (UTC)

Number of edits on file description pages (3 categories)

Is there way to determine how many edits had been done on file description pages in Category:TIFF images with categorized JPGs and its two subcategories? Ideally

  • how many edits were not done by the uploader
  • and how many different users were involved?
  • how this spreads of years, possibly 3-month-periods

Ideally curation on this duplicates wouldn't be needed, but I don't think this is what happened. Enhancing999 (talk) 06:19, 4 August 2024 (UTC)

List view of category

is it possible to have a list view of categories? without thumbnails, filenames arranged in a compact list.

i know one way to do it is by adding NOGALLERY, but let's say i want to view Category:All media needing categories as of 2024, so i dont want to edit the page which will change the view for all users. RZuo (talk) 15:59, 4 August 2024 (UTC)

PetScan? Enhancing999 (talk) 17:46, 4 August 2024 (UTC)

Tech News: 2024-32

MediaWiki message delivery 20:40, 5 August 2024 (UTC)

Uploadwizard on mobile web pages, how to jump to top or bottom?

i'm batch uploading like 50 files. it's a pain to scroll slowly up or down. i just need to click the button to submit files... RZuo (talk) 13:33, 7 August 2024 (UTC)

using mobile opera browser might be better? they seem to have a button to jump when a page is too long. RZuo (talk) 13:35, 7 August 2024 (UTC)

Extra buttons with the reply field

Above the I would like to add a few extra buttons to insert codes/templates in the reply field (through my person .js). Can anyone point me to an example how it is done their, then I use that code and modify it. Thanks! Romaine (talk) 14:41, 10 August 2024 (UTC)

Tech News: 2024-33

MediaWiki message delivery 23:18, 12 August 2024 (UTC)

Questions about "files" in Special:UncategorizedPages

The past few days I have tried to clean up Special:UncategorizedPages. For the real gallery pages that is not a problem. But the vast majority of the pages in this list have the format "File:" (at the moment about 95%). That seems not OK to me. There are three types of files here:

  1. Embedded files (term made up by me): Files that do not contain any image or other medium, but only text, a table or a program; there is a link in another file (main file) to the embedded file. Sometimes the creator could move the text to the main file and ask for deletion of the embedded file.  Question Can this be solved, can the content of the embedded files be moved to the main files or does another solution exist? Examples:
    1. Commons:Deletion requests/Files found with File:Wikipedia on GLAM-Tour Kulturkooperationen für lokale Wikipedia-Gruppen.webm; see also: Commons:Translators'_noticeboard#A_handful_of_File:_namespace_timed_text_translations_still_exist + Commons:Village_pump/Archive/2016/09#What_are_these_files? (so this is an eight year old problem) + Meta:Community Wishlist/Wishes/A tool for auto-transcription to speed up the creation of TimedTexts subtitles for videos on Commons (which can perhaps be a solution?)
    2. File:Alignment chart.png/author + File:Alignment chart.png/source; both used in File:Alignment chart.png
    3. File:GFDL (English).ogg/Warning 1
    4. File:LGBT rights world map.svg/description; used in File:World laws pertaining to homosexual relationships and expression (duplicate).svg
  2. The vast majority of the "Files" on this list contain a request for deletion or a note that probably copyright violation is the case. They obviously do not belong here.  Question How do these files end up here? How can they be removed from this list?
  3. The rest of the files look correct: they have an image or other medium, categories and are not nominated for deletion. But I cannot find them in the categories mentioned in the files. So I think something is wrong with this files, but I do not know what.  Question Why are these files on this list? How can they be removed from it? Examples:
    1. File:"Principes_de_composition_de_Mr_Bernier,_ancien_Maitre_de_Musique_de_la_S.te_Chapelle,_à_Paris"_-_btv1b10868810x_(45_of_57).jpg
    2. File:2024-06-13_Archiv_des_Deutschen_Museums_30.jpg
    3. File:2024 Save the Core - Talco - by 2eight - 9SC1171.jpg
    4. File:Lettre_de_Jean_Baptiste_Victor_Mohr_à_Monsieur_Achille_Gouffé,_10_Février_1857_(manuscrit_autographe)_-_btv1b108806264_(3_of_3).jpg
    5. File:Parque_Estadual_da_Pedra_Branca_X_Diego_Monsores_(02).jpg
    6. File:Parque_Estadual_da_Pedra_Branca_X_Diego_Monsores_(03).jpg
    7. File:Séismes._Iles_Lipari_(dossier_239)_-_btv1b10875214q_(065_of_233).jpg
    8. File:Uni8F29_NotoSansSC-Light.svg
    9. File:Finnish_Transport_Safety_Agency.png
    10. Files starting with File:GCE Kannur
    11. File:High_School_-_geograph.org.uk_-_6526491.jpg
    12. File:Willoughby_St_Jul_2024_68.jpg
    13. File:Xenia - Hub District (BAP) - 8516245531.jpg

JopkeB (talk) 06:33, 5 August 2024 (UTC)

In your list, #1 seem to be fake subpages. Subpages because they use the "/" format, fake because file namespace doesn't allow for subpages.
Could be that pages with #3 need a null edit for the categories to be added completely. Enhancing999 (talk) 10:28, 5 August 2024 (UTC)
Thanks @Enhancing999: for your remarks.
  • @1 I understand. But they cannot be just deleted because the filenames have a wrong format. One way or another they should be replaced by something else. I hope someone has a solution.
  • @2 I hope someone else can shed some light on that.
  • @3 I carried out a null edit in some files and after that at least they were in the categories. I'll wait a few days and then will check wether these files are not in the refreshed list anymore. If that is so, I'll give the rest the same threatment. But it is strange that they need such a threatment at all; can we not just prevent it?
JopkeB (talk) 11:16, 5 August 2024 (UTC)
For #3 a bot could do that on a regular basis. Do pages appear there if they are only in hidden category? #2 may be the same. Isn't there a separate process for uncategorized images? Maybe this special page isn't needed for that.
About #1: if there is no associated file, the content should be moved to the appropriate place. This can be the actual file description page, template namespace or timedtext namespace. Once moved, this should be deleted. Enhancing999 (talk) 11:26, 5 August 2024 (UTC)
Isn't there a separate process for uncategorized images? Yes, Special:UncategorizedImages exists. --Geohakkeri (talk) 11:31, 5 August 2024 (UTC)
And there are Category:Uncategorized files, Category:Files needing categories and their subcategories, files are also put there in automated processes. And what is the difference with Special:UncategorizedImages? JopkeB (talk) 15:49, 5 August 2024 (UTC)
The main difference is that the special page is populated by the wiki software itself. Or what you meant to ask? I don’t think I quite understood. --Geohakkeri (talk) 16:37, 5 August 2024 (UTC)
Yes, thanks, this is the answer to my question. JopkeB (talk) 14:02, 7 August 2024 (UTC)
A bot is fine. But shouldn't it be investigated why these files appear in the list? Then it may be possible to solve the problem and then we do not need a bot. There are many, many more files with hidden categories and files that are nominated for deletion which do not appear in the list. JopkeB (talk) 15:54, 5 August 2024 (UTC)
I tried the null edit on the (non-deleted) pages. Let's see if it works. Also I fixed #1.2. above. Enhancing999 (talk) 22:06, 5 August 2024 (UTC)
Also, I made a deletion request for #1.3 Enhancing999 (talk) 10:08, 6 August 2024 (UTC)
Also, a rename request for #1.4 (move to template namespace). Enhancing999 (talk) 10:17, 6 August 2024 (UTC)
@Enhancing999: I've tried to rename File:LGBT rights world map.svg/description, but I get an error: "Cannot move file to non-file namespace." I'm only a filemover, though; maybe an admin can do better. If not you may need to copy it (with proper attribution) and then get the current page deleted. --bjh21 (talk) 14:28, 6 August 2024 (UTC)
I did some testing at testwiki: it's not possible to move directly, even for admins. A workaround seems to be Special:Import. Enhancing999 (talk) 23:14, 6 August 2024 (UTC)
Didn't work, but it's moved now. Enhancing999 (talk) 23:38, 6 August 2024 (UTC)
For a better overview, I propose an update to the introductions of the special pages, see MediaWiki talk:Uncategorizedpages-summary and MediaWiki talk:Uncategorizedimages-summary. Enhancing999 (talk) 10:22, 6 August 2024 (UTC)
Until #1.1 is solved, I made Category:Timed Text in file namespace to get them categorized (someone needs to mark them for translation for the category to appear in all other subpages). Enhancing999 (talk) 10:30, 6 August 2024 (UTC)
(@2) It's a old MediaWiki file cache error/bug. It occurs sometimes when using mass deletion tools like AjaxQuickDelete, Bad Old Ones, Twinkle, etc. One or two files' deletions remain incomplete, deleting admin sees the red link, so unless they refresh the page or check the deletion log, they are unaware. The files have categories but not appear in them, and eventually show up as uncategorized, they may also end up with corrupt thumbnails. Basically it's a state of partial deletion, lol. Purging doesn't help, but the issue can be easily fixed by just manually deleting the files. One can also add the deletion template again to make them appear in the deletion category for admin attention. For the current report, I have deleted all except those I was unsure about. -- CptViraj (talk) 20:08, 5 August 2024 (UTC)
Thanks @CptViraj: for the explanation and deleting many files. I have still some questions:
  • Since I have no rights to delete files manually, next time it is best that I add the deletion template again?
  • What about the files with a Template:No permission since, like File:Logo-thanh-pho-Sa-Dec.webp? Can they get off the list too? Would the solution also be adding the template again?
  • Solving the bug(s) is not an option?
JopkeB (talk) 06:06, 6 August 2024 (UTC)
No need to add a new deletion template. A null edit is enough to get the file categorized again. --Geohakkeri (talk) 08:13, 6 August 2024 (UTC)
Null edits will only be useful when the file has a speedy deletion template (SD, copyvio, G10, F10, etc.) used, so it will be categorized in a speedy deletion category. But when the file has a DR template, it doesn't help as the DR request is already closed, there is no category for them, it will still go unnoticed. Same for any F5 (no license/source/permission) file, the respective maintenance category is already deleted, so it will too go unnoticed. Therefore in these two cases, it's better to just add {{SD}} mentioning the error to have admin attention. -- CptViraj (talk) 10:55, 6 August 2024 (UTC)
Would you have a sample file? Enhancing999 (talk) 10:59, 6 August 2024 (UTC)
Just a nitpick: old {{Npd}} cases are perfectly visible as they appear directly in Category:Media missing permission. --Geohakkeri (talk) 11:02, 6 August 2024 (UTC)
@JopkeB:
  • (1) Yes, but no need to add the same deletion template, just use a simple speedy template ({{SD}}) mentioning the error and original deletion reason, also see my above message regarding null edits.
  • (2) The same applies here; just use the SD template as I said above. I think you are asking this because you noticed that all (or most) of the files left by me are these F5 ones, but it is not related, I have deleted many of these files, too.
  • (3) Solving a bug is always a option. This isn't a Commons-only issue. Devs might already be aware of the bug; maybe there is already a Phabricator task, maybe there isn't. I don't know as I never tried digging into this as there always have been some sort of cache issues with deleting in MediaWiki, maybe I'm just lazy to deal with it as this isn't a major issue and is easily workable 😅, and these files are deleted most of the time on every maintenance report by some admin, this time it just got pilled up for a month or two. -- CptViraj (talk) 10:55, 6 August 2024 (UTC)
Thanks, all of you, for the help. The list has been refreshed and there are now only 16 pages left. For the files about Wikipedia on GLAM-Tour Kulturkooperationen is a process going on to delete them (see Commons:Deletion requests/Files found with File:Wikipedia on GLAM-Tour Kulturkooperationen für lokale Wikipedia-Gruppen.webm). The rest looks business as usual. JopkeB (talk) 13:35, 7 August 2024 (UTC)
Impressive from 181 to 16! The translation subpages would also disappear if someone marked the main one for translation (I made request at Commons:Translators'_noticeboard#A_handful_of_File:_namespace_timed_text_translations_still_exist).
User talk:Test919,733,084 leaves me puzzled. Enhancing999 (talk) 13:40, 7 August 2024 (UTC)
Did an edit on that .. maybe it works. Also an edit request for Motd. Enhancing999 (talk) 14:43, 7 August 2024 (UTC)
It got updated, but there are still 12. "User_talk:Test919,733,084" is still there. I tried moving it around: [6]. Enhancing999 (talk) 10:16, 10 August 2024 (UTC)
Special:UncategorizedPages is now at 5 (3 new ones). Enhancing999 (talk) 21:10, 14 August 2024 (UTC)

File missing

Hey there! I uploaded files recently, and had an occasion twice. In rare cases, a page for a file is created, but the file itself is missing (e.g. File:POV – una Dottoressa dolcissima ti visita in ASMR.webm). How to handle this issue? Thank you very much!

--PantheraLeo1359531 😺 (talk) 11:26, 13 August 2024 (UTC)

This happens occasionally, the easiest is to upload the file again and then delete the page. Ymblanter (talk) 15:34, 13 August 2024 (UTC)
Thanks. Yes, the file does exist, but I uploaded a new snippet and then reset to the complete file. --PantheraLeo1359531 😺 (talk) 06:38, 14 August 2024 (UTC)

File not showing up in Category:Other speedy deletions

I tagged File:His Girl Friday (1940, SDR).webm for speedy deletion and the page shows it as being in Category:Other speedy deletions, but a day later it still doesn't show up in the category. Is there a known reason that would happen? hinnk (talk) 23:16, 13 August 2024 (UTC)

I can see the file in the respective cat --PantheraLeo1359531 😺 (talk) 06:44, 14 August 2024 (UTC)
It wasn't showing up after ~24 hours. After a little longer it did appear for me in the category so I figured it was just a caching issue, but now it's gone again. hinnk (talk) 18:12, 14 August 2024 (UTC)
And now it's back. This is super weird, I don't understand why it would repeatedly disappear and reappear like this. No changes have been made to the file or category pages, the only thing that's changed is other pages being added to or removed from the category. hinnk (talk) 19:01, 14 August 2024 (UTC)

I'm wondering if it might be related to phab:T129621/phab:T132921. The whole reason for opening the speedy deletion request was that reupload was giving an error because it couldn't acquire the lock. If any admins come across this, it'd be helpful to know what happens when you try and perform the deletion. hinnk (talk) 22:12, 14 August 2024 (UTC)

It's known to happen for template based categories. Category:Non-empty_category_redirects had plenty. Enhancing999 (talk) 13:01, 15 August 2024 (UTC)

“Webservice request timed out. This URI is managed by the para tool, maintained by Para.” --Geohakkeri (talk) 11:30, 15 August 2024 (UTC)

Help with adding parameter to template

Would someone be so kind as to help me add a parameter to Template:PD-Sjöfartsverket? The parameter would function in the same way as the “cat” parameter from Template:Taken in, such that the code {{PD-Sjöfartsverket|cat=no}} would disable automatic categorization of transcluding pages. I can take care of updating the documentation afterwards. —VulpesVulpes42 (talk) 18:39, 15 August 2024 (UTC)

Why would it have that? Template:PD-US doesn't have it. Enhancing999 (talk) 19:12, 15 August 2024 (UTC)
@Enhancing999: This template has a much, much more limited use case. It automatically adds files to Category:Diagrams of water transport signs in Sweden. However there is also Category:Diagrams of water transport signs in Sweden obsoleted by SVG replacement, and files there should of course not be in the parent category as well. But due to the automatic categorization currently being undisableable, there is no way of removing files from the redundant parent category without also removing the template. —VulpesVulpes42 (talk) 19:21, 15 August 2024 (UTC)

File:Herrieu - Chansons populaires du pays de Vannes, 3e série, 1930.djvu not displaying

Hello,

The file Herrieu - Chansons populaires du pays de Vannes, 3e série, 1930.djvu uploaded 11 days ago is not displaying. I had almost the same issue with another DjVu file (see [7]). Could you see why ? Thanks. Gwendal (talk) 07:24, 5 August 2024 (UTC)

Update : after a "dummy" upload with the same file, it's displaying on Commons but not on the other wikis (see : s:br:Restr:Herrieu - Chansons populaires du pays de Vannes, 3e série, 1930.djvu).
There is the same problem with the other file File:Herrieu - Chansons populaires du pays de Vannes, 1re série, 1911.pdf : see s:br:Restr:Herrieu - Chansons populaires du pays de Vannes, 1re série, 1911.pdf--Gwendal (talk) 05:36, 16 August 2024 (UTC)

No edit summary when undoing caption edits

There is no automatic edit summary when undoing caption edits (see for example File:Dancer in Sari.jpg, why is that and can it be changed? Should it then be added as a feature request om Phabricator or how to go about it? Jonteemil (talk) 18:05, 10 August 2024 (UTC)

Yes, that is an annoying problem. I also mentioned this in #Vandals often move captions to other languages – detection needed below. Please create an issue if no issue about it exists and then please link it here and mark the section as solved. Prototyperspective (talk) 09:45, 19 August 2024 (UTC)
✓ Done. Jonteemil (talk) 18:35, 20 August 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 13:05, 14 September 2024 (UTC)

Uploadig a large svg file

I am tring to upload this svg file. and it does not working. maybe becose it is too large. are there size limitation on svg files? what are they? Can somebody help me to upload it?

Thanks a lot, Aizenr (talk) 10:05, 7 August 2024 (UTC)

my file is 38MB. this is much smaller then the Maximum file size. So this is probably not the main problem... Any other sugestions? Aizenr (talk) 17:17, 7 August 2024 (UTC)
@Aizenr: Your SVG contains a large PNG, resulting in the same issue as in #The_XML_in_the_uploaded_file_could_not_be_parsed. --Dexxor (talk) 20:52, 7 August 2024 (UTC)
thank you very much. I read now the discusion above, but I stell do not undestand what is the solution. Can I chinge something in my file that will solve the problem? If there is now other chice, I can downsize the png image.How much should I downsize it?
Thanks again, Aizenr (talk) 04:47, 8 August 2024 (UTC)
@Aizenr: I would simply convert the SVG into PNG using rsvg-convert -u or Inkscape, and then upload the PNG (it should also be much smaller, around 3MB). Dexxor (talk) 05:52, 8 August 2024 (UTC)
thank you for the sujestion. The main aim of this file was to criate an svg version of an existing png file so text in different lengwiges could be added. So I prefer to keep it as svg. If I split the png into 2 pices, do I have the same limitation for each of them or on the total? Thanks again, Rami (Aizenr, talk) 12:33, 8 August 2024 (UTC)
@Aizenr: The PNG is already split into two pieces. I think your only option is to make the PNGs smaller, like this. ---Dexxor (talk) 20:58, 9 August 2024 (UTC)
Isn't that problem not one of size, but that Category:Fake SVG are no longer accepted? Enhancing999 (talk) 21:03, 9 August 2024 (UTC)
You would probably have to split it into more than two pieces. Try and aim so that no piece is larger than 6 megabytes. Bawolff (talk) 21:41, 18 August 2024 (UTC)

Flickr2Commons tool not working for about 24 hours.

I get this message currently-

  • "Wikimedia Toolforge Error"
  • "Our servers are currently experiencing a technical problem. This is probably temporary and should be fixed soon. Please try again later."
  • "tools-proxy-8.tools.eqiad1.wikimedia.cloud"

It has been about 24 hours. Other Users are apparently using this same tool without any problems. Thanks, -- Ooligan (talk) 15:03, 8 August 2024 (UTC)

Also see
M2k~dewiki (talk) 23:42, 9 August 2024 (UTC)
Still not working. Is this permanently broken, and I should choose a different way to do these tasks, or will it be coming back? - Jmabel ! talk 19:39, 12 August 2024 (UTC)
https://phabricator.wikimedia.org/T372451 M2k~dewiki (talk) 15:56, 14 August 2024 (UTC);
Update: User:DaxServer create a clone of F2C and it was available here, though the initial F2C was still downed. --A1Cafel (talk) 03:21, 18 August 2024 (UTC)

Can not find out what causes an error

I apologize, first attempt to upload three images: https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=CHM-DE-HE&categories=Cultural+heritage+monuments+in+Erbach+%28Odenwald%29&description=Stra%C3%9Fenbr%C3%BCcke%2C+Eisenbahn+%28auf+der+Grenze+zu+Michelstadt%29&descriptionlang=de&fields%5B0%5D=952486&fields%5B1%5D=49.67158%2F8.99068 - I get "Beim Ausfüllen der Formulare sind 2 Fehler aufgetreten. Bitte die Fehler berichtigen und erneut speichern." - 2 Errors occured, please correct and save again - But I have no idea what errors. The only thing red on the page is the browser spellcheck in text fields - How can I find out? Shyof (talk) 15:14, 19 August 2024 (UTC)

Maybe it's the same problem as this one?: Commons:Village pump#No error message for same file names in Upload Wizard. It should probably be reported at this page instead of here. Prototyperspective (talk) 12:02, 20 August 2024 (UTC)
Hmm, that could have been possible - uploading the files one-by-one without changing anything else worked (the names differed but had a common prefix)... Thanks for the hint! Shyof (talk) 15:54, 20 August 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 10:35, 16 September 2024 (UTC)

Tech News: 2024-34

MediaWiki message delivery 00:49, 20 August 2024 (UTC)

Options to "Use this file" do not appear for some files

For some files, the top bar only contains links to the file history and usage. Some examples:

It does not contain the option to download or use the file. What's the reason for this inconsistency? Ixfd64 (talk) 20:30, 20 August 2024 (UTC)

How to show different contents on mobile?

I don't know why nobody is replying at Talk:Main Page#Edit requests but the Main page is referring to the links to the right for years while on mobile, which by now could well be how the majority of people land on this page by now, the links are not "on the right" but down. Is there a way for this part to be different on mobile? Extension:MobileDetect doesn't seem to work on WMC. Prototyperspective (talk) 20:19, 21 August 2024 (UTC)

You use media queries and the skin classes and fix the templatestyles. —TheDJ (talkcontribs) 18:10, 25 August 2024 (UTC)
It was implemented using {{If mobile}}.
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --Prototyperspective (talk) 10:50, 18 September 2024 (UTC)
Prototyperspective (talk) 10:50, 18 September 2024 (UTC)

Hi all, i've noticed that since some days (can't tell exactly :-( ), there's a discrepancy between search results on Commons and PetScan search results based on the very same search. For example, a search on Commons with search string Tschubby map incategory:"Media_missing_infobox_template" currently yields 1,087 hits. Executing exactly the same search on PetScan yields between (!) 1,039 and 1,065 results (I did multiple search runs with same psid). Repeating the search on PetScan yields different results, while the commons search result is stable. This looks like a PetScan issue, but before reporting there, I wonder if others found a similar behaviour, or if I'm doing something wrong. Fl.schmitt (talk) 16:41, 19 August 2024 (UTC)

I noticed some discrepancies, but they seemed minor. Petscan uses different channels that might fail or occasionally have their own problems. Maybe you want to use the category instead. Enhancing999 (talk) 16:39, 21 August 2024 (UTC)

Special:UncategorizedCategories says it runs once a month. It is now five days beyond that. Even once a month is a long time for this report, which used to run every three days. No doubt partly as a result of that longer interval, we have gone from having about 100-200 such categories early this year to over 1500 in the latest (July 7) report. I've dealt with several hundred of those, and would really like to have a more updated report to work from. As far as I can tell, there is no reasonable way to find uncategorized categories other than this report, and except for the rare false positive, every single uncategorized category genuinely represents a task to be done. - Jmabel ! talk 19:31, 12 August 2024 (UTC)

Why was it changed to much less frequent runs? I think it would be better if like with Suggested Edits, categories were suggested for these (and also categories that already have categories) – for example using the categories of the Wikipedia items if the category is linked to (these could have cats with matching cats on WMC or cats that have parent cats with matching cats on WMC). Prototyperspective (talk) 23:20, 19 August 2024 (UTC)
It's updated. Count of 11:11, 22 August 2024 is 1534. Enhancing999 (talk) 12:25, 22 August 2024 (UTC)
phab:T369024: Seems the outcome is Special:UncategorizedPages got deactivated instead.
@Ladsgroup can't we keep both?
A way to speed it up could be to limit Special:UncategorizedPages to namespace 0. Pages don't need to appear there and on Special:UncategorizedFiles.
FYI: @Bawolff, @Mdaniels5757, @JopkeB. Enhancing999 (talk) 14:00, 22 August 2024 (UTC)
MediaWiki currently does not support setting Special:UncategorizedPages to use namespaces different than the Content Namespaces Bawolff (talk) 09:27, 23 August 2024 (UTC)
The query for Uncategorized pages is really strange. I wonder what usecase it's meant for. It's much quicker when it's limited to namespace 0. Adding namespace 6 and filtering that for pages without files is just strange. It seems to be me that the bug needing fixing is to write correct SQL. Enhancing999 (talk) 09:42, 23 August 2024 (UTC)
Thanks for pinging me. My questions:
  1. What exactly is the problem? What is the frequence of runs yet? @Jmabel: What would be a good frequence for you?
  2. What is the purpose of phab:T369024 exactly? Please explain in plain English. I have not enough knowledge of this tool to understand what the consequences of this task might be. Anyway: Special:UncategorizedPages should still run now and then, it should not be deactivated. If the frequence now is a problem, I think it might run weekly or perhaps even less frequent, but we cannot do without it.
  3. What does "limit Special:UncategorizedPages to namespace 0" mean? And in the next sentence: what does "there" mean? Now it looks like referring twice to the same list.
JopkeB (talk) 09:34, 23 August 2024 (UTC)
As you noted elsewhere Special:UncategorizedPages included both galleries (namespace 0) and file description pages that are empty (namespace 6). These empty file description pages appear also on Special:UncategorizedFiles.
The query for namespace 6 in Special:UncategorizedPages is really resource intensive at Commons (this lead to the bug above). I can't really think of a cases where it's needed though.
As the bug report isn't very clear, it lead to the wrong "fixes" and Special:UncategorizedPages is currently deactivated. Fixing it correctly should make updating Special:UncategorizedPages much faster. Enhancing999 (talk) 09:51, 23 August 2024 (UTC)
@Enhancing999: Thanks for your explanation. How would Special:UncategorizedPages get correctly updated, what should be done? Is phab:T369024 making that happen or is it the other way around: is that the ticket implementing the deactivating and should we ask for a new ticket/task? JopkeB (talk) 11:18, 23 August 2024 (UTC)
BTW, currently there are few pages on Special:UncategorizedPages and Special:UncategorizedFiles, but this is due to several people cleaning them up fairly thoroughly since JopeBe's report above. This does not mean the reports aren't needed or should be run less frequently. Enhancing999 (talk) 09:59, 23 August 2024 (UTC)
Hi, Page table of Wikimedia Commons currently has more than 110M rows, its categorylinks table has more than 800M rows. Joining these two tables with such conditions is too expensive in our production and can cause issues and bring down our databases. That's why we had to reduce its frequency to once a month. We will eventually migrate these reports to hadoop and bring back its previous frequency but that's far in the future (phab:T309738). In the meantime, you can improve the condition by excluding File namespace in the query (which would make it faster), and then just run it against wikireplicas. Similar to how English Wikipedia builds reports for their needs (en:WP:DBR). Sorry for the inconvenience but we don't really have a choice. ASarabadani (WMF) (talk) 11:38, 23 August 2024 (UTC)

@JopkeB: I guess I could live with Special:UncategorizedCategories being monthly, though certainly more often is better. Before the most recent report a couple of days ago, we'd gone 6 weeks. When you say "What exactly is the problem?" I'm not sure what you are asking. Are you asking how the page is used? Why it's a problem when it is far out of date? or something else? - Jmabel ! talk 18:55, 23 August 2024 (UTC)

I have already get an answer to this question: there are technical problems to run lists as frequent as we would like to. JopkeB (talk) 05:14, 24 August 2024 (UTC)

Croptool connections/authorization

Hey guys, I use croptool to correctly size images from Wikipedia commons for use as pagebanner in wikivoyage. Unfortunately, connections have been consistently failing the last couple days. Anyone seen this? Any tips on what I might need to do to get it to work? Mrkstvns (talk) 21:13, 25 August 2024 (UTC)

See COM:CropTool, the tool should be up now, but it seems like Toolforge had issues over the weekend. Sohom (talk) 14:53, 26 August 2024 (UTC)

Dark mode fix on Main Page?

I've pushed some dark mode fixes on Template:Main Page Template, but it's not being reflected in Main Page for some reason? However it is being reflected in other languages like Tamil (முதற் பக்கம்). Is there a reason why? —Matrix(!) {user - talk? - uselesscontributions} 05:21, 26 August 2024 (UTC)

Upland Wizard bug

I uncovered a bug in the Upload Wizard. Can it be reported somewhere locally, or should I use Phabricator? The Upload Wizard main page and Upload Wizard FAQ are both silent on bug reporting. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:49, 26 August 2024 (UTC)

The correct place on Wiki would be Commons talk:WMF support for Commons/Upload Wizard Improvements. But in this case this is not an UploadWizard problem. We have an template with the same name as a language code. That is an error that should never happen and we need to delete the template redirect. GPSLeo (talk) 15:07, 26 August 2024 (UTC)
I moved all uses of the template redirect to the actual template and deleted the redirect. But I am unsure if the language code handling will work without any additional action. GPSLeo (talk) 15:29, 26 August 2024 (UTC)
Thank you. Did you check whether any of those were genuine attempts at using the language? Looks like we need to replicate {{En}}, {{De}} etc., for the abr language code. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:34, 26 August 2024 (UTC)
Yes, I checked the files before changing the template. 6 files wanted to use the language code. I create the {{Abr}} and it seems to work correct. GPSLeo (talk) 15:44, 26 August 2024 (UTC)

Subcategory not seen in a category

The Category:Books from the United States is categorized in Category:Books by country, but it is nowhere to be seen in that category. What is the reason? -- Jan Kameníček (talk) 16:53, 26 August 2024 (UTC)

Tech News: 2024-35

MediaWiki message delivery 20:28, 26 August 2024 (UTC)

Geolocate nepal photos

Date Name Thumbnail Size Description
09:31, 23 March 2019 Chandragiri Cable Car, 2018-04-21 (2).jpg (file) 5.93 MB User created page with UploadWizard
07:18, 23 March 2019 Chandragiri Cable Car, 2018-04-21 (1).jpg (file) 6.31 MB User created page with UploadWizard

plz take a look at User:Simasuru's photos. i located one of them to 27.685, 85.2138. do you think that's right? once it's confirmed, i will rename the files. RZuo (talk) 05:46, 18 August 2024 (UTC)

I'd tend to have these tests deleted. Enhancing999 (talk) 12:21, 18 August 2024 (UTC)
Rename yes, but meets COM:SCOPE, right? --PantheraLeo1359531 😺 (talk) 11:55, 19 August 2024 (UTC)
@RZuo: it seems to match Google Street View. Of course locating an image retroactively might result in some minor error margins, but it should not be a huge deal. I've moved them to a more appropriate file name now. —Matrix(!) {user - talk? - uselesscontributions} 15:13, 27 August 2024 (UTC)

Bot no longer working to warn Wikivoyage about nominations for deletion?

As I stated in User talk:IronGargoyle#No notifications to Wikivoyage anymore? (edited for brevity and relevance):

Commons delinker delinked an image on Wikivoyage that was deleted in the Commons:Deletion requests/Files in Category:Patuxai thread. Why was there never a notification on the voy:Talk:Indochina Wars page that this file was nominated for deletion? We're supposed to get such notifications.

Was there a malfunction of the relevant bot, or was a unilateral decision made on Commons to stop giving notice to other sites such as Wikivoyage that use thumbnails of images on Commons in our articles but can choose to locally upload images that we consider important and are problematic merely due to a lack of commercial freedom of panorama? If the bot malfunctioned, please try to find out why and ensure the problem does not recur. However, if a unilateral decision was made to stop giving sister sites such as Wikivoyage the chance to make our own decisions on affected files before they are deleted on this site, I cannot state too strongly that that is absolutely unacceptable! We cannot return to the days when slews of images were deleted from Wikivoyage articles without notice. I'll look forward to your response and explanation of how you will prevent this problem from recurring. Thanks, everyone! -- Ikan Kekek (talk) 04:30, 25 August 2024 (UTC)

I do not think this is specific to Wikivoyage, there were also bot notifications about imminent deletions in the English Wikipedia, but I do not see them anymore. May the the bot got abandoned, lost the flag or smth else happened. Ymblanter (talk) 18:23, 27 August 2024 (UTC)
I'm not entirely sure if that wikivoyage was on the bot, however I do know that the bot was recently broken for quite a while: https://phabricator.wikimedia.org/T339145 There was a surprising small amount of communities that adopted/approved that bot when the community tech team finally rewrote it in 2018 btw. Really sad, if you realize how much money the foundation poured into reworking that bot. —TheDJ (talkcontribs) 20:17, 27 August 2024 (UTC)
We need to be notified when images we use as thumbnails are nominated for deletion. If the bot isn't working, what's the solution? -- Ikan Kekek (talk) 23:03, 27 August 2024 (UTC)

Addition of Pattypan Userguide on Commons

I and a colleague are curating a complete guide for using Pattypan for batch uploads for Wikimedia Commons, from image quality to upload processes to license and creations of hyperlinks copyright approval. I need help understanding how we can upload here on wikimedia for use by everyone Lutarchitecture (talk) 00:44, 27 August 2024 (UTC)

You could complete Commons:Pattypan?
 ∞∞ Enhancing999 (talk) 15:19, 27 August 2024 (UTC)
What do you mean by complete Pattypan, please throw more light thanks, like give it more context so I effectively understand you Lutarchitecture (talk) 21:14, 27 August 2024 (UTC)
That page and its subpage are the guide of Commons for the use of Pattypan.
 ∞∞ Enhancing999 (talk) 21:17, 27 August 2024 (UTC)

Search operators for audio file size and duration?

Because the gallery of new files (linked in the left panel that is shown on all pages under "Latest files") is broken for audio files since it's very cluttered with lots of pronunciation files and not having any way to filter files out within the page, I created this search that to some extent filters out pronunciation files: -intitle:/LL\-Q/ -Pronunciation -deepcategory:"Tamil pronunciation" -deepcategory:"Dutch pronunciation" -deepcategory:"English pronunciation" filetype:audio

There are two problems with it: deepcategory search operator does not work properly so the parent category can't be used (phab:T369808) and it's quite slow because the "intitle" search operator can't deal with "LL-Q" because of the hyphen needing this regex which slows the search down (phab:T371195). It's still good enough that it can be used in practice to see recent audio files that aren't pronunciation files so e.g. audiobooks, spoken Wikipedia, soundscapes, and music tracks as well as lots and lots of copyvios that no human or bot seems to check. To improve it further, I'd like to add a search operators to exclude files with a duration of only a few seconds or a filesize of just a few kB because these are usually also just pronunciation files. It seems like petscan can do so so is there a way to add this to the WMC search? If such search operators don't exist is there some phabricator issue about adding these? They would also be useful in finding for example subcategorize Short films videos in Films categories and many other things. Prototyperspective (talk) 10:16, 28 August 2024 (UTC)

@Prototyperspective: You can search by file size in kilobytes using filesize:. See mw:Help:CirrusSearch#File properties search. But there doesn't seem to be a property for duration. You can see what the search system can use by appending ?action=cirrusdump to a page URL, and trying that on a random audio file I can't see anything that looks like the duration. It seems to me that duration would be an obvious measure alongside height and width, but I'm not sure where I'd suggest that. --bjh21 (talk) 11:22, 28 August 2024 (UTC)
Ups, thanks apparently I only ctrl+F searched for "file size" with a space but not "filesize" on that help page. I added filesize:>100 to the search string.
I'll make a phabricator issue asking about a search operator for duration then because even if that's not needed for filtering out pronunciation audio files it would still be useful for finding short films and many other use-cases I haven't thought of. Prototyperspective (talk) 12:54, 28 August 2024 (UTC)
This ?action=cirrusdump thing seems very useful so I think it should be included in the help page properly, could you add it there (currently it's only buried in the notes of some reference). Another issue is that I can't find out how to specify the sort order with the search operators (asked about it at Template talk:Search link) – how could one specify sort=create_timestamp_desc as sort order? Prototyperspective (talk) 13:00, 28 August 2024 (UTC)

Could translated pages be hidden from categories?

For example see Category:Commons video resources – all those translated pages in that category make it cluttered, hard to go through the pages, and bury pages on the next page.

Would it be possible to hide translated pages so that only one is shown?

  • One could have the links to the translated pages at the top of that page
  • One could automatically open the respective translated page when opening the page depending on one's language settings
  • (and there are more alternatives)

Prototyperspective (talk) 22:00, 16 August 2024 (UTC)

Much less useful but still useful would be if the translated pages were also hidden or hidable in the File uses on commons section of file pages because it makes it cluttered and hard to see where a file is used; example. Prototyperspective (talk) 10:08, 19 August 2024 (UTC)
It's possible to place them in a subcategory, but I don't think status quo is necessarily an issue. They should be categorized in any case. Enhancing999 (talk) 12:17, 22 August 2024 (UTC)
It's currently not a big problem but it makes things far less overseeable and buries things on other pages or beneath the cluttered page. Imagine if there were 300 translated versions of a page which is just roughly the number of languages with a Wikipedia and not even all notable languages, it would make the category barely usable to find and organize things. Manually subcategorizing wouldn't be a good solution because it requires people to spend time manually doing so and new translations will be directly in the category again. Maybe there could be some multilingual redirect page that redirects to whatever language the user has configured if that language version exists and English otherwise? Prototyperspective (talk) 12:35, 22 August 2024 (UTC)
Another example: Category:Digitisation help. Prototyperspective (talk) 10:52, 18 September 2024 (UTC)

How to distinguish categories set by the Infobox from other cats?

It would be great if somebody could create a report that lists categories that don't have any categories except for meta-categories set by the Wikidata Infobox like Category:Uses of Wikidata Infobox with no image as proposed here. Example

Is there some way to distinguish categories set by the Infobox from other categories?

It would be best if one could also distinguish between meta-categories set by the WD Infobox like the one above and other categories set by the WD Infobox like Category:Lonnie (given name) (from example) because some categories that only have categories set by the WD Infobox don't need any other categories so would best show up in some separate less important report at some point (and it may even be desirable to increase cats that only have cats set by their WD Infobox). Prototyperspective (talk) 19:47, 30 August 2024 (UTC)

Any other place to ask about this? Prototyperspective (talk) 10:45, 18 September 2024 (UTC)

Vandals often move captions to other languages – detection needed

What's going on with people somewhat apparently systematically moving captions from one language to a false one? This is happening frequently and often, if not usually, not detected & reverted by editors.

Could a detection of this please be developed? Compared to other vandalism that is well-detected automatically on Wikipedia by for example ClueBot NG (acc) I think it would be easy to detect if a caption got moved from the original language to another one, if possible with language detection so it also checks if the language it was moved indeed does not match the caption text language. Maybe a better place to ask about this would be the Bot requests or the ClueBot NG talk page / code repo.


Examples

Previously I was wondering how to search my contributions (edit summaries). I was trying to use standardized phrases or terms in edit summaries so I can easily look them up later, for example to replace texts I previously added with templates. I found the following useful tool and because I try to always use term "rvv" when reverting edits that are or seem to most likely be vandalism many examples of such edits can be found here. These are the most recent ones: 1 2 3 4 5 6 7. By the way, I think captions are more a problem or redundant than anything else since there already is the machine-translatable description field (it's useful sometimes when descriptions are long but these could also instead have a short version at the top or be shortened). Another problem is that when undoing changes to captions there is no prefilled edit summary so one has to tediously copy the contributions link of the user and write the edit summary anew. Prototyperspective (talk) 13:04, 17 August 2024 (UTC)

Given how often this happens (I was able to find a couple of recent instances in a few minutes of looking through RecentChanges) and how weirdly specific of an action it is (it only changes the language of the caption, never its content), I suspect this is a UI/UX issue, not deliberate vandalism, and I suspect it can be addressed by making some changes, like inserting a confirmation dialog when changing the language of an existing caption.
Does anyone know how/where the caption editing interface is implemented, and who's responsible for it? (I also have a couple of gripes about the language picker used in the caption interface - especially its appearance on mobile.) Omphalographer (talk) 05:16, 18 August 2024 (UTC)
you're right. try File:JPG Test.jpg.
given existing captions, users can change the language and then click publish. that results in the aforementioned problematic edits. RZuo (talk) 05:30, 18 August 2024 (UTC)
There is the new feature to require captchas for action defined in an abuse filter. I thought about requiring captchas for all IP edits on captions. This might reduce these king of accidental edits. GPSLeo (talk) 05:36, 18 August 2024 (UTC)
  • Could be but sometimes they do change the text or change multiple languages at once and it seems like it's always only done by new or unregistered users who sometimes did some other different problematic changes.
  • Another thing that could be done is automatic detection of the language and displaying at least a warning or adding the file to a maintenance cat if it doesn't match the specified language – this would also be useful since often people specify the wrong language even at upload.
  • @RZuo: What do you mean? Why would Omphalographer be right in that this is a UI/UX issue? What you described is exactly the expected behavior: changing the language and then clicking publish, how does this suggest it's not vandalism and a UI issue? I don't see why you and GPSLeo think it would be accidental / an UI issue if one has to deliberately click "publish".
  • Even if both captchas are added and they indeed reduce these changes, I still think there should be automatic detection of these changes as well as other likely vandalism. Why is ClueBot_NG not active on WMC? Does ORES work with WMC? There's lots of vandalism here (not just in the captions and the relatively hidden structured data) and I've come across multiple cases where it stayed on a relatively large page for a year or so. Bots/tools could build a queue of edits to check as well as automatically revert edits that are very likely to be vandalism. Moreover, they could learn from edits that specify that the reverted edit was likely vandalism or similarly nonconstructive (it doesn't matter if deliberate or not) if terms like RVV are used.
Prototyperspective (talk) 10:07, 18 August 2024 (UTC)
People are on a website an they see a language selection. They want to change the language of the text. They do not expect that they are able to change the content on a website where they do not even have an account. The button says publish but how is this translated into different languages and are these translated terms always that clear? GPSLeo (talk) 10:37, 18 August 2024 (UTC)
This type of "vandalism" is so specific that it would basically have to be a very dedicated LTA who utilizes IPs from all around the world; it's disruptive but I don't think it's deliberate. Gnomingstuff (talk) 04:49, 26 August 2024 (UTC)
Yes I think the explanation by GPSLeo is quite plausible. The main subject of this thread however is detecting such edits and auto-reverting them (also useful for other unconstructive edits / reducing maintenance workload) regardless of whether or not they are intentional or not. I don't know what you mean by "LTA" but it could have also been many people that found this to be an effective type of vandalism as it's often not detected and reverted but I already think inadvertent edits may be more likely. Maybe there could be some special confirmation box asking if the user really wants to publish that to the file data without using the word "publish" because maybe those users didn't understand that word. In any case, detecting if the text in the caption matches the languages seems useful and needed in any case, for example because many users add captions in English to other languages at upload or similar things. Prototyperspective (talk) 09:52, 26 August 2024 (UTC)
Something in the GUI needs improvement. It's plausibel that changing the language and saving it actually adds an additional language rather than deleting one as well: [12] Enhancing999 (talk) 10:10, 26 August 2024 (UTC)
LTA = long-term abuse, people who vandalize in their specific identifiable way for months or years.
The main tells on these are edits by infrequent editors with 2 changes per file. Not much help though once it's out of recent changes. I've found some by searching for captions with mismatched languages e.g. "Spanish the," but obviously that only works with certain patterns.
The problem though with any kind of auto-reverting is that it would have to not catch people fixing this stuff, especially when it's undetected. Gnomingstuff (talk) 11:29, 27 August 2024 (UTC)
Many don't have 2 changes per file. I think the main indicators are 1. language does not match specified caption language (no other indicator is needed; check language auto-detection of Google Translate or DeepL to see what I mean with language detection) 2. user isn't an editor with many unreverted edits (would only use this indicator early on as language mismatching is a general problem).
I don't understand what you mean with The problem though with any kind of auto-reverting is that it would have to not catch people fixing this stuff. People fixing this stuff would move the caption back to its matching language or remove the flawed captions so they wouldn't be detected. Prototyperspective (talk) 11:51, 27 August 2024 (UTC)
The solution may be mw:Moderator Tools/Automoderator but I don't know if it also checks changes to captions, does it? Prototyperspective (talk) 10:51, 18 September 2024 (UTC)
Can Automoderator detect these changes? People still move the captions. Maybe it's indeed some interface issue where things aren't clear and people think moving the caption to another language and then clicking "Publish" (or a translation of that word) would show the caption in their language. Prototyperspective (talk) 10:43, 25 September 2024 (UTC)