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

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

When editing a page the link above the edit summary link to meta:Special:MyLanguage/Help:Edit summary but that page is now a redirect. Please change that link to its new target. Links to redirects should be avoided in general but it's also a problem if one has enabled to see redirect pages. It seems like that page is not redirect anyway and only has the note "This page has been moved to Help:Edit summary on mediawiki.org.". Prototyperspective (talk) 13:44, 5 November 2024 (UTC)

@Prototyperspective: You might want to submit an edit request on MediaWiki:Summary (and possibly MediaWiki:Summary/cs, MediaWiki:Summary/sl, and MediaWiki:Summary/fi), which is where the text on the edit page comes from. --bjh21 (talk) 14:36, 5 November 2024 (UTC)
Thanks, done. Prototyperspective (talk) 14:40, 5 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Prototyperspective (talk) 14:40, 5 November 2024 (UTC)

User:FlickreviewR 2 appears to be broken

As per User:MGA73's report on the bot creator's talk page, there has been a surge of failed Flickr license reviews by User:FlickreviewR 2, with a large number of them being returned as "size_not_found" without crop or other image processing. An example can be found at here, where I asked the bot to review for 5 times, and the bot returned that result for all instances.

So far we have ~300 pending files at Category:Flickr images needing human review. Is the bot broken? I would like to hear more comments before sending the matter to Phabricator, thanks.廣九直通車 (talk) 07:29, 7 November 2024 (UTC)

@MGA73: as original user who reported the problem. Also it appears that the problem happens intermittently per the bot's contribution log: sometimes the bot can correctly review an influx of files, but it also fails to review an equivalent amount of files too.廣九直通車 (talk) 07:38, 7 November 2024 (UTC)
@廣九直通車: To me it seems like the best chance of review is if there are only a few files for review at the same time. So if someone upload 100 files the bot will crash. I have asked my bot to request a new review for 3-4 files per minute and it reduced the number of unreviewed filed from more than 2000 files to 20. But new files show up non-stop. --MGA73 (talk) 09:58, 7 November 2024 (UTC)
@MGA73: Thanks, should I file a bug report on Phabricator? I'm afraid that the bot owner won't be responding to our concerns for some while.廣九直通車 (talk) 05:33, 9 November 2024 (UTC)
@廣九直通車: Yes please, that would be great! --MGA73 (talk) 08:38, 9 November 2024 (UTC)
+1 --PantheraLeo1359531 😺 (talk) 10:55, 9 November 2024 (UTC)
Task created at Phab:T379459, FYI.廣九直通車 (talk) 13:36, 9 November 2024 (UTC)
According to Phabricator, only the bot owner can fix the problem. Maybe I'll send an email to notify the owner?廣九直通車 (talk) 05:52, 11 November 2024 (UTC)
I got the email. I'll take a look later today or tomorrow. --Zhuyifei1999 (talk) 11:09, 16 November 2024 (UTC)
[2024-11-07 07:17:10] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] size_not_found cc-by-2.0 
[2024-11-07 07:18:35] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] size_not_found cc-by-2.0 
[2024-11-07 07:19:38] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] size_not_found cc-by-2.0 
[2024-11-07 07:21:46] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] size_not_found cc-by-2.0 
[2024-11-07 07:28:08] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] size_not_found cc-by-2.0 
[2024-11-07 13:47:08] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] size_not_found cc-by-2.0 
[2024-11-07 15:37:37] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] size_not_found cc-by-2.0 
[2024-11-07 16:56:28] * [[:File:NYPD School Safety Division Chevy Bolt.jpg]] passed cc-by-2.0 

Corresponding errors:

