jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[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(-)

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,

To view, visit change 669918. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I44fef021c95ac7f179dcb22d76f4c08619d928fc
Gerrit-Change-Number: 669918
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged