jenkins-bot submitted this change.

View Change

Approvals: Rubin: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
[FIX] Call ReferencesRobot.setup()

SingleSiteBot.run() is overwritten so setup() wasn't called

Bug: T265928
Change-Id: Ia628240b1088ffa0fee24f67d66a98e237c42a56
---
M scripts/reflinks.py
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/scripts/reflinks.py b/scripts/reflinks.py
index da863b7..c0aa235 100755
--- a/scripts/reflinks.py
+++ b/scripts/reflinks.py
@@ -506,6 +506,7 @@

def run(self):
"""Run the Bot."""
+ self.setup()
editedpages = 0
for page in self.generator:
try:

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ia628240b1088ffa0fee24f67d66a98e237c42a56
Gerrit-Change-Number: 635060
Gerrit-PatchSet: 1
Gerrit-Owner: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: Rubin <rubin@wikimedia.ru>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged