Commons:Village pump/Technical/Archive/2021/07

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

Request to rename the file

* File Mars Perseverance HNM 0107 0676439548 800ECM N0070001HELI02346 0000A0J.png, direct link

  • New name: Ingenuity in Flight 7
  • Reason:
    • official attribution of image at NASA site.
    • the word 'Perseverance' in the present image name misguides: photo is taken by Ingenuity, not Perserverance.

Thanks in advance. Cherurbino (talk) 06:37, 6 July 2021 (UTC)

Cancelled, the renaming template is placed instead of this request Cherurbino (talk) 07:45, 6 July 2021 (UTC)

I assume that that makes this request resolved. I tagged it for archiving. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 18:10, 8 July 2021 (UTC)
This section was archived on a request by: --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 18:10, 8 July 2021 (UTC)

What is going on with this signature?

I wanted to help a user adopt a stylised signature and I saw that they tried, but for whatever reason it didn't work.

The desired signature was this:

MacMoreno

However, it came out like this:

[[User:MacMoreno|<span style="color:darkblue;background:#FFCC00;border:1px solid darkblue;font-size:80%">'''Mac'''</span>]][[User talk:MacMoreno|<span style="color:#FFCC00;background:darkblue;border:1px solid darkblue;font-size:80%">'''Moreno'''</span>]]

What's going on here? --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 18:09, 8 July 2021 (UTC)

Thanks Donald, my signature is ok now on Commons, I was successful thanks to you. My English is very bad, I'm sorry, I use the translator.MacMoreno 20:04, 8 July 2021 (UTC)
@MacMoreno: , Alright, I will tag this section for archiving then. Glad I could help. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 20:20, 8 July 2021 (UTC)
Please, I finished the Saigon's coat of arms, you can put it on your page, thanks. Now you can archive the discussion "AD MAIORA SEMPER" Donald. MacMoreno 22:02, 8 July 2021 (UTC)
This section was archived on a request by: --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 20:20, 8 July 2021 (UTC)

Can someone with a bot split pages?

Not sure where to ask someone with the technical skills to do this, but please see this discussion, and "Commons:Village pump/Proposals/Archive/2021/03#Create separate pages for every individual undeletion request" it had 3 (three) support votes and 1 (one) oppose vote. An earlier discussion from 2016 found at "Commons:Village pump/Proposals/Archive/2016/12#Convert Undeletion Requests to one page per request" has 4 (four) support votes and no oppose votes. And the comments by Xover: "Amen! The really high-volume pages are pretty hopeless through the watchlist even on desktop, and watching them drowns out all other pages to watch. Trying to follow a specific undeletion request (e.g. because I filed it) is a nightmare. Xover (talk) 13:35, 6 July 2021 (UTC)." and "I'll also add that the page is currently large enough to constitute a performance problem. Even using the reply tool (which aiui save partial page content through the API and is usually much faster) there is a noticeable lag when replying. Xover (talk) 09:10, 11 July 2021 (UTC).". So this issue is not unique to us mobile users.

So not only is there consensus to add individual pages for every undeletion request, there has been for over half a decade. Unfortunately nobody with the technical skills to do so has done that. I imagine that the layout would be the same as DR's and Requests for CheckUsers and that nothing about the current layout and archival system of the UnDR page have to change, just that sections should become their own pages. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 13:25, 19 July 2021 (UTC)

This section was archived on a request by: --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 10:58, 20 July 2021 (UTC)

Glitch uploading a webp file

I uploaded this diagram in webp format, but it displays correctly only at certain specific resolutions. When I attempted to fix the glitch by reloading the file, I got a dismissive message saying the reload file was "empty". — Epipelagic (talk) 01:30, 5 July 2021 (UTC)

Is it possible to automatically search and put photos in categories via w:pl:Obszary Natura 2000 w Polsce "Nazwa obszaru" & "Kod obszaru"?VVerka5 (talk) 14:31, 5 July 2021 (UTC)

17:31, 5 July 2021 (UTC)

What fonts does Wikimedia Commons support in SVGs?

Hi all

