User:Marsupium/Notes

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

Introspection: GLAMorgan
and on a map: https://tools.wmflabs.org/wikimap/?cat=Photographs_by_User:Marsupium

Update:

  1. SELECT (wikibase:decodeUri(CONCAT("File:", substr(str(?url),53))) AS ?filename)
    WHERE {
      ?file (p:P170/pq:P4174) "Marsupium".
      ?file schema:contentUrl ?url .
    }
    
    Try it! TSV output → PetScan like petscan:23615455: input: manual list, output: pagepile → QuickCategories with
    • 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")
  2. 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"

TODO[edit]

Modules[edit]

Template:Technique related[edit]

(don't forget about Module:Sandbox/Marsupium/Technique and it's tests on User:Marsupium/Module:Sandbox/Technique/testcases!!!)
{{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:
    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". }
    }
    
    Try it!)
  • query adj-noun typology etc.: something like this:
    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
    
    Try it!
  • 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]

See also User talk:ديفيد عادل وهبة خليل 2#License of File:Bethlehem wall graffiti Ahed Tamimi by Jorit Agoch and others.jpeg

Cleanup[edit]

not by me: inventory numbers etc.

  • SMB
  • BNM (Bayerisches Nationalmuseum)

Import[edit]

Tools etc.[edit]

{{Low quality|<!-- problem -->}} gives:


{{Perspective}} gives:

{{trimming|date=2024-05-16|comment=Crop me.}} gives:

Lua[edit]

Here some style guides:

For documentation this is a standard: https://stevedonovan.github.io/ldoc/manual/doc.md.html

General: Bob Martin: Clean Code