User talk:Jeff G./Archives/2024/March

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

"Fixes"

Hi, In Commons:Deletion requests/File:Inaugurazione Komen Italia.jpg and other DRs, the link leads to nothing. Yann (talk) 10:06, 5 March 2024 (UTC)

@Yann: I know, we need one of the solutions discussed at MediaWiki talk:Gadget-GoogleImagesTineye.js#Google Images searches failing for whatever tool Nutshinou used to make this edit (probably the "Report copyright violation" tool). It would be great if the "Challenge speedy deletion" functionality of {{Copyvio}} didn't just blindly accept the first set of right braces it came upon, necessitating fixes like this. Also, please expound on your reasoning for creation of Commons:Deletion requests/File:My meal had a name 近江牛 2008 (2761261149).jpg rather than deletion.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:26, 5 March 2024 (UTC)
Yes, this is the tool I put at my common.js, after checking the link, I believe I've made the according change. Hope this doesn't cause any more issues. Nutshinou Talk! 12:22, 5 March 2024 (UTC)
@Nutshinou: Thanks, I have copied your "Copyvio (www)" section and I will try it the next time I have a need.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 12:44, 5 March 2024 (UTC)
My first attempt worked on the file page, but failed on the user talk page in this edit. Further attempts failed. Please just use the following lines from the source of this section for the "talk" parts:
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Found elsewhere on the web and unlikely to be own work.}}',
'talk_summary': 'Notification of possible copyright violation for %FILE% because it is Found elsewhere on the web and unlikely to be own work.',
  — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:16, 5 March 2024 (UTC)
Pinging @Minorax as host of the "live examples" referenced by Help:QuickDelete.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:21, 5 March 2024 (UTC)
Nope, my limited knowledge in .js can't help with this. --Min☠︎rax«¦talk¦» 01:23, 6 March 2024 (UTC)
My two pence. Looks like
should have been (using File:Silversmith.jpg instead of the deleted File:Saurabhtamhane.jpg)
Glrx (talk) 02:30, 6 March 2024 (UTC)
Looking at common.js
{
                    'label': 'Copyvio (www)',
                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: [[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{filepath:{'+'{subst:BASEPAGENAME}}}} Google Lens]}}',
                    'img_summary': 'speedy deletion: possible copyvio',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]].}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE% because it is [[COM:NETCOPYRIGHT|found elsewhere on the web and unlikely to be own work]].',
                },
The effective {{filepath:{{subst:BASEPAGENAME}}}} is the issue. On a File page, it may get the right value, but putting the string on a user talk page will not get the file name. The subst in the tag is not executed when common.js is loaded but rather when the text is pasted into the File page and again when pasted into the Talk page.
Glrx (talk) 03:04, 6 March 2024 (UTC)
See MW:Manual:Interface/JavaScript and mw.config.get("wgTitle"). Something like
"... https://lens.google.com/uploadbyurl?url={{urlencode:{{filepath:" + mw.config.get("wgTitle") + "}}}} ..."
might do the trick.
A %FILE% substitution does not work because {{filepath:File:name.jpg}} fails; we do not want the "File:" namespace identifier. There may be a %word% that does not include the namespace.
Glrx (talk) 17:19, 6 March 2024 (UTC)
@Glrx: Thanks for trying. I made this edit, found File:Flag of Gafsa Governorate (1979-2000).svg (which qualified and is now deleted), and tagged it that way, resulting in these edits implicating this incorrect URL. Please try again.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 20:50, 6 March 2024 (UTC)
Hmm. Compare the actual URL to the expected URL:
ACTUAL: https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F1%2F1a%2FFlag_of_Gafsa_Governorate_%25281979-2000%2529.svg
EXPECT: https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F1%2F1a%2FFlag_of_Gafsa_Governorate_%281979-2000%29.svg}}
So it looks like filepath URL-encoded the parentheses as %28 and %29, and then urlencode quoted the percent signs as %25.
Check using a File with a paren in its name to test filepath. Consider File:Flag of the United Kingdom (3-5).svg
OK, so filepath is URL encoding. Do not need to do it twice. The filename colons and slashes should pass as URL parameters.
Consequently, we can just delete the urlencode magic word. That is, use
  • {
      'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{filepath:' + mw.config.get("wgTitle") + '}} Google search].}}'
    }
    