I'm writing some guidance for SVGs to fix issues when unsupported fonts are used in graphs etc. However I can't find a list of fonts that Commons supports, is there one available somewhere?

Thanks

John Cummings (talk) 15:07, 9 July 2021 (UTC)

@John Cummings: You can see the list of supported SVG fonts for Wikimedia projects at c:User:JoKalliauer/fc-list and meta:SVG fonts.--Vulp❯❯❯here! 15:17, 9 July 2021 (UTC)
Vulphere thaks very much, is this list likely to be kept up to date or is it better to link people to [6] which I guess is the 'official' list (taken from the Phabricator task)? John Cummings (talk) 23:46, 9 July 2021 (UTC)
I think so, authoritative list at [7].--Vulp❯❯❯here! 02:55, 10 July 2021 (UTC)

Bad Google cache of File:Edwin.jpg

See EN:WP:Village_pump_(technical)#Odd_google_image_search_link_to_article. A Google image search for "Edwin J. McEnelly" loads a link to the enwiki article with an unrelated image of two men posing for a photo. It appears to be an old cache of File:Edwin.jpg, which has deleted versions here at Commons. Can someone verify that this image is in fact one of the older versions, and if there is a way to have the Google caching get rid of it? Home Lander (talk) 01:01, 11 July 2021 (UTC)

MediaWiki:-namespace changes not showing up in Watchlist

Ok, this has got to be something dumb that I'm missing, but…

On my Special:Watchlist, edits to pages in the MediaWiki (+Talk) namespace are not showing up. Not even if I go into the filters and pick MediaWiki and MediaWiki Talk explicitly. I've trawled Special:Preferences and can't find any obvious knob there. The pages are definitely on my watchlist (I edited it to check), they're just not showing up on Special:Watchlist. I've never run into this on any other project (enWS, enWP, etc.).

What probably blindingly obvious thing am I missing? --Xover (talk) 13:02, 14 July 2021 (UTC)

Help with hand-coding SVG

I'm trying to recreate File:Snooker ball yellow.png as an SVG, and while I'm pretty sure filling a circle with a radial gradient, or possibly overlapping several circles filled with radial gradients, is the way to go, I'm stuck on figuring out the details. If someone else wants to do this, or tell me how to do this, I would really appreciate it. —CalendulaAsteraceae (discusscontribs) 03:04, 3 July 2021 (UTC)

Hi @CalendulaAsteraceae: This is a basic implementation using a radial gradient, stripped down from File:Red sphere shaded lightsource top right.svg:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
   width="100"
   height="100"
   viewBox="0 0 100 100"
   version="1.1"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns="http://www.w3.org/2000/svg" >
  <defs>
    <linearGradient
       id="ballLinearGradient">
      <stop
         style="stop-color:#ff8080;"
         offset="0" />
      <stop
         offset="0.2"
         style="stop-color:#ff4040;" />
      <stop
         style="stop-color:#f00000;"
         offset="0.5" />
      <stop
         offset="0.8"
         style="stop-color:#b00000;" />
      <stop
         style="stop-color:#300000;"
         offset="1" />
    </linearGradient>
    <radialGradient
       xlink:href="#ballLinearGradient"
       id="ballRadialGradient"
       cx="0"
       cy="0"
       fx="0"
       fy="-25"
       r="80"
       gradientUnits="userSpaceOnUse"
       />
  </defs>
  <ellipse
    style="fill:url(#ballRadialGradient);"
    cx="0"
    cy="0"
    rx="50"
    ry="50"
    transform="translate(50 50) rotate(20 0 0)"
   />
</svg>
You can tweak it a bit:
  • adjust the colors of the linearGradient stops (currently it is red)
  • adjust the angle in the rotation transform on the ellipse to move the "light source" around the ball (around a circle parallel to the screen)
  • adjust the distance of the gradient centre from the ball centre using the fy parameter (bigger is nearer the edge), which simulates moving the light source front-to-back
  • adjust the overall size of the gradient with r
Hope that helps. Inductiveload (talk) 17:18, 5 July 2021 (UTC)
@Inductiveload: That did help; thank you! —CalendulaAsteraceae (talk | contribs) 03:33, 15 July 2021 (UTC)

