jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1152676?usp=email )

Change subject: [bugfix] Fix missing commas in noreferences.py and 
dry_api_tests.py
......................................................................

[bugfix] Fix missing commas in noreferences.py and dry_api_tests.py

Change-Id: I032d00a6959bd97260783d65f01df8159af3bf5b
---
M scripts/noreferences.py
M tests/dry_api_tests.py
M tests/wikiblame_tests.py
3 files changed, 9 insertions(+), 9 deletions(-)

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




diff --git a/scripts/noreferences.py b/scripts/noreferences.py
index 4c373e6..79ca562 100755
--- a/scripts/noreferences.py
+++ b/scripts/noreferences.py
@@ -28,7 +28,7 @@
 a list of affected articles
 """
 #
-# (C) Pywikibot team, 2007-2024
+# (C) Pywikibot team, 2007-2025
 #
 # Distributed under the terms of the MIT license.
 #
@@ -166,9 +166,9 @@
         '바깥 고리',
         '바깥고리',
         '바깥 링크',
-        '바깥링크'
+        '바깥링크',
         '외부 고리',
-        '외부고리'
+        '외부고리',
     ],
     'lt': [              # no explicit policy on where to put the references
         'Nuorodos'
@@ -382,10 +382,10 @@
         ],
         'ko': [
             '주석',
-            '각주'
-            '주석 및 참고 자료'
+            '각주',
+            '주석 및 참고 자료',
             '주석 및 참고자료',
-            '주석 및 참고 출처'
+            '주석 및 참고 출처',
         ],
         'lt': [             # not sure about which ones are preferred.
             'Šaltiniai',
diff --git a/tests/dry_api_tests.py b/tests/dry_api_tests.py
index 2e536ec..9f10c9c 100755
--- a/tests/dry_api_tests.py
+++ b/tests/dry_api_tests.py
@@ -1,7 +1,7 @@
 #!/usr/bin/env python3
 """API tests which do not interact with a site."""
 #
-# (C) Pywikibot team, 2012-2024
+# (C) Pywikibot team, 2012-2025
 #
 # Distributed under the terms of the MIT license.
 #
@@ -330,7 +330,7 @@
                             'index': 1,
                             'name': 'prop',
                             'type': [
-                                'displaytitle'
+                                'displaytitle',
                                 'notificationtimestamp',
                                 'protection',
                                 'subjectid',
diff --git a/tests/wikiblame_tests.py b/tests/wikiblame_tests.py
index cd27fea..ced4a57 100644
--- a/tests/wikiblame_tests.py
+++ b/tests/wikiblame_tests.py
@@ -56,7 +56,7 @@
     def test_restrictions(self) -> None:
         """Test main_authors() method with restrictions."""
         page = pywikibot.Page(pywikibot.Site('wikipedia:en'), 'Python')
-        auth = page.authorship(min_chars=100, min_pct=5.0)
+        auth = page.authorship(4, min_chars=100, min_pct=5.0)
         self.assertLessEqual(len(auth), 4)
         for k, (chars, pct) in auth.items():
             with self.subTest(user=k):

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1152676?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: master
Gerrit-Change-Id: I032d00a6959bd97260783d65f01df8159af3bf5b
Gerrit-Change-Number: 1152676
Gerrit-PatchSet: 2
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