Test case: https://lens.google.com/uploadbyurl?url=https://upload.wikimedia.org/wikipedia/commons/8/83/Flag_of_the_United_Kingdom_%283-5%29.svg
Test case fails; that might be because it is an SVG file. Try a PNG.
Test case (PNG conversion): https://lens.google.com/uploadbyurl?url=https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Flag_of_the_United_Kingdom_%283-5%29.svg/300px-Flag_of_the_United_Kingdom_%283-5%29.svg.png
PNG works.
Another point. Here is your old common.js; notice that the single quotes and double quotes do not match up, but somehow it worked (that is 'foo" was interpreted as 'foo').
  • {
      'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{urlencode:{{filepath:" + mw.config.get("wgTitle") + "}}}} Google search].}}'
    }
    
make the quotation marks match
  • {
      'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{urlencode:{{filepath:' + mw.config.get("wgTitle") + '}}}} Google search].}}'
    }
    
Glrx (talk) 02:10, 7 March 2024 (UTC)
@Glrx: Thanks again, that worked to form a good link in special:diff/858640674! I have removed the link from the talk_summary because it's not clickable there.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:16, 7 March 2024 (UTC)
Hi. You need to remove the urlencode magic word that wraps a filepath. My fault because the last two syntaxhighlights were showing a problem with the old code. That is, in lines 114–120 of your commons.js,
                {
                    'label': 'Copyvio (www)',
                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: [[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{filepath:{'+'{subst:BASEPAGENAME}}}} Google search]}}',
                    'img_summary': 'speedy deletion: possible copyvio',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{urlencode:{{filepath:' + mw.config.get("wgTitle") + '}}}} Google search].}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE% because it is [[COM:NETCOPYRIGHT|found elsewhere on the web and unlikely to be own work]].}}',
                }
Line 118 should be
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{filepath:' + mw.config.get("wgTitle") + '}} Google search].}}',
Glrx (talk) 17:07, 7 March 2024 (UTC)
@Glrx: Ok, that works with normal filenames and with a parenthesized filename here.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:58, 8 March 2024 (UTC)

Not worth the time, I'm afraid

Regarding this comment of yours, I'm afraid you're wasting your time. He's been on Commons since circa 2006, and numerous people (myself included) have tried to give him similarly-helpful advice over the decades- yet he hasn't given any real sign of taking any of it on board.

I've no idea if it's primarily lack of money for better equipment (*), but I suspect not. Faults like haze or dirt on the lens- which would be easy to address even on an otherwise inadequate camera or smartphone- have remained across the numerous models he's used over the years. Ditto (e.g.) the weird framing on cars and habit of squeezing them into the diagonal.

Point is, he's a creature of habit, and if he hasn't changed after almost 18 years... he won't.

It's frustrating to see someone who (on one hand) obviously dedicates so much time and borderline-obsessive effort to take such photos yet consistently squander that on dismal quality- due both to equipment and technique- but I'm afraid that's the deal.

Also, thank you for your support for my suggested proposal (despite its misrepresentation) that uploading his car photos should at least have been considered separately from the distinct and far more serious problems surrounding those of people- and given a fair consideration their own (albeit still minimal and questionable) "merits".

(*) A far greater issue on the photos of people because- unlike the cars- those tend to be taken under less bright lighting that shows up the problems with tiny, noise-prone/noise-reduced smartphone sensors even more seriously.

All the best,

Ubcule (talk) 00:32, 9 March 2024 (UTC)

@Ubcule: You're welcome.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 09:59, 10 March 2024 (UTC)

wondering...

Hello Jeff, could you take a look at these images? Someone with an injury wanting to express his feelings? Thank you so much. Lotje (talk) 06:33, 10 March 2024 (UTC)

@Lotje: Let's not make him contemplate further.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 09:57, 10 March 2024 (UTC)
Poor lad Lotje (talk) 10:06, 10 March 2024 (UTC)

Question about Category

Hi Jeff G, this new category on the English Wiki has been nominated for deletion. Most users say the category is not WP:DEFINING. Do you have suggestions how to make it defining? -Artanisen (talk) 13:45, 22 March 2024 (UTC)

@Artanisen: No, sorry.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 15:08, 22 March 2024 (UTC)

Copyvio

  • see bottom articles:Rights and permissions of all the images. They are open access. For instance:

Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.Rasbak (talk) 15:17, 23 March 2024 (UTC)

@Rasbak: I replied at your user talk page.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 15:33, 23 March 2024 (UTC)

PolishBoyInUK / BrendanDziemieszkiewicz / Zywieswoj / IP 86.27.125.24 / and many more sockupppeters

"MOP Rotmanka AmberOne Free WiFi phone.jpg" and "MOP Rotmanka parking.jpg". Hello, he's always kidding us. Nobody can be that stupid. MOP means “motorway rest stop” in Polish. The town of Rotmanka is not on the motorway / Autostrada A1 but on the expressway / Droga Ekspresowa S6. Furthermore, there is no motorway service station in Rotmanka. Both photos show the “MOP Kleszczewko” motorway service station on the A1 in Kleszczewko. This is a picture of "Julek" see please here: [1] He is also on the road with the “Flicr” service as Mariusz Janowski [2]. There is no motorway service station in Rotmanka. The other one is also definitely a fake. There isn't even a bridge over the S6 expressway [3]. 77.0.155.193 00:50, 25 March 2024 (UTC)

