matthiasmullie added a comment.

  There is not currently a way for other wikis to retrieve structured data 
(statements/captions) from Commons other than calling the Wikibase action APIs 
on commons.wikimedia.org.
  
  Yes, T325948: Provide an API for accessing alt text (and possibly other 
structured data) stored with MediaWiki file uploads 
<https://phabricator.wikimedia.org/T325948> & T325949: Allow access to (some) 
structured image metadata across wikis 
<https://phabricator.wikimedia.org/T325949> describe specific implementations 
similar to what'd be needed for T256959: Allow PDF's to be rendered at higher 
(or user specified DPI) <https://phabricator.wikimedia.org/T256959>. Solving 
any one of them would get you at least most of the way there for the others.
  
  They kind of boil down to:
  
  - Create some point of access for files' structured data in core; this thing 
invokes a hook
  - In another extension that is configured in a way that it's able to access 
that data on Commons, subscribe to that hook and fill it with the relevant data
    - The obvious place is Extension:WikibaseMediaInfo, but that one is only 
enabled on Commons
      - WikibaseMediaInfo would have to be modified to run be able to run in 
some sort of client-only mode where it doesn't force its UI on NS_FILE pages 
and whatever else it may do that isn't desirable on other wikis
  
  Once the work to make structured data from Commons available on other wikis 
has been completed, the heavy lifting is probably done.
  From there on, the difference between those tasks is essentially picking data 
from another property.
  
  @Tgr does that match your view?
  
  Sidenote: all of these tasks thus far describe implementing some form of API 
that would allow any wiki to access a Commons file's structured data from code, 
but it would also unlock this data from content/wikitext in the form of Lua 
modules.

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

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

To: Vlad.shapik, matthiasmullie
Cc: matthiasmullie, Antanana, Ladsgroup, Tgr, hnowlan, GFontenelle_WMF, 
AntiCompositeNumber, Aklapper, 26081981, Astuthiodit_1, karapayneWMDE, 
Invadibot, Lalamarie69, maantietaja, Y.ssk, FRomeo_WMF, Muchiri124, CBogen, 
ItamarWMDE, DAlangi_WMF, Nintendofan885, Akuckartz, WDoranWMF, EvanProdromou, 
Nandana, JKSTNK, jijiki, Jony, Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, 
SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, 
Silverfish, _jensen, rosalieper, Agabi10, Taiwania_Justo, Scott_WUaS, Pchelolo, 
Susannaanas, Ixocactus, SBisson, Wong128hk, Fuzheado, Jane023, Wikidata-bugs, 
Base, aude, Daniel_Mietchen, El_Grafo, Dinoguy1000, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Raymond, Gilles, TheDJ, Steinsplitter, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to