User talk:Jarekt

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


Notice
Joshua Trees in Joshua Tree NP 2.jpg

Unless you request otherwise, I will reply on this page to messages posted on this page. Add it to your watchlist!
If I left a message on your talkpage, regarding missing license and you would like to contact me please check my FAQ page first. If you still have a question, please leave a note on the bottom of this talk page by clicking Add topic link on the top right of the page. It would be very helpful if you mention the file in question using [[:File:file name.jpg]] format and sign your name by adding "~~~~".

FYI author photos[edit]

IA "Evacuation" of Public domain resources...[edit]

See Commons:Village_pump/Proposals#Mass_"Evacuation"_copy_of_Public_domain_resources_from_Internet_Archive_to_Commons. IS this something one of your Bots could assist with, given the scripts F%C3%A6 was using to do User_talk:Fæ/CCE_volumes#Forks?

Monuments template to pull relevant data from Wikidata[edit]

Hi Jarek, as you might know I added a lot of depicts statements to the various images of monuments. I'm thinking about how to make best use of this data like we do in {{Artwork}} and also {{Geograph from structured data}}. What I'm thinking about is a template that won't be used directly, but instead be included in templates like {{Rijksmonument}}. The first step is how to find the right Wikidata to get data from. The inclusion in {{Rijksmonument}} would pass two things: The property to look for (Rijksmonument ID (P359)) and the identifier (for example 19264 on this file). Based on that the code can iterate over the depicts (P180) statements and if the target has the right property/identifier combination, we have found the qid. On the example file this would return Grote Kerk (Q1545193). This would also cover having multiple inclusions of the monuments template.

Based on the Wikidata item an infobox like {{Creator}} or {{Institution}} should be constructed. What to include and how to make it look is going to be a puzzle with multiple versions. I would love to have a bit of recursion like we have for the location in {{Geograph from structured data}} to make things more discoverable.

For the Netherlands alone more than 400.000 files would benefit from this. Multichill (talk) 16:14, 5 June 2021 (UTC)

Multichill I am in Poland at the moment with kind of sporadic time schedule. I managed o finish this month's Commons:Photo_challenge and are still working on {{Artwork}}'s materials code. I will be happy to help with specific Lua code, but I do not have good grasp of how is it supposed to work --Jarekt (talk) 21:46, 8 June 2021 (UTC)
Enjoy your time in Poland! It's just an idea without any time line. Weather is improving and things are opening up again so for me it's also on and off.
We can discus it at some point in the future. Multichill (talk) 11:56, 12 June 2021 (UTC)

Anonymous change 2[edit]

Message tied up in Ribbon.jpg Hello, Jarekt. You have new messages at Module talk:Artwork#Anonymous change.
You may remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

asturianu | беларуская (тарашкевіца)‎ | български | বাংলা | català | čeština | Deutsch | Deutsch (Sie-Form)‎ | English | español | suomi | français | galego | हिन्दी | hrvatski | magyar | italiano | 日本語 | ქართული | македонски | മലയാളം | Plattdüütsch | Nederlands | português | română | русский | sicilianu | slovenščina | svenska | Tagalog | Türkçe | 中文(简体)‎ | 中文(繁體)‎ | +/−

Hi Jarekt, I've replied regarding the browser issue I've been having.--ᴀlbanɢeller (talk) 11:04, 7 June 2021 (UTC)

@Jarekt: can I ask when you'll be able to look at this? ᴀlbanɢeller (talk) 22:07, 9 June 2021 (UTC)
Jarekt, can you please change Res.str = string.format('<table><tr><td>%s</td><td style="align=top;">%s</td></tr></table>', back to Res.str = string.format('<div style="float:left;">%s</div>%s',? I think this new formatting is the source of the problem. ᴀlbanɢeller (talk) 06:36, 12 June 2021 (UTC)
@Multichill: since Jarek appears to be on a break at the moment, would you maybe look at undoing this particular problematic change, please? Thanks, ᴀlbanɢeller (talk) 18:02, 12 June 2021 (UTC)
ᴀlbanɢeller the "<div>" solution had a lot of other very annoying issues because of the "float" part, for many files the creator templates were piling up on top of each other. The "<table>" solution was the only way I figured out of how to fix all of them. By the way, I usually place test cases for the creator testing at Module_talk:Wikidata_art/sandbox/testcases#Creator_Test and I added your case here. However in all the browsers I have it looks fine. If you see the issue could you take a screen shot of it so I can see exactly what you mean? --Jarekt (talk) 21:18, 12 June 2021 (UTC)
Having studied the code a bit more, I think this issue is essentially part of a larger one with the Creator and Institution templates. Basically, whenever I expand them on my narrow screen, the width of the entire Artwork template expands to accommodate it, which can be very annoying. Perhaps the code should be adjusted in the modules for both templates, to stop this from happening? ᴀlbanɢeller (talk) 23:14, 12 June 2021 (UTC)
The issue was that multiple Creator templates arranged using "float:left" option would sometimes arrange themselves in a single row instead of multiple rows and it looked very strange. That happened even when they were not placed inside "Artwork" template, for example in test page. We were testing various alternatives for a while and the "table" markup seems like the best solution. --Jarekt (talk) 10:59, 13 June 2021 (UTC)
Would it not be possible to modify the code to prevent the Creator/Institution templates from stretching Template:Artwork whenever they are expanded? I've checked both on my 1024x768 browser (with this file) and whenever I expand one of them it pushes the image further to the right, in order to fit the template. ᴀlbanɢeller (talk) 01:03, 14 June 2021 (UTC)
We write HTML code and browsers arrange the page so it looks right. We do not have many ways of controlling the browsers to micromanage them. Creator/Institution templates have to stretch artwork template when expanded. Otherwise they would not fit. They were doing that for about a decade. Recently I had some changes to Creator template to add "edit at wikidata" icon, but there were no such changes done to Institution template. If there is some case that does not work, please take a screenshot and add to Category:Commons screenshots (en). --Jarekt (talk) 10:08, 14 June 2021 (UTC)

┌─────────┘
Hi Jarekt. I've since managed to troubleshoot each issue (in the respective sandboxes) and make edit requests on the talk pages of three modules (Creator, Institution and Wikidata art) to correct them. If you find the time I'll very much appreciate if you could look at my proposed edits and consider implementing them. Thanks, ᴀlbanɢeller (talk) 03:57, 18 June 2021 (UTC)

Module:Creator[edit]

Message tied up in Ribbon.jpg Hello, Jarekt. You have new messages at Module talk:Creator#footer.
You may remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

asturianu | беларуская (тарашкевіца)‎ | български | বাংলা | català | čeština | Deutsch | Deutsch (Sie-Form)‎ | English | español | suomi | français | galego | हिन्दी | hrvatski | magyar | italiano | 日本語 | ქართული | македонски | മലയാളം | Plattdüütsch | Nederlands | português | română | русский | sicilianu | slovenščina | svenska | Tagalog | Türkçe | 中文(简体)‎ | 中文(繁體)‎ | +/−

Hi, I've modified the code a bit in order to reduce unnecessary width space. Can you have a look? Thanks, ᴀlbanɢeller (talk) 06:46, 20 June 2021 (UTC)

Thanks again Jarekt. Lastly can you just correct the live module with this fix as I've just encountered a bug that can be seen at Creator:Christian Lambiotte. ᴀlbanɢeller (talk) 03:45, 21 June 2021 (UTC)
ᴀlbanɢeller ✓ Done --Jarekt (talk) 03:50, 21 June 2021 (UTC)

Tech News: 2021-25[edit]

15:47, 21 June 2021 (UTC)