User talk:Jarekt

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

Sorry, it took me so long to get back to this topic. I've read your response, and from it, I determine that this is fully scoped to template processing, with no external dependencies by other tools that interact with this generated HTML ? In that case, can we please at least mark it with a class, so that this information can be filtered out by Wikimedia when needed ? Example:

<div class="TagQS" style="display: none;">artist QS:P170,Q3155497</div>

Preferably, the information should be in a data attribute, so that the HTML evaluates to not having any textual contents at all:

<span data-TagQS="artist QS:P170,Q3155497"></span>

Using display:none to hide content is an anti-pattern, because it is only visually hiding it and the information still ends up in search engine descriptions, Wikimedia search and sometimes the Wikimedia Mediaviewer as something like: "1887date QS:P571,+1887-00-00T00:00:00Z/9" which is an issue i'd really like to get rid of. —TheDJ (talkcontribs) 20:58, 4 July 2024 (UTC)[reply]

@TheDJ: Thanks for replying, and some good timing as I was just thinking about changing the the format of those tags per request from User:Verdy p at Module talk:TagQS. You are correct that those tags do not interact with other tools (that I know of). They are created by lua modules using Module:TagQS and possibly some templates and are read by other lua modules. I like your suggestion of <span data-TagQS="artist QS:P170,Q3155497"></span> or maybe <span data-TagQS="artist QS:P170,Q3155497"/>. Verdy_p suggestion was almost the same. I will start working on this. --Jarekt (talk) 22:27, 4 July 2024 (UTC)[reply]
I suggested using "bdi" instead of "span" to avoid any inclusion problems (with a demo). verdy_p (talk) 04:42, 5 July 2024 (UTC)[reply]
OK, I will use "bdi". --Jarekt (talk) 13:00, 5 July 2024 (UTC)[reply]

Template:Own or another

[edit]

Hi Jarekt,
Some template related to {{Own}} have been modified, the result is now that the label Own work appears in the {{COAInformation}} and in the {{Information}}, at least, after the {{Attribs}} and on the same line, whereas it was on the line above without the need for a <br>,
In both examples, in the code the {{Own}} precedes the {{Attribs}}, and should be on the line above (as it was this morning CET):
Example 1
Example 2
Do you think you could help in solving this ?
I did not find which module has been altered…
--Kontributor 2K (talk) 13:53, 06 July 2024 (UTC)[reply]

