matej_suchanek created this task.
matej_suchanek added projects: Pywikibot-Commons, Pywikibot-Wikidata, Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  In T200955 <https://phabricator.wikimedia.org/T200955>, Pywikibot was patched 
to be compatible with then new MediaWiki feature called "slots". Instead of 
fetching the main slot only, all of them should be fetched and stored in 
Revision class. This is necessary for accessing structured data on Commons.
  
  - Example of the current API call 
<https://commons.wikimedia.org/w/api.php?action=query&format=json&prop=revisions&titles=File%3AWarriors%20of%20Lapland.jpg&rvprop=ids%7Ctimestamp%7Cflags%7Cuser%7Ccontent&rvslots=main&rvlimit=1&rvdir=older>
  - Example of the desired API call 
<https://commons.wikimedia.org/w/api.php?action=query&format=json&prop=revisions&titles=File%3AWarriors%20of%20Lapland.jpg&rvprop=ids%7Ctimestamp%7Cflags%7Cuser%7Ccontent&rvslots=*&rvlimit=1&rvdir=older>

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

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

To: matej_suchanek
Cc: Aklapper, matej_suchanek, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Ricordisamoa, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to