Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/816298 )
Change subject: [cleanup] Remove TODO: implement undelete in site/_generators.py ......................................................................
[cleanup] Remove TODO: implement undelete in site/_generators.py
The TODO was added February 2009 but the undelete method was implemented in December 2014
Change-Id: Ibefcd4a2253036df7adaaf490fedd89a5488a412 --- M pywikibot/site/_generators.py 1 file changed, 0 insertions(+), 2 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/pywikibot/site/_generators.py b/pywikibot/site/_generators.py index 6d9966a..7b1259f 100644 --- a/pywikibot/site/_generators.py +++ b/pywikibot/site/_generators.py @@ -1748,8 +1748,6 @@ namespaces=namespaces, total=total, g_content=content, **params)
- # TODO: implement undelete - _patrol_errors = { 'nosuchrcid': 'There is no change with rcid {rcid}', 'nosuchrevid': 'There is no change with revid {revid}',
pywikibot-commits@lists.wikimedia.org