Edit : If one replaces {{Attribs with {{AttribSVG, it displays fine.
--Kontributor 2K (talk) 14:01, 06 July 2024 (UTC)[reply]
Kontributor 2K That is odd, Example 2 still does not look right to me. I can look into it. --Jarekt (talk) 14:29, 6 July 2024 (UTC)[reply]
Example 2 modified, displays ok with AttribSVG,
Kontributor 2K (talk) 14:30, 06 July 2024 (UTC)[reply]
Jarekt, I give up, as none of the templates used by Attribs have been modified today (unless I missed one), except the TemplateBox which is unrelated here…
Kontributor 2K (talk) 15:16, 06 July 2024 (UTC)[reply]
@Verdy p: would your recent changes to Module:Iteration could have caused different behavior of {{Attribs}} template? --Jarekt (talk) 19:59, 6 July 2024 (UTC)[reply]
I have not changed these two templates or module today. And if it was working this CET morning, I've not been online most of the day, from about 10:00 to 20:30 CEST. verdy_p (talk) 20:02, 6 July 2024 (UTC)[reply]
@Verdy p: I was thinking that maybe those changes took some days to get noticed. --Jarekt (talk) 20:06, 6 July 2024 (UTC)[reply]
And anyway I still don't see any problem of rendering. The last change I made to Iterations module is completely unrelated, and was a couple of days ago with an option for generating category links in list of characters (for now only used in two "small" lists of CJK compatibility characters, which are being completed, this is purely optional, and without this option explicitly passed nothing changed), in a function not used by the examples above and never in any file description page or information box. verdy_p (talk) 20:08, 6 July 2024 (UTC)[reply]

Hi,
I went to see again the file Example 2, it happens that actually the problem also appears with the {{AttribSVG}}.
As the template text is longer, one has to enlarge the browser's window to see the issue, which I hadn't noticed earlier
--Kontributor 2K (talk) 14:55, 08 July 2024 (UTC)[reply]

Voting: Photo challenge/2024 - June - Mushrooms/Voting

[edit]

Hello there Jarekt,

In previous editions of the Photo challenge, it has happened that entries have inexplicably disappeared from the competition before the voting. Now it has happened again! I'm not so much interested in knowing the reason why my two entries in round: Commons:Photo challenge/2024 - June - Mushrooms/Voting have disappeared, as that they will be up for voting in this edition of the contest. For example. File:Tropic fungus.jpg has been excluded for some reason? I photographed the mushroom on 27 April 2015 while visiting Taman Negara National Park on my trip to Malaysia that year.


Sincerely

Björn Söderlund — Preceding unsigned comment added by Björn Söderlund, Sw3dPix (talk • contribs) 08:27, 7 July 2024 (UTC) Björn Söderlund, Sw3dPix[reply]


Tropic fungus Björn Söderlund (talk) 08:21, 7 July 2024 (UTC)[reply]

Björn Söderlund I definitely did something wrong while creating the voting page. I apologize for it. I rerun the codes generating those pages and merged the results, and it seems quite a few entries were affected. Sorry about it. I will check the other voting page. --Jarekt (talk) 19:08, 7 July 2024 (UTC)[reply]
Oh there they are, thanks!
I discovered the error quite early, no harm done.
Have a good day,
Björn Söderlund Björn Söderlund (talk) 23:15, 9 July 2024 (UTC)[reply]

Tech News: 2024-28

[edit]

MediaWiki message delivery 21:28, 8 July 2024 (UTC)[reply]

Unverständlicher Hinweis zur Lizensierung mit Verwendung eines Freigabe Tickets...

[edit]

Hallo, warum ist das nur so umständlich????

Ich habe die Aufgabe übernommen, Bilder aus dem Stadtarchiv in Wikipedia Commons hochzuladen. Dazu ist ein Ticket erforderlich. Das Team vom Stadtarchiv hat heute endlich die Entscheidung getroffen, das man die Bilder unter cc by sa 4 freigibt. Ich habe das an Herrn Neumann vom Support-Team geschickt und erhielt diese Antwort: '''Guten Tag Manfred Beck, die geben Sie den Link auf das Bild an, für das diese Freigabe gilt. Mit freundlichen Grüßen Alfred Neumann Wikimedia-Support-Team''' - ich verstehe nur Bahnhof.

Ich habe die Dateien vorliegen - es sind nicht "meine Dateien" ich würde an statt meines Nutzernamens (Stadtarchiv ...) eintragen. Alle Metadaten hinzu ... und wie funktioniert es mit der Angabe der Ticket-Nummer. Es gibt ein Template (Vorlage:PermissionTicket/de) ich habe gleich zum Beginn des Schriftwechsels eine Ticketnummer Ticket#2024............ von Hern Neumann erhalten, also kann ICH das Template selbst in die Dateibeschreibung einfügen oder bin ich dafür nicht befugt? Habe kein Beispiel oder Youtube Tutorial gefunden ... Bevor es schief geht und man meinen Account sperrt frage ich lieber. Viele Grüße EACC80 (talk) 18:56, 11 July 2024 (UTC)[reply]

EACC80, It is great that Stadtarchiv released the images under cc by sa 4, but how do you know about it? If they posted it on their website than you probably do not need VRTS ticket (although it still might be better), but if it was not published then they should send the permission to VRTS. How many files are covered by the permission? If only some than you can upload them and send the list to Herrn Neumann, but if couple thousand than it might be easier to create a license template, like for example Template:Walters Art Museum license. Sorry for not being able to reply in German. --Jarekt (talk) 02:32, 12 July 2024 (UTC)[reply]

Support needed?

[edit]

Hello Jarekt, I was wondering if you might need some help with the monthly photo challenge. I am not a programmer but able to check things by hand. Is there anything I can do for you? August Geyler (talk) 16:11, 14 July 2024 (UTC)[reply]

August Geyler Thanks for the offer. There is not much of check things by hand, but there are bunch of steps which can be split among multiple users. Most of them are outlined in Commons:Photo challenge/Maintainers Manual. Many tasks require running a precompiled code on your machine and fixing submitting or voting pages, another task is creating new challenge pages. --Jarekt (talk) 02:50, 15 July 2024 (UTC)[reply]

Tech News: 2024-29

[edit]

MediaWiki message delivery 01:28, 16 July 2024 (UTC)[reply]

A way to find redirects?

[edit]

Hi Jarekt, File:15th-century unknown painters - St Ursula Announces to her Father her Departure on a Pilgrimage to Rome - WGA23745.jpg contains some statements that are redirects. Do you have an idea how to flag these with a tracker category? I could set up a bot to fix redirects every once in a while. Multichill (talk) 19:31, 18 July 2024 (UTC)[reply]

Multichill, Module:Artwork tests for redirects and adds Category:Artworks with structured data with redirected digital representation of property and Category:Artworks with redirected Wikidata link category. Those categories take a lot of work to clear, as I did not come up with a fast way to do it. If you have some ideas, on fixing them by the bot it would be very helpful. However those categories do not apply to files like File:15th-century unknown painters - St Ursula Announces to her Father her Departure on a Pilgrimage to Rome - WGA23745.jpg where I already fixed "wikidata" field and digital representation of (P6243) but missed other fields in the SDC. The issue of redirects should be handled in some automatic way by the database, an issue I raised at phabricator:T237899. At some point I was also toying with extending this sdc query to include other properties or more files, but the sparql query times out easily. One could probably write some Lua code to test all SDC links in a given file and than sneakily add it to some often used template, but that would be putting a lot of strain on the servers (I would imagine). So I have a lot of ideas but none are easy-solutions. --Jarekt (talk) 02:22, 19 July 2024 (UTC)[reply]