matej_suchanek closed this task as "Resolved".
matej_suchanek added a comment.


    import pywikibot
    
    file_repo = pywikibot.Site('commons', 'commons')
    file_page = pywikibot.FilePage(file_repo, 
'Würfelzucker_--_2018_--_3564.jpg')
    file_item = file_page.data_item()
    caption = file_item.labels['en']  # 'Sugar cubes (2018)'

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

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

To: matej_suchanek
Cc: Zache, Framawiki, JeanFred, Addshore, Mpaa, Xqt, Aklapper, 
pywikibot-bugs-list, SandraF_WMF, abian, Jyoo1011, FRomeo_WMF, JohnsonLee01, 
SHEKH, Dijkstra, CBogen, Khutuck, Nintendofan885, Zkhalido, Viztor, JKSTNK, 
Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Lydia_Pintscher, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to