[2024-11-07 07:17:10] File sizes do not match. Commons: 7449345; Flickr: 93
[2024-11-07 07:18:35] File sizes do not match. Commons: 7449345; Flickr: 93
[2024-11-07 07:19:38] File sizes do not match. Commons: 7449345; Flickr: 93
[2024-11-07 07:21:46] File sizes do not match. Commons: 7449345; Flickr: 93
[2024-11-07 07:28:08] File sizes do not match. Commons: 7449345; Flickr: 93
[2024-11-07 13:47:08] File sizes do not match. Commons: 7449345; Flickr: 93
[2024-11-07 15:37:37] File sizes do not match. Commons: 7449345; Flickr: 93

... no idea why flickr is giving size = 93. Looking into it. --Zhuyifei1999 (talk) 14:31, 16 November 2024 (UTC)

The 93 bytes is of contents <html><body><h1>403 Forbidden</h1>\nRequest forbidden by administrative rules.\n</body></html>\n with a 403 http status code. --Zhuyifei1999 (talk) 14:48, 16 November 2024 (UTC)
Got another hit on File:0O2A1428_(54138449817).jpg. The url it was accessing that gave 403 was https://live.staticflickr.com/65535/54138449817_b7bcdbd0df_o.jpg. After a couple seconds I reran the script and it was accessing the same link (https://live.staticflickr.com/65535/54138449817_b7bcdbd0df_o.jpg) and it gave a good file. I have no idea why Flickr is doing this. As a workaround I'll make it ignore files that Flickr gives 403, assuming it's some intermittent issue on Flickr's side. --Zhuyifei1999 (talk) 15:05, 16 November 2024 (UTC)
Looks like an IP-based rate limit on Flickr's side. --Zhuyifei1999 (talk) 15:22, 16 November 2024 (UTC)
It barely works if I do a 30s throttle every time it hits a rate limit. I increased it to 60. hopefully it'll work better. @Magnus Manske: have you seen anything with rate limiting on flickr2commons? This is the curl -v of an unsuccessful and successful request:
tools.yifeibot@shell-794f885d69-c4mdc:~$ curl -v https://live.staticflickr.com/65535/54055928927_19a9524245_o.jpg
*   Trying 18.160.38.87:443...
* Connected to live.staticflickr.com (18.160.38.87) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=static.flickr.com
*  start date: Oct 12 00:00:00 2024 GMT
*  expire date: Nov  9 23:59:59 2025 GMT
*  subjectAltName: host "live.staticflickr.com" matched cert's "*.staticflickr.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55c12c99a1b0)
> GET /65535/54055928927_19a9524245_o.jpg HTTP/2
> Host: live.staticflickr.com
> user-agent: curl/7.74.0
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 403 
< content-type: text/html
< content-length: 93
< date: Sat, 16 Nov 2024 15:20:51 GMT
< cache-control: no-cache
< x-cache: Error from cloudfront
< via: 1.1 1063d14b5dde23a7d5dd1293e6ceb59c.cloudfront.net (CloudFront)
< x-amz-cf-pop: IAD55-P1
< x-amz-cf-id: m-0MbusK241Qe5x-5FMKNWOY6qe6Rs2OEnoiYn9-6gh14ZOUJybisg==
< 
<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
* Connection #0 to host live.staticflickr.com left intact
tools.yifeibot@shell-794f885d69-c4mdc:~$ curl -v https://live.staticflickr.com/65535/54055928927_19a9524245_o.jpg
*   Trying 18.160.38.87:443...
* Connected to live.staticflickr.com (18.160.38.87) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=static.flickr.com
*  start date: Oct 12 00:00:00 2024 GMT
*  expire date: Nov  9 23:59:59 2025 GMT
*  subjectAltName: host "live.staticflickr.com" matched cert's "*.staticflickr.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x560a258461b0)
> GET /65535/54055928927_19a9524245_o.jpg HTTP/2
> Host: live.staticflickr.com
> user-agent: curl/7.74.0
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200 
< content-type: image/jpeg
< content-length: 2119628
< date: Sat, 16 Nov 2024 15:24:37 GMT
< mib: 2
< edge-control: public, max-age=31536000
< surrogate-control: public, max-age=31536000
< cache-control: public, max-age=31536000
< expires: Sun, 16 Nov 2025 15:24:38 GMT
< imagewidth: 3464
< imageheight: 5202
< content-md5: YeSzoyxIRNkhDB9eSU2qGg==
< etag: "61e4b3a32c4844d9210c1f5e494daa1a"
< last-modified: Thu, 10 Oct 2024 14:07:05 GMT
< id: 54055928927
< streaming: true
< origintype: D
< server: Jubilee
< quote: "I'm not a kid anymore, I'm one of you, one of the X-Men. It means more to me than anything in the world."
< access-control-allow-origin: *
< access-control-allow-methods: GET, OPTIONS
< powered-by: Mutation/1.0
< hiring: Change the world of photography with us. https://www.flickr.com/jobs/
< ourvalues: Deliver Awesome (#3 of 5)
< x-request-id: edbde4a6
< x-frame-options: DENY
< p3p: CP="This is not a P3P policy. We respect your privacy."
< x-env: a=live, b=jubilee, c=77f4af62, e=5b58dcebc6b0a7a1c92bca90a0cd911519cf6a73
< x-ttfb: 0.1392
< x-ttdb-l: 14101
< x-cache: Miss from cloudfront
< via: 1.1 965a8e3a7cc0b0dabf91fcd2f78a55da.cloudfront.net (CloudFront)
< x-amz-cf-pop: IAD55-P1
< x-amz-cf-id: 68eUXDwq8FBVz2Y-OoY_eFpRUssKYom9VXr1CRJRu6D4ON7X009z2w==
< 
Warning: Binary output can mess up your terminal. Use "--output -" to tell 
Warning: curl to output it to your terminal anyway, or consider "--output 
Warning: <FILE>" to save to a file.
* Failure writing output to destination
* stopped the pause stream!
* Connection #0 to host live.staticflickr.com left intact

(The request succeeds on a different host even during requests failing on this host) --Zhuyifei1999 (talk) 15:39, 16 November 2024 (UTC)

Found https://github.com/mikf/gallery-dl/issues/6360 and using the same workaround. --Zhuyifei1999 (talk) 16:52, 16 November 2024 (UTC)
Thank you for solving the problem!廣九直通車 (talk) 05:26, 18 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 14:18, 18 November 2024 (UTC)

Multilingual SVG file

Can someone this file be multilingual. I mean that it can be translated to other languages. I want to translate it to Hebrew using this tool. -- Geagea (talk) 13:43, 10 November 2024 (UTC)

@Geagea:
You will not be able to translate some of the text because it has been converted to curves (Commons does not support textPath).
I restored your initial translations.
I added a switch near the top of the file so MediaWiki will know it is a multilingual file. IIRC, MediaWiki only looks at the first few megabytes. If it does not find a translation by then, it assumes the file is monolingual. Your file is large and confuses MediaWiki.
To see what text you can translate, load the SVG file into a browser and select all the text (control+A on Windows).
Glrx (talk) 16:02, 10 November 2024 (UTC)
Thanks @Glrx. I see that my translations are ok now. But if you are saying that it won't work for all the translations I'll use this tool in a new file. Thanks a lot. -- Geagea (talk) 23:53, 10 November 2024 (UTC)
Hi. You can make the file multilingual, but do not replace ka text with he text. That makes a mixed-up monolingual file.
SVG Translate will make a multilingual file. It will not translate the 2 dozen labels that were converted to curves (they have aria-label attributes on the g container).
Glrx (talk) 02:44, 11 November 2024 (UTC)
ok, thanks. -- Geagea (talk) 08:43, 11 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 11:17, 18 November 2024 (UTC)

Template Assessments bug

Hi, In this image File:Louis Armstrong restored.jpg, there is an issue with the {{Assessments}} template. It says This file is marked as a valued image, but it is missing its scope! Please refer to Template:Assessments/doc! However there is the parameter "val-nom=Louis Armstrong restored.jpg" corresponding to Commons:Valued image candidates/Louis Armstrong restored.jpg. Any idea? Yann (talk) 15:54, 23 November 2024 (UTC)

The template is missing the parameter val-cat which (cf. template docs) should link to the category in which the image is the most valuable one. Normally this value can be copied from the first parameter of the {{VI}} template or from the scope parameter of the {{VIC}} template in the VI nomination. In this example (cf. the VI nomination) the value should be val-cat=Louis Armstrong. – Aristeas (talk) 16:26, 23 November 2024 (UTC)
That fixed the issue. Thanks a lot! Yann (talk) 17:00, 23 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 05:58, 25 November 2024 (UTC)

Broken template

Hello! I wanted to set up Template:Softwareyear for software releases by year (similar to Category:Video games by year), but I broke the template for software somehow. Can somebody fix it? Thanks :) --PantheraLeo1359531 😺 (talk) 09:29, 28 November 2024 (UTC)

