MarcoAurelio created this task.
MarcoAurelio added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  For {src PWBC:scripts/clean_sandbox.py} would it be possible to add a 
`-oldid:N` flag where `N` would be the number of the permanent link/revision ID 
of the page is a clean state? Pywikibot can then attempt to restore the page to 
that revision (if it [still] exists e.g. not deleted/revdeleted/suppressed) 
otherwise the script should exit with error.
  
  This could also be used to revamp or simply the script code making it wiki 
agnostic instead of either patching it for each wiki or using the `-text:` 
argument (which by the way it doesn't look it support line breaks?)
  
  Thank you.

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/87/

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

To: MarcoAurelio
Cc: Aklapper, MarcoAurelio, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, 
jayvdb, 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