Special:LstUsers linking

Hi, Does anyone know how I can wikilink this url: https://commons.wikimedia.org/wiki/Special:ListUsers?username=Davey2010&group=rollbacker&limit=1?,
My goal is to remove the rollbacker/filemover/patroller userboxes on my userpage and add a linked "verify" link next to the already added rollbacker/file/autop list but when I add [[Special:ListUsers?username=Davey2010&group=rollbacker&limit=1|verify]] it shows up as verify.
Many thanks, Kind Regards, –Davey2010Talk 11:45, 15 July 2021 (UTC)

@Davey2010: I think the best you can do with a wikilink is Special:ListUsers/rollbacker/Davey2010. But, of course, there's nothing preventing you from using an extlink and just styling it to look like a wikilink (there's even a template for that sitting around somewhere). To the web browser it's essentially the same thing. Xover (talk) 11:55, 15 July 2021 (UTC)
Hi Xover, Ah thanks for that, I did try adding "&limit=1" to the end but no success although linking to it now works! :), I personally find external links to be tacky but I guess I might have to go with that, Many thanks for your help, Kind Regards, –Davey2010Talk 12:19, 15 July 2021 (UTC)
Oh, and the styling template is {{plnk}}, which gives you: verify. But, yeah, I also much prefer actual wikilinks whenever possible. Xover (talk) 12:51, 15 July 2021 (UTC)
Hi Xover, I ended up searching EN and then found Template:Plain link .... not knowing you had replied here :(, Ah well great minds think alike! ), Thanks for your help it's very much appreciated, Many thanks, Kind Regards, –Davey2010Talk 14:13, 15 July 2021 (UTC)
@Davey2010: Actually… Special:UserRights/Davey2010. Until recently, this special page was accessible only by bureaucrats and some other trusted groups, who can actually change user rights on this page, but now it can be viewed by anyone (of course without the ability to change groups). —Tacsipacsi (talk) 00:35, 16 July 2021 (UTC)
Hi Tacsipacsi, Could either be thinking of EN or be thinking of a completely different but similiar page but I'm convinced I've seen this page before but years ago.... who knows, Anyway thanks, Warm Regards, –Davey2010Talk 10:53, 16 July 2021 (UTC)
@Davey2010: Okay, this “recently” was actually more than four and a half years ago. Previously I didn’t check the dates, just had a feeling that it was not so long ago—yes, compared to the nine years I’ve been around for… —Tacsipacsi (talk) 21:57, 16 July 2021 (UTC)

file usage on Wikitech not shown?

I noticed that Commons does not indicate when a file is in use on Wikitech. For example, File:Eqiadwmf 9045.jpg is displayed on Wikitech:Eqiad cluster, but its usage there is not shown on the Commons page. Is this intentional?

It might become an issue if a file used on Wikitech is nominated for deletion because it appears "unused." Ixfd64 (talk) 22:39, 16 July 2021 (UTC)

@Ixfd64 I wouldn't necessarily call it intentional, but it is expected. For stability reasons, Wikitech operates separately from the rest of the wikis in several areas. For that reason, Wikitech uses mw:InstantCommons instead of directly sharing the Commons database, and GlobalUsage doesn't work with InstantCommons. AntiCompositeNumber (talk) 19:42, 17 July 2021 (UTC)
I see, thanks for the explanation. Perhaps it would be a good idea to add something this: "This file is used on Wikitech, but its usage does not appear on Commons for technical reasons. Please do not nominate it for deletion simply because it appears unused." Ixfd64 (talk) 00:29, 18 July 2021 (UTC)

15:29, 19 July 2021 (UTC)

Infobox language glitch

I am currently experiencing some sort of odd problem where the infoboxes on files show up in Welsh. This is also happening on some licenses, if they have been transcluded into the Welsh language. Everything else on Commons such as the main interface and tools are in English, this is only happening to the infoboxes and licenses. I have attempted changing my user preferences multiple times, with no luck. There doesn't seem to be a mention of this on any of the community pages, so I presume it is only happening to me. Might someone help? Fry1989 eh? 17:05, 19 July 2021 (UTC)