It would be better if you described what is broken. It seems to work fine. See Category:2015 software. However, for the category so far I've only added particularly notable software to Category:2010s software so it may be good to either keep it that way or to distinguish items in it. If all software categories are dated Wikidata queries should be used for that since many of these already have the Inception year set, see also here. Prototyperspective (talk) 09:46, 28 November 2024 (UTC)
You're right, the 2015 cat works very well. I have Category:1984 software here; in this case, the variables do not change to the respective year :) --PantheraLeo1359531 😺 (talk) 09:57, 28 November 2024 (UTC)
Ah, I forgot the year. Okay, thanks, this works fine now :) --PantheraLeo1359531 😺 (talk) 09:57, 28 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Prototyperspective (talk) 21:42, 28 November 2024 (UTC)

100 MB limit for new file versions

Why is it there and is there a way around it?

For example, video2commons had and seemingly still has a bug that results in videos getting imported below the quality at source – see here. Instead of uploading the file again separately, I'd like to instead upload a video affected by this major problem as a new version (the prior revision can still be deleted if that's preferred via RevDel).

However, when I click "Upload a new version of this file" it says "Maximum file size: 100 MB" but the actual file is 234 MB. Example: File:Automatic Copenhagen Metro - Hitachi Rail Italy Driverless Metro - U-Bahn - Subway - Bahn.webm. Prototyperspective (talk) 21:46, 28 November 2024 (UTC)

