Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1116495?usp=email )
Change subject: [9.6.2] Publish Pywikibot 9.6.2 ...................................................................... [9.6.2] Publish Pywikibot 9.6.2 Change-Id: Id2930b7ab5581266929f4b6c0d2a8e889cdc3dbd --- M HISTORY.rst M ROADMAP.rst M pywikibot/__metadata__.py M pywikibot/families/wikipedia_family.py M pywikibot/page/_wikibase.py 5 files changed, 25 insertions(+), 17 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/HISTORY.rst b/HISTORY.rst index 4d067ad..279e4f2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,14 @@ Release History =============== +9.6.1 +----- +*13 December 2024* + +* Add support for tigwiki (:phab:`T381381`) +* Fix use of importlib.metadata.entry_points for pywikibot-scripts with Python 3.8 and 3.9 (:phab:`T358635`) +* i18n updates. + 9.6.0 ----- *03 December 2024* diff --git a/ROADMAP.rst b/ROADMAP.rst index 43db81d..c6b7251 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,8 +1,8 @@ Current Release Changes ======================= -* Add support for tigwiki (:phab:`T381381`) -* Fix use of importlib.metadata.entry_points for pywikibot-scripts with Python 3.8 and 3.9 (:phab:`T358635`) +* Add support for kncwiki (:phab:`T385187`) +* Fix a f-string in :meth:`Claim.fromJSON()<pywikibot.Claim.fromJSON>` * i18n updates. diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index 8a63ca1..3913aa5 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -3,7 +3,7 @@ .. versionadded:: 4.0 """ # -# (C) Pywikibot team, 2020-2024 +# (C) Pywikibot team, 2020-2025 # # Distributed under the terms of the MIT license. # @@ -12,6 +12,6 @@ from time import strftime -__version__ = '9.6.1' +__version__ = '9.6.2' __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot' __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team' diff --git a/pywikibot/families/wikipedia_family.py b/pywikibot/families/wikipedia_family.py index 3a03d0b..a2882b3 100644 --- a/pywikibot/families/wikipedia_family.py +++ b/pywikibot/families/wikipedia_family.py @@ -1,6 +1,6 @@ """Family module for Wikipedia.""" # -# (C) Pywikibot team, 2004-2024 +# (C) Pywikibot team, 2004-2025 # # Distributed under the terms of the MIT license. # @@ -43,15 +43,15 @@ 'hsb', 'ht', 'hu', 'hy', 'hyw', 'ia', 'iba', 'id', 'ie', 'ig', 'igl', 'ik', 'ilo', 'inh', 'io', 'is', 'it', 'iu', 'ja', 'jam', 'jbo', 'jv', 'ka', 'kaa', 'kab', 'kbd', 'kbp', 'kcg', 'kg', 'kge', 'ki', 'kk', 'kl', - 'km', 'kn', 'ko', 'koi', 'krc', 'ks', 'ksh', 'ku', 'kus', 'kv', 'kw', - 'ky', 'la', 'lad', 'lb', 'lbe', 'lez', 'lfn', 'lg', 'li', 'lij', 'lld', - 'lmo', 'ln', 'lo', 'lt', 'ltg', 'lv', 'mad', 'mai', 'map-bms', 'mdf', - 'mg', 'mhr', 'mi', 'min', 'mk', 'ml', 'mn', 'mni', 'mnw', 'mos', 'mr', - 'mrj', 'ms', 'mt', 'mwl', 'my', 'myv', 'mzn', 'nah', 'nap', 'nds', - 'nds-nl', 'ne', 'new', 'nia', 'nl', 'nn', 'no', 'nov', 'nqo', 'nr', - 'nrm', 'nso', 'nv', 'ny', 'oc', 'olo', 'om', 'or', 'os', 'pa', 'pag', - 'pam', 'pap', 'pcd', 'pcm', 'pdc', 'pfl', 'pi', 'pih', 'pl', 'pms', - 'pnb', 'pnt', 'ps', 'pt', 'pwn', 'qu', 'rm', 'rmy', 'rn', 'ro', + 'km', 'kn', 'knc', 'ko', 'koi', 'krc', 'ks', 'ksh', 'ku', 'kus', 'kv', + 'kw', 'ky', 'la', 'lad', 'lb', 'lbe', 'lez', 'lfn', 'lg', 'li', 'lij', + 'lld', 'lmo', 'ln', 'lo', 'lt', 'ltg', 'lv', 'mad', 'mai', 'map-bms', + 'mdf', 'mg', 'mhr', 'mi', 'min', 'mk', 'ml', 'mn', 'mni', 'mnw', 'mos', + 'mr', 'mrj', 'ms', 'mt', 'mwl', 'my', 'myv', 'mzn', 'nah', 'nap', + 'nds', 'nds-nl', 'ne', 'new', 'nia', 'nl', 'nn', 'no', 'nov', 'nqo', + 'nr', 'nrm', 'nso', 'nv', 'ny', 'oc', 'olo', 'om', 'or', 'os', 'pa', + 'pag', 'pam', 'pap', 'pcd', 'pcm', 'pdc', 'pfl', 'pi', 'pih', 'pl', + 'pms', 'pnb', 'pnt', 'ps', 'pt', 'pwn', 'qu', 'rm', 'rmy', 'rn', 'ro', 'roa-rup', 'roa-tara', 'rsk', 'ru', 'rue', 'rw', 'sa', 'sah', 'sat', 'sc', 'scn', 'sco', 'sd', 'se', 'sg', 'sh', 'shi', 'shn', 'si', 'simple', 'sk', 'skr', 'sl', 'sm', 'smn', 'sn', 'so', 'sq', 'sr', diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py index 4324705..75d227d 100644 --- a/pywikibot/page/_wikibase.py +++ b/pywikibot/page/_wikibase.py @@ -8,7 +8,7 @@ * WikibaseEntity: base interface for Wikibase entities. """ # -# (C) Pywikibot team, 2013-2024 +# (C) Pywikibot team, 2013-2025 # # Distributed under the terms of the MIT license. # @@ -1738,7 +1738,7 @@ msg = None if not claim_type: - msg = '{claim.id} does not exist.' + msg = f'{claim.id} does not exist.' elif claim.type in cls.types: # The default covers string, url types claim.target = cls.TARGET_CONVERTER.get( @@ -2139,7 +2139,7 @@ >>> repo = pywikibot.Site('wikidata') >>> L2 = pywikibot.LexemePage(repo, 'L2') # create a Lexeme page >>> list(L2.claims) # access the claims - ['P5402', 'P5831', 'P12690'] + ['P5402', 'P5831', 'P12690', 'P12448', 'P31', 'P5275', 'P12510', ...] >>> len(L2.forms) # access the forms 3 >>> F1 = L2.forms[0] # access the first form -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1116495?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: Id2930b7ab5581266929f4b6c0d2a8e889cdc3dbd Gerrit-Change-Number: 1116495 Gerrit-PatchSet: 3 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]
