User:Marsupium/Notes
Jump to navigation
Jump to search
Introspection: GLAMorgan
and on a map: https://tools.wmflabs.org/wikimap/?cat=Photographs_by_User:Marsupium
Update:
- Try it! TSV output → PetScan like petscan:23615455: input: manual list, output: pagepile → QuickCategories with
SELECT (wikibase:decodeUri(CONCAT("File:", substr(str(?url),53))) AS ?filename) WHERE { ?file (p:P170/pq:P4174) "Marsupium". ?file schema:contentUrl ?url . }
- Actions: "
+Category:Photographs by User:Marsupium
" and - Title: "
based on SDC [[d:P:P170|creator (P170)]]/[[d:P:P4174|Wikimedia username (P4174)]] "Marsupium"
" (based on SDC creator (P170)/Wikimedia username (P4174) "Marsupium")
- Actions: "
- Search wikitext from petscan:28119137, output: pagepile → QuickCategories with
- Actions: "
+Category:Photographs by User:Marsupium
" and - Title: "
based on search: "Marsupium" hastemplate:"Art Photo" -incategory:"Photographs by User:Marsupium" insource:/\| *photographer *= *\[\[User:Marsupium\|Marsupium\]\]/i
"
- Actions: "
TODO
[edit]Modules
[edit]- Module:Depicted people might be mergeable into Module:Match link
- Module:Size: solve Template talk:Size#New parameter "applies to part": Commons only support should be relatively easy
- Module:Wikidata art's
p.get_inscription()
: currenttemp_args.position = LUT[table.concat(position, '_')]
or upper left part (Q27956549) etc.? (which is in a way more flexible for the direction, but doesn't work for >1 positions): statistics needed! - Module talk:Wikidata art#Reference creation from artwork IDs: deployed, paws:7846754/update-module-artwork-artwork-ID-properties-LUT.ipynb for updating Module:Artwork/Artwork ID properties LUT has to be update to new format from c:Special:Diff/628671319 though
- Module:Creator: many diacritics aren't really removed, cf. [1]. Is that okay?
- voy:Module:Exchangerate: add support for c:Data:Xe.com exchange rates.tab, cf. also , for more data see also voy:es:Usuario discusión:Superzerocool#Module:Prix/Data
Template:Technique related
[edit]- (don't forget about Module:Sandbox/Marsupium/Technique and it's tests on User:Marsupium/Module:Sandbox/Technique/testcases!!!)
- get setting Category:Unsupported technique right!
- Done
implement functionality of Template:Technique/fr…'s{{{gender on}}}
- Arabic: what to do with the "al"s?
- none here: http://www.beirutnationalmuseum.com/a_collection_arabe.htm
- partly in: MET guide in ar (Google Books page)
- use synonyms for both link and term fallback
- clean up synonyms is done, now test in Module:Technique/Comparison if there is any doubling
- Module:Technique/WikidataLUT
- Done
add class information and make use of it - Done
add "alternative link items" and make use of it - test for redirects, in https://paws.wmflabs.org/paws/user/Marsupium/notebooks/update-module-technique-WikidataLUT.ipynb, in an extra query or both
- Done
- support creating of redundant, … categories
- what to do with all the
{{technique|painting}}
s? - support >1 adjective like in File:Queen Square, London 1786 by Edward Dayes.tif:
{{technique |watercolor |and=pen |and2=ink |adjand2=black |over=graphite |on=wove paper |adjon=thick |adj2on=smooth |adj3on=cream}}
currently gives:- "watercolor, pen and black ink over graphite on thick wove paper", should probably be
{{technique |watercolor |and=pen |and2=ink |adjand2=black |over=graphite |on=wove paper |adjon=thick;smooth;cream}}
which currently gives:- "watercolor, pen and black ink over graphite on thick, smooth and cream-colored wove paper"
- sandbox2:
{{technique/sandbox2 |watercolor |and=pen |and2=ink |adjand2=black |over=graphite |on=wove paper |adjon=thick;smooth;cream}}
currently gives:- "watercolor, pen and black ink over graphite on thick, smooth and cream-colored wove paper"
- more examples: Special:Search/insource:"cream, moderately thick, smooth wove paper", in template here or here; with adverbs: File:Brooklyn Museum - On the Delaware at Point Pleasant - Thomas Moran - overall.jpg
- get forms from Wikidata Lexemes? get hyphenation? (something like this: Try it!)
SELECT ?lexeme ?lemma ?gender ?genderLabel ?item ?itemLabel ?out WHERE { VALUES ?item { wd:Q39782 } ?lexeme ontolex:sense/wdt:P5137 ?item . ?lexeme dct:language wd:Q7026 . # optional Catalan only ?lexeme wikibase:lemma ?lemma . OPTIONAL { ?lexeme wdt:P5185 ?gender . } VALUES (?gender ?genderLetter) { (wd:Q499327 "m") (wd:Q1775415 "f") } BIND(CONCAT("\u007B\u007B#switch:\u007B\u007B\u007Bquery|\u007D\u007D\u007D | gender=", ?genderLetter, " | #default=", ?lemma, "\u007D\u007D") AS ?out) # TODO: consider pluralia tantum! SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
- query adj-noun typology etc.: something like this: Try it!
SELECT ?lang ?langLabel ?typology ?typologyLabel ?num ?ISO_639_1_code WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # VALUES (?typology ?num) { (wd:Q651641 7) (wd:Q539808 15) } # subject–verb–object etc. for testing with more examples VALUES (?typology ?num) { (wd:Q74834637 1) (wd:Q74835210 2) } ?lang wdt:P4132 ?typology. ?lang wdt:P218 ?ISO_639_1_code. } LIMIT 500
- differentiate glue tempera painting (Q3374395) and glue-size (Q1417424)/tüchlein (currently instance of (P31): painting technique (Q1231896))
- Nymph and a horse (Q116920781) shouldn't have got "print" as a material from Commons
- think about integrating functionality of {{Traces of}} and similar cases
- reply to Special:Permalink/738838681#Medium / technique
Other stuff
[edit]- upload mapillary for User:Marsupium/West Bank barrier
- File:Frans Post - Village with church in ruins - Ashmolean LI2413-1.jpeg: collection handling by Module:Artwork not good
- wrong "type of object": File:Florence Nightingale. Coloured lithograph. Wellcome V0006579.jpg, it's a lithograph, not a painting
- mainsnak date should be between the bounds, not mid-century, e.g. previously here
- Photographs by me not CC-0, could be changed: https://petscan.wmflabs.org/?psid=3651582
- to the discussion about Template:Period: {{Label}} does not require the item to be loaded? If we want to use them, start time (P580) and end time (P582) will, but it will only affect those items where time period (P2348) is set and those will then probably not have creator item to be loaded. Now see also Module talk:Artwork#New version with object and period upstream
- FoP Palestine previous discussions:
- Commons talk:Freedom of panorama/Archive 10#Disputed states 2012-11
- Commons talk:Freedom of panorama/Archive 15#Palestine 2016-03/04
- Commons:Village pump/Copyright/Archive/2013/02#Banksy artwork 2013-01/02: only “The ones in Palestine can stay because Israel has FOP.” (Ryan Vesey)
- Commons:Deletion requests/File:Gilad Shalit on Hamas poster.jpg 2009-01/06; 2012-11/2013-01: link to a thesis on which IP laws apply, interesting second closing statement
Cleanup
[edit]- Category:Copy and Mastery: descriptions from Portrait of Benarem Pundit on
- Category:Beyond Compare – Art from Africa in the Bode-Museum: 39(+) photos
- Neues Museum Cyprus room: finish
- White City of Tel Aviv: finish by uploading missing photos
not by me: inventory numbers etc.
- SMB
- BNM (Bayerisches Nationalmuseum)
Import
[edit]- Done by someone
from https://www.flickr.com/photos/eltb/sets/72157634134184018 to Category:Iglesia del Oratorio de San Felipe Neri - from https://flickr.com/photos/jjmhtp/albums/72157679966668381 to Category:Basilica cylcle
- perhaps upload photos to a new Category:2018 Light Festival, Jerusalem, subcat of Category:Light Festival, Jerusalem, e.g. https://flickr.com/photos/jjmhtp/42615713370
- upload photos to Category:Kabuto in the Ann and Gabriel Barbier-Mueller Museum etc.
Tools etc.
[edit]{{Low quality|<!-- problem -->}} gives:
{{Perspective}} gives:
{{trimming|date=2024-08-12|comment=Crop me.}} gives:
Lua
[edit]Here some style guides:
- Commons talk:Lua#Standards
- mw:Manual:Coding conventions/Lua
- http://lua-users.org/wiki/LuaStyleGuide
- https://github.com/luarocks/lua-style-guide (which links to others)
- some good advice on mw:Help:Lua/Lua best practice
For documentation this is a standard: https://stevedonovan.github.io/ldoc/manual/doc.md.html
General: Bob Martin: Clean Code