@Prototyperspective Use User talk:Rillke/bigChunkedUpload.js. RevDel wouldn't be appropriate per Commons:Revision deletion#Revision deletion is used sparingly. AntiCompositeNumber (talk) 02:07, 29 November 2024 (UTC)
Thanks, remembered about the tool a bit too late and saw it also allows nonadmin users to upload large files as new version at "Overwriting an existing file" here. I think there should probably be a note about it on the "Upload a new version of this file" page but that's something for elsewhere. When it comes to revision deletion that was just a thought because of the storage requirements e.g. if all the videos imported below source-quality using video2commons are replaced and then stored twice redundantly. Prototyperspective (talk) 19:35, 29 November 2024 (UTC)
@Prototyperspective Revdel doesn't save any storage space, deleted files are retained indefinitely unless they are removed by the WMF for legal reasons. AntiCompositeNumber (talk) 02:58, 30 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Prototyperspective (talk) 19:35, 29 November 2024 (UTC)

Russian txt in English field

Is it possible to automatically switch all the descriptions created by Aleksandr Patil from English to Russian? He apparently is not aware that he is using the English field. Hjart (talk) 21:09, 1 November 2024 (UTC)

I guess we need a friendly bot owner. Ymblanter (talk) 21:55, 1 November 2024 (UTC)

How to copy texts from Wikipedia articles via browser automatically?

Illustration of process I'm looking to automate more

