Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1217116?usp=email )

Change subject: [10.7.3] Publish Pywikibot 10.7.3 stable release
......................................................................

[10.7.3] Publish Pywikibot 10.7.3 stable release

Backports to stable release:
- Fix extracting password line
- Add generated password file to gitignore list

Bug: T412074
Bug: T411966
Bug: T410753
Change-Id: Iadbcdc728aa70fe4363216a36f1e96f29caae446
---
M .gitignore
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
M pywikibot/login.py
5 files changed, 12 insertions(+), 3 deletions(-)

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




diff --git a/.gitignore b/.gitignore
index dc1bb7d..295a917 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 throttle.ctrl
 user-*.py
+user-*.cfg
 *.bak
 *.lwp
 *.pyc
diff --git a/HISTORY.rst b/HISTORY.rst
index 76be477..1e04bbc 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,13 @@
 Release History
 ===============

+10.7.2
+------
+*28 November 2025*
+
+* Add support for tokwiki (:phab:`T404569`)
+
+
 10.7.1
 ------
 *24 November 2025*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 17fe57f..4ecc0ea 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,7 +1,8 @@
 Current Release Changes
 =======================

-* Add support for tokwiki (:phab:`T404569`)
+* Fix extracting password line (:phab:`T412074`)
+* Add generated password file to gitignore list (:phab:`T411966`, 
:phab:`T410753`)


 Deprecations
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index f073a2b..4c8ab32 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
 from time import strftime


-__version__ = '10.7.2'
+__version__ = '10.7.3'
 __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
 __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'
diff --git a/pywikibot/login.py b/pywikibot/login.py
index e7eb88c..f55a864 100644
--- a/pywikibot/login.py
+++ b/pywikibot/login.py
@@ -288,7 +288,7 @@
                 continue

             if botpassword:
-                entry = (entry[0], BotPassword(*entry[1]))
+                entry = (*entry[:-1], BotPassword(*entry[-1]))

             code, family, username, password = (
                 self.site.code, self.site.family.name)[:4 - entry_len] + entry

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1217116?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: stable
Gerrit-Change-Id: Iadbcdc728aa70fe4363216a36f1e96f29caae446
Gerrit-Change-Number: 1217116
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to