Open main menu

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 "~~~~".


No image on WikidataEdit

Shouldn't File:Alexander Thiele - Gezicht op het kuuroord Augustusbad nabij Radeberg - Gal.-Nr. 3709 - Staatliche Kunstsammlungen Dresden.jpg end up in some tracking category because Q50326641 (Q50326641) doesn't have image (P18)? I would expect the file in Category:Artworks with Wikidata item missing image. Multichill (talk) 22:22, 29 June 2019 (UTC)

I would expect it there too. Maybe I broke something with some recent edit. Adding |image={{PAGENAME}} to the file adds Category:Artworks with Wikidata item missing image. I will look into it. --Jarekt (talk) 01:55, 30 June 2019 (UTC)
Thanks. I'll leave it like this so you have an image to test with. I think quite a few pictures will turn up after you fix it. Multichill (talk) 12:42, 30 June 2019 (UTC)
Bump? This would be quite useful to have fixed for images like File:0025 Boby 1907.jpg. Multichill (talk) 10:11, 13 July 2019 (UTC)
Ping? :-) Multichill (talk) 17:17, 26 July 2019 (UTC)
Thanks for fixing, I see it's (slowly) filling up again. Multichill (talk) 18:53, 4 August 2019 (UTC)

Topic of July Photochallenge is aquacultureEdit

Hello Jarekt:

You are listed as the page editor for the July 2019 Photo Challenge. If you are not the right person for this message, please direct me.

When I entered the July 2019 Photo Challenge a couple of weeks ago, the topic was listed as "aquaculture". Now in voting, the topic name for this Photo Challenge has been changed to "fishing", a more restrictive subset of aquaculture.

I would not have entered the images I did for a fishing topic. Can the topic name for the July Photo Challenge be changed back to the original "aquaculture" so that voting can reflect on that topic?

Best - --GRDN711 (talk) 18:59, 2 August 2019 (UTC)

GRDN711, you are right, the topic was fishing and aquaculture. I corrected it at Commons:Photo challenge/2019 - July - Fishing/Voting. Thanks --Jarekt (talk) 16:05, 17 August 2019 (UTC)

Tech News: 2019-32Edit

13:24, 5 August 2019 (UTC)


Mam spore wątpliwości co do copywright kilku okładek. To jednak są kompozycje oparte na typografii, a ładujący je user raczej nie jest ich autorem: Special:Contributions/Danilas. Możesz sprawdzić? Sławek Borewicz (talk) 09:47, 9 August 2019 (UTC)

Panie Sławeku, Masz racje ze Danilas nie jest autorem tych okładek. Danilas twierdzi tutaj ze "posiada niezbędne pełnomocnictwa" na udostępnienie tych plików. Zakładam ze jest to prawda ale nie ma żadnego dowodu. Moglibyśmy go poprosić o maila do OTRS, ale bardziej prostym rozwiązaniem byłaby zmiana licencji na {{PD-text}}. Wiec właśnie zmieniłem wszystkie licencje. --Jarekt (talk) 16:00, 17 August 2019 (UTC)

Tech News: 2019-33Edit

18:18, 12 August 2019 (UTC)

Module:Wikidata InfoboxEdit

Thanks for the edits. I've reverted them for now as they caused an error - "Lua error in Module:Wikidata_Infobox at line 27: Tried to write global part2", and that module is already used in some categories. I've moved them to Module:Wikidata Infobox/sandbox - can you use that to test changes, please, and if you can spot the error please fix it? :-) Thanks. Mike Peel (talk) 08:20, 18 August 2019 (UTC)

I think I got that one now, but there's a different bug at User:Mike Peel/luasandbox... Thanks. Mike Peel (talk) 08:24, 18 August 2019 (UTC)
Mike, I fixed the problem with User:Mike Peel/luasandbox. Adding Module:No globals is a good idea while developing a new module as it allows you to quickly find badly initialized variables, which can make your life miserable latter on. All the other changes to the code I was trying to test with Module:Wikidata Infobox/testcases and Module talk:Wikidata Infobox/testcases to verify that my changes do not change the outcome of the functions. More tests should be added there, like for example I added your test from User:Mike Peel/luasandbox. --Jarekt (talk) 12:27, 18 August 2019 (UTC)
Thanks! I'm trying to reduce the number of dependencies that the infobox has, so that it's easier to install on other wikis. I have no objections to including no globals, but I've added the code for it directly into the new module rather than the link to the code. This is the first time I've tried coding in Lua, so go easy on me please. :-) Thanks. Mike Peel (talk) 14:10, 18 August 2019 (UTC)
Mike, Module:No globals (Q16748603) is well established on most of the wikis and I believe that in most the code is identical. So I would just link to it as it makes your code more readable. Hey, it is a great first start in Lua. I have a few additional thoughts:
  • Some of the functions like the code for stripping diacrits and string comparison might be useful for other projects and should probably be in a new module.
  • Most developers of lua code seem to follow w:Manual:Coding conventions. Your function naming does not follow it. It is not an issue, but it would be nicer.
  • Large number of dependencies is a big problem when porting to other wikis. My early lua codes often had many diverse functions but different other modules needed only this one or that one, it was easier to to split them into smaller chunks. That way, corrections to one function does not trigger refresh of so many pages and it is easier to test.
Sorry, if it feels like I am not "go[ing] easy on" you, I was stuck at an airport for 5 hours and had a lot of time to kill. A lot of operations you are writing were done in one for or another in other codes and we found simpler or more efficient ways of doing it. For example stripping diacrits code was discussed at length here and other places. --Jarekt (talk) 15:13, 18 August 2019 (UTC)
It's OK, I appreciate your changes, they mostly look good. :-) Reducing dependencies is the main aim of this work, though, so even if it's likely that the modules already exist, that shouldn't be assumed - particularly for the smallest wikis. The aim is to reduce the number of modules/templates required to run the Wikidata Infobox to an absolute minimum (probably circa 5-10) so it is much more portable / easier to keep in sync across wikis. Thanks. Mike Peel (talk) 20:48, 18 August 2019 (UTC)
Return to the user page of "Jarekt".