Does somebody know how to automatically fetch Wikipedia article content into local files? The caveat here is that the API probably can't be used since the content is modified via CSS based on the CSS classes of the text content. Scraping the full HTML files and then converting these to text locally after the CSS modifications would probably be too difficult – I think automating the browser would be easier and maybe there are further methods.
The content I'm looking to copy is the article contents up to the See also/Notes/References section. It would be best if all tables removed via hiding their CSS classes mark the file somehow so depending on the table one can insert the table in list format manually (this is under development, it would be best if it automatically converted tables or added a note that 'Table XYZ is not included here'). Prototyperspective (talk) 12:27, 3 November 2024 (UTC)

FlickreviewR 2 (talk · contribs) appears to be broken again

I left a message on Zhuyifei1999 (talk · contribs)'s talk page yesterday, and again today, but he appears to be inactive since 16 November. FlickreviewR 2 hasn't reviewed any Flickr file for 50 hours, at least. Edelseider (talk) 08:24, 29 November 2024 (UTC)

There is absolutely no reaction, nowhere. :( --Edelseider (talk) 13:26, 30 November 2024 (UTC)
Resolved
Has been fixed at last. Thanks! --Edelseider (talk) 08:36, 1 December 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 09:00, 2 December 2024 (UTC)

Deletion request for now corrected category

Can someone delete c:Category:Wikiwoods? It has the incorrect capitalization (the second "w"). I made a new c:Category:WikiWoods with the correct casing and updated the five duly tagged files by hand. TIA, RobbieIanMorrison (talk) 18:51, 30 November 2024 (UTC)

✓ Done The Squirrel Conspiracy (talk) 20:45, 30 November 2024 (UTC)
@The Squirrel Conspiracy: many thanks. RobbieIanMorrison (talk) 21:23, 30 November 2024 (UTC)
Resolved
RobbieIanMorrison (talk) 21:25, 30 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 09:00, 2 December 2024 (UTC)

Tech News: 2024-45

MediaWiki message delivery 20:46, 4 November 2024 (UTC)

Template:LicenseReview, where to find the dropdown menu messages?

Hello,

as a license reviewer, I'll have the option to click either "[license +]" or "[license -]". On "license -", I get a dropdown choice of different options, like "all rights reserved" or "non-commercial". Where are these text strings located? Where is a good place to ask for additions to them (maybe here?)? I'd like to have something like License review failed -> Reason: "Source link dead & archived versions unusable." to document the reality. Regards, Grand-Duc (talk) 22:01, 3 November 2024 (UTC)

Hi Grand-Duc! If the file was uploaded long ago you might want to read/comment Commons:Village_pump#Almost_400k_files_need_license_review. Asking for new options could be placed at MediaWiki talk:Gadget-LicenseReview.js. --MGA73 (talk) 13:20, 7 November 2024 (UTC)

Commons:Categories for discussion/2018/02/Category:Panoramics/workplace (careful! LARGE page, 558k bytes)

i wanna separate the rows into 2 groups: 1 group for target=redlink; 1 group for target=bluelink. how may i do that? so that i have 2 tables at the end.

or just the simplest problem, how do i separate a group of mixed links into red or blue links? RoyZuo (talk) 18:02, 25 November 2024 (UTC)

nvm. i came up with a trick. i'm gonna do ifexist and insert number 0 if bluelink, then they get sorted and nicely separated. RoyZuo (talk) 18:07, 25 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 09:05, 7 December 2024 (UTC)

New project Commons:Give Us Your Voice needs some assistance

Hi, we are creating a new project aimed at Non-Wikimedians to speak a few words or names in their mother tongue for use all over the projects. We assumed this idea wold be welcome on Commons because here the files will end up anyway and for the international scope. The first page is at Commons:Give Us Your Voice. But we never have used tabs and other navigational tools on Commons and could use some help. Anyone who can explain how to build up to seven tabs in a navigation bar and fill the pages with content? TIA --Reisen8 + h-stt !? 18:41, 27 November 2024 (UTC) PS: This is not at all urgent, more like an occasional question once a while.

@H-stt@Reisen8 Commons:Spell4Wiki might be something similar, for words in general but not just specifically names. Maybe there's room for cooperation and you wont need to develop new infrastructure for the new project. RoyZuo (talk) 19:31, 27 November 2024 (UTC)
thx for your idea, but Spell4wiki seems to be a mobile app and the last release was in 2021. We are trying to motivate people to pronounce a few names as drive-by-editors. Asking to download an app from F-droid (no IOS, jailbreaking android), seems to be excessive. Might do in Tamil Nadu, where everyone has jailbroken their androids, but not in Germany and CEE. --h-stt !? 19:44, 27 November 2024 (UTC)
Its beauty is, its source code is open, so you could take and use.
its google play app was last Updated on May 5, 2023. RoyZuo (talk) 09:40, 28 November 2024 (UTC)
Thank you RoyZuo], I'll keep that in mind for the time when it gets to look for fellow people for the project. For the moment, I am glad to have come across this project page which I'll try to use as a structure model. Greetings! --Reisen8 (talk) 06:05, 29 November 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 09:05, 7 December 2024 (UTC)

