Tpt added a comment.

  > As far as I’m aware, the real URL in RDF is more like 
http://commons.wikimedia.org/wiki/Special:FilePath/Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg
 – the query service UI rewrites it to the file description URL (/wiki/File:) 
on display.
  >  I also don’t understand your first example – is sdoc:P18 
<https://phabricator.wikimedia.org/P18> meant to be something like sdoc:M123 
<https://phabricator.wikimedia.org/M123> instead?
  
  Yes, Indeed, sorry. I should have proofread myself more carefully.
  
  > And finally, I’m not sure this will be doable, since it would require 
looking up the page ID for every Commons file mentioned in a dump, and also 
sending updates to the query service when that page ID change due to page moves…
  >  I think it would be more feasible to add the Special:FilePath URL to the 
WikibaseMediaInfo RDF, and combine WDQS and WCQS that way.
  
  Thant's a very good point. Changing `schema:contentUrl` to use 
`Special:FilePath` is indeed an easier way to do.

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

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

To: Tpt
Cc: Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, 
Akuckartz, darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, 
Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to