jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/483365 )

Change subject: [bugfix] Fix parameter order of userPut method
......................................................................

[bugfix] Fix parameter order of userPut method

reorder userPut parameters to enable tagging pages for speedy deletion.

Bug: T213312
Change-Id: I6f4036928bf0cca399ba0ebac623cd1233a41afa
---
M scripts/redirect.py
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Dvorapa: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/redirect.py b/scripts/redirect.py
index 32641a7..311c8b9 100755
--- a/scripts/redirect.py
+++ b/scripts/redirect.py
@@ -72,8 +72,8 @@
 #
 # (C) Daniel Herding, 2004
 # (C) Purodha Blissenbach, 2009
-# (C) xqt, 2009-2018
-# (C) Pywikibot team, 2004-2018
+# (C) xqt, 2009-2019
+# (C) Pywikibot team, 2004-2019
 #
 # Distributed under the terms of the MIT license.
 #
@@ -481,7 +481,7 @@
                                               page.title(with_section=False))
                 content = content_page.get(get_redirect=True)
             content = self.sdtemplate + '\n' + content
-            self.userPut(page, content, page.text, summary=reason,
+            self.userPut(page, page.text, content, summary=reason,
                          ignore_save_related_errors=True,
                          ignore_server_errors=True)


--
To view, visit https://gerrit.wikimedia.org/r/483365
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6f4036928bf0cca399ba0ebac623cd1233a41afa
Gerrit-Change-Number: 483365
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Dvorapa <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: MarcoAurelio <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to