User talk:Jarekt

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

Tech News: 2024-25

[edit]

MediaWiki message delivery 23:46, 17 June 2024 (UTC)[reply]

Tech News: 2024-26

[edit]

MediaWiki message delivery 22:29, 24 June 2024 (UTC)[reply]

Photo Challenge Results

[edit]

Hello!

I noticed that you are in charge of (or at least you are used to) publishing the monthly photo challenge results. For the April one, I tried to count myself the votes to publish them myself, as they were not available yet (that's not a reproach). But, because I wasn't sure how to do it, I didn't publish them : I don't want to do any mistakes. Now that they are published (thank you!), I have some questions, because I don't get the same results as you.

  • I get 218 images, what is your 219th? I noticed that a file was deleted, is that it?

Thank you, Wikisquack (talk) 14:20, 25 June 2024 (UTC)[reply]

Moreover, I get only 95 contributers, not 96. Wikisquack (talk) 20:14, 25 June 2024 (UTC)[reply]
Wikisquack Sorry I was not around last few days. Please see Commons:Photo_challenge/Maintainers_Manual#Convert_Submitting_page_to_Voting_page to read how the results are tabulated. Basically there is a C# code you run on your computer and it does all the tabulating for you, which is very consistent from challenge to challenge. However if you are getting different results than there might be bugs in the code. --Jarekt (talk) 14:15, 28 June 2024 (UTC)[reply]
Ok, thanks. I was using my own python code, so maybe there are some differences. I will take a look! Wikisquack (talk) 19:58, 28 June 2024 (UTC)[reply]
Wikisquack I think it would be great if we had a python code which could run on https://hub-paws.wmcloud.org/ and could either create voting pages or count voting results the way current C# code does. That would allow much wider group of users to help with administration of Photo challenge. --Jarekt (talk) 21:41, 28 June 2024 (UTC)[reply]

Hi Jarekt. I hope this finds you well. Please could you help me find the original largest upload picture for this file? Until yesterday it was on en.WP under the same name. Being dated 1953, it had lost its UK copyright, and I tried to transfer it to Commons, but the transfer-to-Commons system refused on the grounds of a hidden something-or-other. So I manually transferred the file to Commons. That manual transfer caused the loss of the file history, the original upload being 2010. Since that 2010 upload to en.WP, bots had reduced the size of the uploaded image. Now that the image is out of copyright, I would like to reinstate the original image size, but I cannot find the original scanned file on my PC. Is there any way for you to find and reinstate that first-uploaded larger version of the file? Apologies for the long explanation. Storye book (talk) 09:15, 1 July 2024 (UTC)[reply]

Storye book, I found and uploaded larger version at https://i.pinimg.com/originals/3a/5e/48/3a5e480912874cbc8314426caa092021.jpg. An admin on En.wiki should be able to see the original upload on Wikipedia. --Jarekt (talk) 12:02, 1 July 2024 (UTC)[reply]
Wow! thank you so much. I think its always worthwhile doing stuff for our railway buffs on WP. They are always appreciative of new additions in that subject, and they contribute so much for us, also. So thank you again. Storye book (talk) 16:03, 1 July 2024 (UTC)[reply]

Tech News: 2024-27

[edit]

MediaWiki message delivery 23:56, 1 July 2024 (UTC)[reply]

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]