User talk:AntiCompositeNumber
|
Commons: Links for Usage
[edit]In Commons, under the image details (usually - not always. Is this also an error? Unfortunately, I don't have an example at the moment. If intentional: How about an ExplainBear instead?), there are links to "Use this file": on web, on wiki, etc. In most cases, a pop-up opens. Sometimes it doesn't. Not in any Windows browser, with any settings, with empty cache, logged in or not, etc. Example: https://commons.wikimedia.org/wiki/File:Reichspostgebaeude_Berlin_um_1895.jpg Yes, commons is not here, but Commons is too complicated for me, and maybe someone will take care of it anyway. --Grummelbacke (Discussion) 13:37, 13 Dec 2024 (CET)
- @Grummelbacke: It's about the bar above the image, right? "Download", "Embed", "Email link", "Information". For the image you mentioned, almost nothing works onClick, but for other images it does. @Raymond: Can you take a look at what's going on there? Best regards, Doc Taxon (Discussion) 16:28, 13 Dec 2024 (CET)
- Exactly. Sometimes there are also images to the right for the same function. Somehow not always visible (no example at the moment). And it's not just with one image. It's just an example and it has been like this for a long time. I just never felt like dealing with it before.--Grummelbacke (Discussion) 16:48, 13 Dec 2024 (CET)
- @Doc Taxon in Firefox I see a JavaScript error "Uncaught TypeError: s is undefined". Lacking real JS knowledge, I'm unfortunately out of my depth here :-( --Raymond Talk 17:41, 13 Dec 2024 (CET)
- @Johannnes89, @Wiegels: You can surely help here, can't you? Doc Taxon (Discussion) 18:10, 13 Dec 2024 (CET)
- Hello everyone, I took the liberty of getting involved even without an official ping ;-)
- The variable
file.backlink
(part of Stockphoto.js) normally contains the URL of the image. For this image, however, this variable contains nothing (undefined). This is then noticed during the generation of the windows that normally appear when clicking "Download" and the two "Embed" buttons, and triggers an error that stops the process and aborts the window creation. This exact error, triggered by the complaining functionescape(s)
, is the one Raymond mentioned above:Uncaught TypeError: s is undefined
. - Why this variable doesn't contain what it should (only) for this image is still a mystery to me. Best regards, --TenWhile6 22:27, 13 Dec 2024 (CET)
- @Johannnes89, @Wiegels: You can surely help here, can't you? Doc Taxon (Discussion) 18:10, 13 Dec 2024 (CET)
Dear AntiCompositeNumber, I hope, you understand this discussion autotranslation. Can you check the Uncaught TypeError please? Kind regards, – Doc Taxon • Talk • 00:35, 14 December 2024 (UTC)
- @Doc Taxon Please don't copy random discussions to my talk page, just use a link. It is not broken for me, so I can not fix it. If you find a file or other method to get it to break reliably, let me know and I can look at it. AntiCompositeNumber (talk) 00:47, 14 December 2024 (UTC)
- It's about these three links on the left side ("Download", "Use this file" and the other "Use this file"), see snipping here: https://commons.wikimedia.org/w/index.php?title=File:PNG_Test.png&oldid=970091741 at File:Reichspostgebaeude_Berlin_um_1895.jpg. They don't work. – Doc Taxon • Talk • 10:02, 14 December 2024 (UTC)
- I know. It works fine for me. AntiCompositeNumber (talk) 17:19, 14 December 2024 (UTC)
- What can I do that it works fine for me too? – Doc Taxon • Talk • 19:16, 14 December 2024 (UTC)
- ¯\_(ツ)_/¯ I don't know much about the Stockphoto gadget, but it's quite old and I'm not surprised that it breaks occasionally. But there's very little I can do to figure out why it breaks or how to make it work more reliably if it's not reliably broken. AntiCompositeNumber (talk) 03:56, 15 December 2024 (UTC)
- Thanks a lot! May it be possible that the error is a location thing? It looks like nobody of the German community can open these three links. I asked a couple of German Wikipedians. Does it make sense to open a Phab bug task? – Doc Taxon • Talk • 09:20, 15 December 2024 (UTC)
- I think I fixed it with this edit – it would have been broken on any file without entity data (no captions and statements), regardless of location, I believe. Lucas Werkmeister (talk) 21:14, 15 December 2024 (UTC)
- @Lucas Werkmeister: However, AntiCompositeNumber said, it has not been broken. It worked fine for him. How is this possible? Fine for him but not fine for other? – Doc Taxon • Talk • 00:52, 17 December 2024 (UTC)
- I misread the discussion and didn't notice what was meant until I asked Lucas to look, who made the same mistake but then caught it. I thought you were asking about the buttons themselves disappearing. AntiCompositeNumber (talk) 02:43, 17 December 2024 (UTC)
- Okay, thank you both. This problem looks like resolved. Kind regards – Doc Taxon • Talk • 16:02, 17 December 2024 (UTC)
- I misread the discussion and didn't notice what was meant until I asked Lucas to look, who made the same mistake but then caught it. I thought you were asking about the buttons themselves disappearing. AntiCompositeNumber (talk) 02:43, 17 December 2024 (UTC)
- @Lucas Werkmeister: However, AntiCompositeNumber said, it has not been broken. It worked fine for him. How is this possible? Fine for him but not fine for other? – Doc Taxon • Talk • 00:52, 17 December 2024 (UTC)
- I think I fixed it with this edit – it would have been broken on any file without entity data (no captions and statements), regardless of location, I believe. Lucas Werkmeister (talk) 21:14, 15 December 2024 (UTC)
- Thanks a lot! May it be possible that the error is a location thing? It looks like nobody of the German community can open these three links. I asked a couple of German Wikipedians. Does it make sense to open a Phab bug task? – Doc Taxon • Talk • 09:20, 15 December 2024 (UTC)
- ¯\_(ツ)_/¯ I don't know much about the Stockphoto gadget, but it's quite old and I'm not surprised that it breaks occasionally. But there's very little I can do to figure out why it breaks or how to make it work more reliably if it's not reliably broken. AntiCompositeNumber (talk) 03:56, 15 December 2024 (UTC)
- What can I do that it works fine for me too? – Doc Taxon • Talk • 19:16, 14 December 2024 (UTC)
- I know. It works fine for me. AntiCompositeNumber (talk) 17:19, 14 December 2024 (UTC)
- It's about these three links on the left side ("Download", "Use this file" and the other "Use this file"), see snipping here: https://commons.wikimedia.org/w/index.php?title=File:PNG_Test.png&oldid=970091741 at File:Reichspostgebaeude_Berlin_um_1895.jpg. They don't work. – Doc Taxon • Talk • 10:02, 14 December 2024 (UTC)