Open main menu

Obsolète ?Edit

Bonjour Rama,

Je n'ai pas regardé dans le détail ce que faisait ce modèle, mais maintenant que template:Artwork reprend des données de Wikidata, on peut peut-être l'utiliser à la place ? -Zolo (talk) 11:24, 23 April 2018 (UTC)

Salut, oui c'est tout à fait ça. Je vais l'annoncer aux utilisateurs de mon template. Merci et bravo !
Est-ce qu'on a la même chose de prévue pour {{Category definition: Object}} ?
Bonne continuation ! Rama (talk) 13:20, 23 April 2018 (UTC)
(c'est essentiellement user:Jarekt) qui a fait le modèle actuel. Je pense qu'on pourra aussi supprimer {{Category definition: Object}} (voir sa page de discussion). En fait, on peut d'ores et déjà le remplacer par {{Artwork}} en ajoutant |strict = pour éviter d'avoir des problèmes avec le champ source. --Zolo (talk) 13:49, 23 April 2018 (UTC)
Ah ah, comme c'est la classe ! Category:Musée Saint-Raymond, Ra 9 bis, File:Venus-Ra 9 bis-P9020614-gradient.jpg ! :) Rama (talk) 15:42, 23 April 2018 (UTC)
I was actually just looking at User:Rama/Catdef and was wandering if there are pieces there that Module:Artwork is not doing. --Jarekt (talk) 13:56, 23 April 2018 (UTC)
My User:Rama/Catdef might have some bells and whistles for "Object history", "References" (it displays Reference URLs and also lnks to museum database such as Joconde, Atlas (the database of the Louvre) or that of the MEG (Ethongraphy museum of Geneva)) and "Date" (takes "earliest date" and "latest date" to generate "before/after/between"). Do not hesitate to ask if you have questions, and thank you for this splendid work! Cheers! Rama (talk) 15:37, 23 April 2018 (UTC)
Also, my template uses "era" in addition to "date", and "location" in addition to "collection". Might be useful to locate an artwork within a museum, see the rendering for the Seated Scribe, for instance (below). Cheers! Rama (talk) 19:59, 23 April 2018 (UTC)
I guess Module:Artwork and Module:Wikidata art are not doing many things User:Rama/Catdef is doing. What I attempt to do is
It seems like much more can be done. --Jarekt (talk) 04:13, 24 April 2018 (UTC)
Is there anything I could do to lend a hand? I originally wrote User:Rama/Catdef just as a proof of concept, I have a very limited knowledge of Lua and its libraries on Wikimedia, and my development environment is hopeless, is there documentation on best practices somehwere? Cheers! Rama (talk) 12:14, 24 April 2018 (UTC)
I do not know about, written best practices and my knowledge of Lua was minimal couple years ago. en:Wikipedia:Lua might come the closest. I always try to work with main and sandbox version with official tests and results pages. If possible, I try to use Module:UnitTests to set up extensive testing environment, like at Module:Size. You are welcome to add support for more fields, either at Module:Artwork (harvest_wikidata function) or Module:Wikidata art: country of origin (P495) -> place_of_creation, discoverer or inventor (P61)+time of discovery or invention (P575)+location of discovery (P189) -> object history and/or place_of_discovery comes to mind. Another task could be expanding Module:Authority control as suggested in Template_talk:Authority_control#Expanding_to_use_more_generally_than_just_people?. It could also include identifiers relevant to artworks like the ones you use in References. If you are interested let me know and we can coordinate further. --Jarekt (talk) 13:57, 24 April 2018 (UTC)

The Seated Scribe   
Object type statue, archaeological artifact
Date 2600s BCE
between 2600 BCE and 2350 BCE
Fourth Dynasty of Egypt
Medium limestone, quartz, copper
Dimensions Height: 53.7 cm (21.1 ″); Width: 44 cm (17.3 ″); Thickness: 35 cm (13.7 ″)
dimensions QS:P2048,53.7U174728;P2049,44U174728;P2610,35U174728
institution QS:P195,Q3044749

Room 635
Current location
Accession number
E 3023  
Place of discovery Saqqara
Object history discovered by Auguste Mariette (Saqqara)
References — Musée du Louvre, Atlas database: entry 14135
Le Scribe accroupi
The Seated Scribe
Authority control

The Seated Scribe   
Object type statue / archaeological artifact
Date between 2600 and 2350 BC
date QS:P,-2500-00-00T00:00:00Z/6,P1319,-2600-00-00T00:00:00Z/9,P1326,-2350-00-00T00:00:00Z/9

Fourth Dynasty of Egypt (2613 BC
date QS:P,-2613-00-00T00:00:00Z/9
–2498 BC
date QS:P,-2498-00-00T00:00:00Z/9
Medium limestone, quartz and copper
Dimensions Height: 53.7 cm (21.1 ″); Width: 44 cm (17.3 ″); Thickness: 35 cm (13.7 ″)
dimensions QS:P2048,+53.7U174728;P2049,+44U174728;P2610,+35U174728
institution QS:P195,Q19675
Current location
Accession number
Place of discovery Saqqara
Object history
  • 19 November 1850: discovered (Saqqara)
Authority control
Return to the user page of "Rama/WikidataArtwork".