Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  We have Site.deletedrevs 
<https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.site.html#pywikibot.site._generators.GeneratorsMixin.deletedrevs>
 as interface to MW API:Deletedrevisions 
<https://www.mediawiki.org/wiki/API:Deletedrevisions> but the corresponding 
Page methods are odd:
  
  - getDeletedRevision 
<https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.getDeletedRevision>
 to get a single deleted revision for a previously known timestamp
  - loadDeletedRevisions 
<https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.loadDeletedRevisions>
 to load all deleted revisions of a page but it gives the timestamps only
  - markDeletedRevision 
<https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.markDeletedRevision>
 to mark a deleted revision by its timestamp for undeletion but does nothing 
else
  - undelete 
<https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.undelete>
 to undelete a previous marked revision for undeleting it; see documentation 
for the complex working procedure.
  
  These implementations were from compat (1.0) release and further 
investigations about it must be found out in that old repository I guess.

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

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

To: Xqt
Cc: matej_suchanek, Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, 
Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, 
Hannolans, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to