template:information undisplayable name

I found the error. even if ・・・・ inputs template to them name but {{Author missing}}. thanks. --eien20 (talk) 22:28, 9 November 2024 (UTC)

Problem with thumbnails

File:Yiannis Boutaris Drasi.jpg is doing a problem with thumbnails, it can't be used in Wikipedia, Regards!! --Ezarateesteban 22:03, 10 November 2024 (UTC)

Garbled characters in SVG image

Fiji ....

See File:Fiji Province.svg. How can I fix it?--BigBullfrog (talk) 14:54, 10 November 2024 (UTC)

@BigBullfrog:
The file was using the Fantasy font. On Commons, that apparently turns Latin characters into special characters (which is not UTF-8). I overrode that choice with a style block that specifies text elements should use sans-serif.
The file also has Arabic in it (with display="none"), but it should use translation units rather than translation planes.
Glrx (talk) 15:30, 10 November 2024 (UTC)
@Glrx: It doesn't work in some Wikipedias (e.g. en wiki, de wiki). --BigBullfrog (talk) 18:36, 11 November 2024 (UTC)
Those links work for me. You may need to refresh the page without using the browser cache. Glrx (talk) 20:25, 11 November 2024 (UTC)

Creation of new pages logged as performed unknown action "create/create"

It seems that the creation of new pages currently shows up in the logs as [User] performed unknown action "create/create". Just reporting this for the technically minded... Gestumblindi (talk) 00:12, 11 November 2024 (UTC)

Yikes. filed —TheDJ (talkcontribs) 09:58, 11 November 2024 (UTC)

Please help me clean up this template

I created {{AlphaFold}} to better address a frequent source of AI images that I was seeing, but I'm not good enough with templates to set up proper langswitching, etcetera. Could someone take a look and make sure I didn't break anything? Thanks! The Squirrel Conspiracy (talk) 04:48, 11 November 2024 (UTC)

Tech News: 2024-46

MediaWiki message delivery 00:03, 12 November 2024 (UTC)

NamespaceInfo and subpages

Special:NamespaceInfo lists namespaces that can have subpages. Sample: "User talk" can have subpages, "Files" can't.

Currently the following namespaces have subpages enabled, but I'm not sure if they should:

  • Category
  • Creator
  • Institution


 ∞∞ Enhancing999 (talk) 10:32, 12 November 2024 (UTC)

Tech News: 2024-47

MediaWiki message delivery 01:57, 19 November 2024 (UTC)

Problem with Commons categories in Multilingual sites in Wikidata, consequences for Commons

In Wikidata there are Wikidata items that have a label that starts with "Category", have a statement "instance of" and have a link to "category's main topic" (and vice versa in the linked Wikidata item about the subject with a "topic's main category"); here referred to as Wikimedia category and subject Wikidata item.