Thanks, but the sockmaster or sockpuppeteer is PolishBoyInUK and the rest are socks or sockpuppets. You should be able to report to COM:ANU.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 01:01, 25 March 2024 (UTC)

Big videos

Hi, If you want to upload big videos, you can try File:Towards the Light (1919) by Holger-Madsen.webm. It is 3.78 GB, and it failed for me both on V2C and with Chunked Uploads. Thanks, Yann (talk) 00:26, 15 March 2024 (UTC)

@Yann: Uploading to File:Holger Madsen - Towards The Light (Mod Lyset) 1919 4K Vintage Movie ENG DANSK.webm, please redirect the link you posted above and attend to the licensing when finished. Sadly, we don't get % progress while uploading. Sorry about the extra uploads, you didn't follow up on your reports at Commons talk:Video2commons and I didn't search for the URLs before starting.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 05:07, 15 March 2024 (UTC)
@Yann: Darn thing failed uploading: An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(b\\\'pywikibot.Error: APIError: missingresult: No result in status data.\\\\\\\\n[param: action=upload&filekey=1as7fnj7bbd0.76h30h.122116.webm&checkstatus=&assert=user&maxlag=5&format=json&token=498ec3597d81019a082bf95a6cbd827365f3d82c%2B%5C;\\\\\\\\n servedby: mw2262;\\\\\\\\n help: See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.]\\\')>, None)"\')'.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 20:25, 17 March 2024 (UTC)
And no opportunity to SSU.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 20:26, 17 March 2024 (UTC)
Great, it's in my upload stash as https://commons.wikimedia.org/wiki/Special:UploadStash/file/1as7fnj7bbd0.76h30h.122116.webm but can't be served, now what?   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 20:30, 17 March 2024 (UTC)
Still retrying https://www.youtube.com/watch?v=C7BQf3W5dgA ...   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:30, 18 March 2024 (UTC)
@Yann: Failed again: An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(b\\\'pywikibot.Error: APIError: missingresult: No result in status data.\\\\\\\\n[param: action=upload&filekey=1asfpop724hw.2jxh5c.122116.webm&checkstatus=&assert=user&maxlag=5&format=json&token=c7434a696300ad944edd39190370e5e565f7687b%2B%5C;\\\\\\\\n servedby: mw2288;\\\\\\\\n help: See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.]\\\')>, None)"\')'   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 10:29, 23 March 2024 (UTC)
Thanks for trying. phab:T295007 might be of help soon. Yann (talk) 15:44, 23 March 2024 (UTC)
@Yann: Thanks, I commented there.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 16:08, 23 March 2024 (UTC)
@Yann: Failed again: An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(b\\\'pywikibot.Error: APIError: missingresult: No result in status data.\\\\\\\\n[param: action=upload&filekey=1aswmcku3n6s.qthx69.122116.webm&checkstatus=&assert=user&maxlag=5&format=json&token=f36029509885ffd8c3a60f0038b0376c65feafa8%2B%5C;\\\\\\\\n servedby: mw1447;\\\\\\\\n help: See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.]\\\')>, None)"\')' Perhaps we should ask Chicocvenancio or post about this on Commons talk:Video2commons?   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 20:06, 24 March 2024 (UTC)
Yes. This is not a temporary bug, so you could write a report. Yann (talk) 20:24, 24 March 2024 (UTC)
@Yann: Working on it: An exception occurred: MaybeEncodingError: b'(\'\\\'PicklingError("Can\\\\\\\'t pickle <class \\\\\\\'video2commons.exceptions.TaskError\\\\\\\'>: import of module \\\\\\\'video2commons.exceptions\\\\\\\' failed")\\\'\', \'"(1, <ExceptionInfo: TaskError(b\\\'pywikibot.Error: APIError: missingresult: No result in status data.\\\\\\\\n[param: action=upload&filekey=1at0wrq1en5w.n29kk.122116.webm&checkstatus=&assert=user&maxlag=5&format=json&token=e3ec6ab9e88190f8d5af105aba39cf136601dcb6%2B%5C;\\\\\\\\n servedby: mw1444;\\\\\\\\n help: See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.]\\\')>, None)"\')'   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 09:49, 26 March 2024 (UTC)

Images on the af.wikipedia.

Hello Jeff, coming across quite a number of images on the af.wikipedia, I was wondering, how to proceed to have the ones that are free for publication on commons. Probably the {{PD-SA}} is not exactly correct for the use on Commons. Thank you very much for your time. Lotje (talk) 06:48, 27 March 2024 (UTC)

@Lotje: I replied there and defanged {{PD-SA}}.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 14:14, 27 March 2024 (UTC)