jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/669918 )
Change subject: [bugfix] Fix the issue that there are no changes in the log of contributions ......................................................................
[bugfix] Fix the issue that there are no changes in the log of contributions
Bug: T276715 Change-Id: I44fef021c95ac7f179dcb22d76f4c08619d928fc --- M scripts/reflinks.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/reflinks.py b/scripts/reflinks.py index 4c9c43f..a3a3ba6 100755 --- a/scripts/reflinks.py +++ b/scripts/reflinks.py @@ -688,7 +688,7 @@ new_text = self.deduplicator.process(new_text) old_text = page.text
- if old_text == page.text: + if old_text == new_text: return
self.userPut(page, old_text, new_text, summary=self.msg,
pywikibot-commits@lists.wikimedia.org