LucasWerkmeister added a comment.

  My best idea so far is to make the SPARQL query concatenate all the image 
titles, separated by pipe characters –
  
    SELECT (GROUP_CONCAT(wikibase:decodeUri(STRAFTER(STR(?image), 
"http://commons.wikimedia.org/wiki/Special:FilePath/";)); separator = " | ") AS 
?images) WHERE {
      ?item wdt:P170 wd:Q3157590.
      ?item wdt:P18 ?image.
    }
  
  – and then paste the result <https://w.wiki/C9$> into ACDC 
<https://commons.wikimedia.org/wiki/Special:MyLanguage/Help:Gadget-ACDC> (it 
will split the list into individual files again).
  
  I can’t think of a way to do it with QuickStatements, because as far as I 
know for that we need to turn the titles into M-IDs; and I don’t know a way to 
turn the files from the query results into a PagePile either (which would be 
easier to add to ACDC than this copy+pasted list).

TASK DETAIL
  https://phabricator.wikimedia.org/T238443

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: SandraF_WMF, LucasWerkmeister
Cc: Salgo60, Magnus, LucasWerkmeister, Spinster, Dat_doris, Phofx, 
darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Silverfish, _jensen, rosalieper, 
Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, 
Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Steinsplitter, Mbch331, Ainali
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to