Hi Fry1989 this was also reported at Commons:Village_pump#Why_has_Welsh_appeared_and_how_do_I_remove_it? but presumably no one knows why it's in Welsh, Weirdly I don't this issue (yet!), –Davey2010Talk 17:10, 19 July 2021 (UTC)
The linked issue relates to the sidebar but I assume it's still the same issue ?, No idea sorry, –Davey2010Talk 17:16, 19 July 2021 (UTC)
Oh, I apologise, I failed to spot it. Thank you for notifying me. I don't have any issues with the sidebar, just the infoboxes. But I would have to presume they are related. Fry1989 eh? 18:04, 19 July 2021 (UTC)
Hi User:Fry1989, No need to apologise mate - You weren't to know it was reported so all's good :), You're welcome,
In your preferences (first page), scroll down to the language section - Does yours say "British English" or just "English" ?, If it says British Eng then change to just English and see if that fixes it, –Davey2010Talk 18:14, 19 July 2021 (UTC)
It is set to British English. It isn't a huge hindrance, just slightly annoying. I can alter my settings for now. Thanks. Fry1989 eh? 18:26, 19 July 2021 (UTC)
Someone mistakenly put Welsh translations on British English pages on translatewiki.net, see phab:T286679. The wrong translations have already been deleted on translatewiki.net and now they’re waiting to be removed from Wikimedia wikis as well. I hope the removal will happen at latest with the weekly software update on Wednesday. —Tacsipacsi (talk) 20:05, 19 July 2021 (UTC)
Sorry User:Fry1989 ignore everything I just said - Best to change back in case it's not fixed your issue or causes further unwanted issues,
Thanks Tacsipacsi, Well my next question was "How does one make such a big mess of translating" but I can only assume the translator misclicked something somewhere. Who knows. Thanks anyway. Warm Regards. –Davey2010Talk 20:32, 19 July 2021 (UTC)

"File not found" and broken thumbnails

I noticed that some files (such as Fort8 singora.jpg) are showing broken thumbnails. Clicking on them gives a "File not found" error. Is this a temporary issue, or is some data lost for good? Ixfd64 (talk) 17:53, 26 July 2021 (UTC)

21:09, 26 July 2021 (UTC)

lapl.org: dead carlweb , new tessa

(00071567) need bot:

.... 0mtwb9gd5wx (talk) 10:18, 26 July 2021 (UTC)
@0mtwb9gd5wx: I could only find a couple of hundred images with the first pattern of URL, so I used VFC to make that replacement on all of them. No need for a bot for such a small job. There seem to be a few files that mention URLs on the old site but with slightly different URLs, which will be found by this once the search index has caught up: Special:Search/insource:photos.lapl.org. --bjh21 (talk) 19:16, 26 July 2021 (UTC) a
@Bjh21: I am not familiar with the various ways of doing the cleanup, I just imagined some sort of a regular expression solution was possible. I had landed on more than a few dead carlweb links over the years. .... 0mtwb9gd5wx (talk) 07:13, 28 July 2021 (UTC)
Old pictures at loc.gov like below sometimes have *v.jpg and *u.tif without links, just *r.jpg, because it is "too popular", but my opinion is that someone at loc.gov just did not want anyone downloading it. Since the many of the links are canonical, it would be trivial to guess the higher quality image locations. This is another task, archiving the "hidden" images:
FOR any *r.jpg in loc.gov and commons.wikimedia.org DO
if no *v.jpg at commons.wikimedia.org
try canonical location of *v.jpg at loc.gov
if no *u.tif at commons.wikimedia.org
try canonical location of *u.tif at loc.gov
EndFOR
* https://www.loc.gov/pictures/item/91722568/
* https://loc.gov/pictures/resource/cph.3c02868/
* https://cdn.loc.gov/service/pnp/cph/3c00000/3c02000/3c02800/3c02868r.jpg
* https://cdn.loc.gov/service/pnp/cph/3c00000/3c02000/3c02800/3c02868v.jpg
* https://cdn.loc.gov/master/pnp/cph/3c00000/3c02000/3c02800/3c02868u.tif
.... 0mtwb9gd5wx (talk) 07:13, 28 July 2021 (UTC)