I always thought that such Wikidata items in Commons are automatically put through to for example the Wikidata Infobox and corresponding Wikipedia's. Example: d:Q9097136 is such a Wikimedia category; its 'Multilingual sites' contains a link to the Commons category Category:Spijkenisse and it has no image, that is in the corresponding subject Wikidata item d:Q488545. The Wikidata Infobox in Category:Spijkenisse shows the image and other information from the subject Wikidata item and it shows even the link to the subject Wikidata item, but this subject Wikidata item does not have any 'Multilingual sites'. And the EN-WP article w:en:Spijkenisse has a link to the correct Commons category (under "Tools"), though there is no link in the Wikimedia category to the EN-WP article. So my conclusion is that there is an automatically procedure that links both Wikidata items to each other and their content to all the places where they are needed.
 Question Is this correct?

Problem: But now there is a discussion on Commons:Categories for discussion/2024/09/Category:Redirects connected to a Wikidata item where someone pointed out that there are situations in which this automatism does not work and so people invent work-arounds that causes other problems (in this case often an empty gallery page is created with a redirect to the Commons category, and this empty gallery page is used in the 'Multilingual sites' of the subject Wikidata item, see all pages in c:Category:Redirects connected to a Wikidata item for examples). One problem is a link in a Commons category to a Wikidata "Family tree" template:

  • Open the c:Category:Carlo_Buonaparte and the "Family tree" template. On the side of the sons you can see "Joseph Bonaparte" does not have any link, just a "[d]" you can click to enter his d:Q7726 Wikidata entry: There you can see the 'Multilingual sites' field has no entries, as the Category:Joseph Bonaparte is instead linked to d:Q31993664. If you are looking for images you have to do a long scroll to the Property:P373 in order to jump back to Commons. So even if the Commons category is present in the property "Commons category" of d:Q7726 it makes no direct link.

 Question Can this problem be solved? Is this the right place to ask for such a solution? I already have asked the same question on d:Wikidata:Project_chat/Archive/2024/11#Problem_with_Commons_categories_in_Multilingual_sites but I did not get an answer. JopkeB (talk) 05:39, 14 November 2024 (UTC)

I think it's fairly easy to fix: One should just add Commons sitelinks to the item with the articles they describe, whenever possible.
 ∞∞ Enhancing999 (talk) 12:42, 16 November 2024 (UTC)
Thanks Enhancing999 for your reaction. What do you exactly mean? For the example of Category:Carlo_Buonaparte: what should be done to get the correct links to Joseph Bonaparte? JopkeB (talk) 04:49, 18 November 2024 (UTC)
Ask Wikidata to link Category:Joseph Bonaparte from d:Q7726.
 ∞∞ Enhancing999 (talk) 10:45, 18 November 2024 (UTC)
✓ Done Anyone can do that. Why did you say "Ask Wikidata"? Yann (talk) 11:13, 18 November 2024 (UTC)
Because, it's likely that your edit will be undone shortly (not by me).
 ∞∞ Enhancing999 (talk) 11:19, 18 November 2024 (UTC)
