Template talk:Location/2022

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

LUA error

I am experiencing an error "Lua error in Module:Coordinates at line 168: attempt to index local 'entity' (a nil value)" when adding this template to some pictures, see for example File:Dorflinde Prem.jpg. It worked fine here: File:Bildstock Helfenwang.jpg. I use this template because even if my original pictures were taken with GPS enabled, the location info gets lost when I use an image editor to crop and resize the pictures, so I manually add the location with this template. The difference between the two pictures is that I edited the first one with GIMP and the second one with gThumb. --Bruno413 (talk) 09:38, 30 June 2022 (UTC)

It seems to work now, even if I haven't changed anything in the file. It might be related to that I cleared my browser cookie cache. --Bruno413 (talk) 13:31, 30 June 2022 (UTC)
No, I think it was fixed by Jarekt’s edit to the module. —Tacsipacsi (talk) 17:07, 30 June 2022 (UTC)

Display sequence

It's not anyway serious, just irritating a bit: when as well Camera location and Object location are given, in my logic is the first one the camera, and the second one the object. I know that it can be seen the other way - first I glance an object, and then I grip my camera.
So I do not know whether it will be worth any effort to change that sequence (which is now object - camera). I just would like it more the other way.
See as an example Blick von der Teufelskanzel.jpg -- sarang사랑 14:31, 12 August 2022 (UTC)

@Sarang: , That order is encoded in {{Inform}} used by File:Blick von der Teufelskanzel.jpg. --Jarekt (talk) 11:33, 2 September 2022 (UTC)
I had not been aware that the order can be changed that way - thank you for the hint! It is now corrected - sarang사랑 11:36, 2 September 2022 (UTC)

@Jarekt: Will there be a possibility to suppress the display of the - it bears IMHO no indispensable information, and can be very disturbing, e.g. there.
It is generated at stmt 829 of Module:Coordinates. -- sarang사랑 10:42, 2 September 2022 (UTC)

@Sarang: , the on the right of the Template has been part of the template since 2007 and I am reluctant to just remove it. I am not very attached to it, but I do not know if other users find it useful or not. Maybe the best option would be propose this change at Commons:Village pump/Proposals (2 options: keep as is or remove) and if there is consensus I will easily remove it. --Jarekt (talk) 11:33, 2 September 2022 (UTC)
Thank you, but it is not such urgent, I can live with it very well. -- sarang사랑 11:36, 2 September 2022 (UTC)