Image error on significant file

Thumbnail version of this file. If it displays correctly, please ignore this message.

Hello,

I've noticed that something appears to be off with File:Nintendo-Color-TV-Game-Blockbreaker-FL.png. Is this just me, or is the image a 0x0 image currently? This file is used on a number of high visibility pages, such as the Wikipedia article for w:Nintendo.

Thank you for your time! --Mbrickn (talk) 18:42, 28 July 2021 (UTC)

Something weird going on with that file. I cropped 1 pixel on the width of the image using Croptool and that seems to have cleared up whatever bug was in the original file which prevented it being processed by the mediawiki software. Maybe someone with more access on the backend would be able to give more details what the problem consists of. TommyG (talk) 19:29, 28 July 2021 (UTC)

Help with converting VOB files

Hello. I have a DVD that contains a public domain motion picture. I am trying to convert the unencrypted VOB files on the disk to a straight mpeg2 format. It should be possible to do the video conversion losslessly because the disc is encoded with mpeg2 video and ac3 audio. I have tried using ffmpeg like so:

ffmpeg -i "VTS_02_1.VOB" -c:v copy -c:a mp2 out.mpeg

The resulting file has numerous visual glitches, which are absent from the original. I find this odd, since I only reencoded the audio. The visual glitches do not show up when I set "-c:a copy", but this produces an unusable output (as mpeg2/ac3 is not widely supported). The visual glitches also do not occur when I reencode the video; I do not want to take this route, however, because it is lossy and produces a noticeable drop in quality at reasonable file sizes. I suspect that this may have something to do with the "Non-monotonous DTS in output stream" error messages that occur when I try to encode the video, but I've tried "-copyts", "-fflags +igndts", "-copytb", and "-use_wallclock_as_timestamps" to no avail. Any pointers would be much appreciated. Thank you.  Mysterymanblue  00:05, 30 July 2021 (UTC)

CommonsDelinker queue order

What is the order in which CommonsDelinker processes commands? I was patrolling Category:Copyright violations and came across File:Элджей (cropped).jpg, which I planned to delete. However, it was used in many places so I wanted to replace them with an alternative image first. At 23:53 I issued a replace command to CommonsDelinker, which acknowledged it at 23:54. Thinking the job has been successfully queued (and thus would run before any delinking command), I proceeded to delete the image at 23:57. However, it seems like the two commands were run in random order: on itwiki it replaced the image, while on lvwiki it simply delinked it. -- King of ♥ 00:49, 22 July 2021 (UTC)

@King of Hearts: Have you considered contacting one of the maintainers? 1989 (talk) 14:37, 1 August 2021 (UTC)

Detect cross-wiki uploads

I would like to ask if it is possible for bots to detect and categorize cross-wiki uploads? Recently I noticed that there are quite a big amount of copyvio files (mostly pics of celebrities) which were cross-uploaded from vi.wikipedia. While I managed to find some of them, it's impossible to recognize them all as most of these files are either uncategorized or have meaningless names such as File:Z2511652560434 ffa39a0605517c7c8d0be79a8be03d6e.jpg. — LX | Talk 22:55, 31 July 2021 (UTC)

Hi User:Lệ Xuân, Special:AbuseFilter/153 was created for to stop this type of upload. If you enable the cross-wiki filter Special:Tags at Special:RecentChanges you can find them by the upload summary. For example the latest is File:Dongminhtran.jpg.--BevinKacon (talk) 10:52, 28 August 2021 (UTC)
I followed your instruction. Still looking at those upload summaries is a bit overwhelming to me 'cause I just want to see the uploads from vi.wikipedia and nothing more. We don't have specific categories for different wikis (such as Cross-wiki uploads from nl.wikipedia, Cross-wiki uploads from pt.wikipedia... and so on)? — Băng Tỏa (talk) 23:53, 1 September 2021 (UTC)