I don't see why. I have done hundreds such edits, and they were very rarely contested. I think the links were automatically and erroneously added when a Wikipedia category exists. Commons categories should be linked to Wikipedia articles, not to Wikipedia categories. Is there anyone opposing that? Yann (talk) 11:37, 18 November 2024 (UTC)
@Yann: I am afraid Enhancing999 is right: Pi bot undid your change and the problem has not yet been solved. JopkeB (talk) 15:32, 18 November 2024 (UTC)
Ah. :( @Mike Peel: Hi, Please stop your bot from linking to the wrong items, i.e. [12]. There is quite a consensus that Wikipedia articles should be linked to Commons categories. Thanks, Yann (talk) 15:36, 18 November 2024 (UTC)
AFAIK Mike Peel has decided that he has authority over what Commons users want. :((( Now I have opened a discussion on Wikidata:Project chat. You may want to give your opinions there. Yann (talk) 18:24, 18 November 2024 (UTC)
Yann: do you have diffs to support your statement "I have done hundreds such edits"?
 ∞∞ Enhancing999 (talk) 14:22, 19 November 2024 (UTC)
OK, so this is actually an issue with {{Wikidata/FamilyTree}}, @Pyb: can you help? The Lua code that looks for the Commons link should automatically follow topic's main category (P910) values to the category item and get the Commons sitelink from there, but it looks like it currently doesn't. You could use the 'getCommonsLink' function from Wikidata Infobox to do this. I'll also raise this at Template talk:Wikidata/FamilyTree. Thanks. Mike Peel (talk) 07:23, 19 November 2024 (UTC)
@Mike Peel: No, it is not. This issue is not only for people, but for any subject.
Wikidata links to the wrong items. Demonstration (and please note that this is valid for any Wikimedia project, not only Commons): Say that a project has a page X linked to a WD item #1. Then, as the subject becomes sufficiently important, a subpage X1 is created. Will WD change the link to another item?
If there is no gallery, a Commons category is linked to the corresponding WD item. Then why changing the link if a gallery is created? Yann (talk) 07:48, 19 November 2024 (UTC)
Subpages are rare on Wikipedias. Category items still exist for Wikipedia categories, though - in the named case, you broke the Commons link at de:Kategorie:Joseph Bonaparte with your edits. For templates, the solution is to follow topic's main category (P910)/category's main topic (P301), which is what the Wikidata Infobox does, and could also be applied here. It's not optimal, and and I would like to see things improved in the long term - but it's what works practically right now. If you want to have a better solution, get a clear consensus somewhere, and go ask WMDE to make changes to Wikidata. Mike Peel (talk) 08:22, 19 November 2024 (UTC)
According to [13], things are not set in stone. Martin says that links could be changed if there is a consensus on Commons for that. Yann (talk) 16:48, 19 November 2024 (UTC)

"Content"-pages on Special:NamespaceInfo

Special:NamespaceInfo marks some namespaces as "content"-namespaces. Presumably at Commons that is "File:"-namespace. You might want to compare it with Wikipedia:Special:NamespaceInfo and Wikidata:Special:NamespaceInfo.

It's not clear what the exact meaning or definition of "content"-namespace is. Maybe it's merely that they are counted that way for Special:Statistics? Weirdly it shows more "uploaded files" than content pages.

Possibly we should also add "Data:"-namespace and "TimeText:"-namespace to the group.

Not sure about "Category"- and "Gallery"-namespace. I'd probably either add or remove both.
 ∞∞ Enhancing999 (talk) 14:32, 19 November 2024 (UTC)

Content namespaces are usually default namespaces to search, namespaces used forspecial:statistics, used in a bunch of query special pages, and a bunch of other places in mediawiki. Its basically anything that should be considered real content as opposed to something like the Commons: namespace which hosts meta content. You can request the list of content namespaces be changed at phabricator. Bawolff (talk) 20:54, 19 November 2024 (UTC)

Date bug?

in the mediaviewer it says "Created: 1500 Uploaded: 17 June 2014". i dont know where 1500 comes from. RoyZuo (talk) 15:13, 20 November 2024 (UTC)

There is some hidden text in the template output that says: between 1890 and 1900<div style="display: none;">date QS:P571,+1500-00-00T00:00:00Z/6,P1319,+1890-00-00T00:00:00Z/9,P1326,+1900-00-00T00:00:00Z/9</div>. Possibly this comes from Module:Complex date but i am not sure. Bawolff (talk) 17:06, 20 November 2024 (UTC)

"Use this file" no reaction

File:Dunluce Castle. County Antrim, Ireland-LCCN2002717364.jpg clicking the gadget has no response for me. is it the same for you? RoyZuo (talk) 15:12, 20 November 2024 (UTC)

I can reproduce it. Looking at the browser console, it says “TypeError: s is undefined” at Stockphoto.js, line 451 (where “s” probably means prefill). I currently don’t have the time/energy to debug this; you may want to write on the talk page of the script to avoid the problem getting archived and forgotten without being resolved. —Tacsipacsi (talk) 00:43, 22 November 2024 (UTC)