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

Change subject: Move copyright headers above module docstrings
......................................................................

Move copyright headers above module docstrings

Bug: T416673
Change-Id: I07c9a9c3d9d76883f39d60500fe652a738377376
---
M pywikibot/cosmetic_changes.py
M pywikibot/interwiki_graph.py
M scripts/archivebot.py
M scripts/checkimages.py
M scripts/welcome.py
5 files changed, 26 insertions(+), 21 deletions(-)

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




diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py
index 5336817..6466ad6 100644
--- a/pywikibot/cosmetic_changes.py
+++ b/pywikibot/cosmetic_changes.py
@@ -1,3 +1,8 @@
+#
+# (C) Pywikibot team, 2006-2026
+#
+# Distributed under the terms of the MIT license.
+#
 """This module can do slight modifications to tidy a wiki page's source code.

 The changes are not supposed to change the look of the rendered wiki page.
@@ -49,11 +54,7 @@
     cosmetic_changes_deny_script += ['your_script_name_1',
                                      'your_script_name_2']
 """
-#
-# (C) Pywikibot team, 2006-2026
-#
-# Distributed under the terms of the MIT license.
-#
+
 from __future__ import annotations

 import re
diff --git a/pywikibot/interwiki_graph.py b/pywikibot/interwiki_graph.py
index 04596c1..dcabedb 100644
--- a/pywikibot/interwiki_graph.py
+++ b/pywikibot/interwiki_graph.py
@@ -1,9 +1,10 @@
-"""Module with the Graphviz drawing calls."""
 #
 # (C) Pywikibot team, 2006-2026
 #
 # Distributed under the terms of the MIT license.
 #
+"""Module with the Graphviz drawing calls."""
+
 from __future__ import annotations

 import itertools
diff --git a/scripts/archivebot.py b/scripts/archivebot.py
index 9b80a85..b1261c7 100755
--- a/scripts/archivebot.py
+++ b/scripts/archivebot.py
@@ -1,4 +1,9 @@
 #!/usr/bin/env python3
+#
+# (C) Pywikibot team, 2006-2026
+#
+# Distributed under the terms of the MIT license.
+#
 """archivebot.py - Discussion page archiving bot.

 usage:
@@ -187,11 +192,7 @@
 .. versionchanged:: 11.0
    The ``-namespace`` option is now respected by ``-page`` option.
 """
-#
-# (C) Pywikibot team, 2006-2026
-#
-# Distributed under the terms of the MIT license.
-#
+
 from __future__ import annotations

 import datetime
diff --git a/scripts/checkimages.py b/scripts/checkimages.py
index 240a576..ea54ed9 100755
--- a/scripts/checkimages.py
+++ b/scripts/checkimages.py
@@ -1,4 +1,9 @@
 #!/usr/bin/env python3
+#
+# (C) Pywikibot team, 2006-2026
+#
+# Distributed under the terms of the MIT license.
+#
 """Script to check recently uploaded files.

 This script checks if a file description is present and if there are
@@ -74,11 +79,7 @@
 .. versionchanged:: 8.4
    Welcome messages are imported from :mod:`scripts.welcome` script.
 """
-#
-# (C) Pywikibot team, 2006-2026
-#
-# Distributed under the terms of the MIT license.
-#
+
 from __future__ import annotations

 import collections
diff --git a/scripts/welcome.py b/scripts/welcome.py
index b96e8b4..c6ffb81 100755
--- a/scripts/welcome.py
+++ b/scripts/welcome.py
@@ -1,4 +1,9 @@
 #!/usr/bin/env python3
+#
+# (C) Pywikibot team, 2006-2026
+#
+# Distributed under the terms of the MIT license.
+#
 """Script to welcome new users.

 This script works out of the box for Wikis that have been defined in the
@@ -170,11 +175,7 @@
 Some words, like "Administrator" or "Dio" (God in italian) or "Jimbo"
 aren't badwords at all but can be used for some bad-nickname.
 """
-#
-# (C) Pywikibot team, 2006-2026
-#
-# Distributed under the terms of the MIT license.
-#
+
 from __future__ import annotations

 import locale

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1238344?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: I07c9a9c3d9d76883f39d60500fe652a738377376
Gerrit-Change-Number: 1238344
Gerrit-PatchSet: 2
Gerrit-Owner: Stitipragyan barik <[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