jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/579716 )
Change subject: [IMPR] Cleanup WikibaseEntity.editEntity and overrides ......................................................................
[IMPR] Cleanup WikibaseEntity.editEntity and overrides
Revision id update is handled in WikibasePage.get which is called from parent in editEntity.
Change-Id: Id52080d524703d23079b7bfc0f19c6757c5f975a --- M pywikibot/page.py 1 file changed, 1 insertion(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 48cec2eb..f8b4418 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -3887,7 +3887,6 @@
self._content = updates['entity'] self.get() - return updates
def concept_uri(self): """ @@ -4353,9 +4352,8 @@ else: baserevid = None
- updates = super(WikibasePage, self).editEntity( + super(WikibasePage, self).editEntity( data, baserevid=baserevid, **kwargs) - self.latest_revision_id = updates['entity']['lastrevid']
def editLabels(self, labels, **kwargs): """