jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
Archive scripts/cfd.py

The script is focused on the English Wikipedia, is not run there,
and would result in incorrect actions if it were.

Bug: T223826
Change-Id: I0ac56ab57456e0088f3a18d93c4eeabb646c8096
---
M docs/scripts/scripts.rst
M scripts/README.rst
R scripts/archive/cfd.py
M tests/script_tests.py
M tox.ini
5 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/docs/scripts/scripts.rst b/docs/scripts/scripts.rst
index 088b454..942a24a 100644
--- a/docs/scripts/scripts.rst
+++ b/docs/scripts/scripts.rst
@@ -61,11 +61,6 @@

.. automodule:: scripts.category_redirect

-scripts.cfd script
-------------------
-
-.. automodule:: scripts.cfd
-
scripts.checkimages script
--------------------------

diff --git a/scripts/README.rst b/scripts/README.rst
index b51e4fb..f07b822 100644
--- a/scripts/README.rst
+++ b/scripts/README.rst
@@ -46,10 +46,6 @@
+------------------------+---------------------------------------------------------+
| #censure.py | Bad word checker bot. |
+------------------------+---------------------------------------------------------+
- | cfd.py | Processes the categories for discussion working page. |
- | | It parses out the actions that need to be taken as a |
- | | result of CFD discussions and performs them. |
- +------------------------+---------------------------------------------------------+
| checkimages.py | Check recently uploaded files. Checks if a file |
| | description is present and if there are other problems |
| | in the image's description. |
@@ -262,6 +258,10 @@
+----------------------------------------------------------------------------------+
| archive | Scripts no longer maintained. |
+========================+=========================================================+
+ | cfd.py | Processes the categories for discussion working page. |
+ | | It parses out the actions that need to be taken as a |
+ | | result of CFD discussions and performs them. |
+ +------------------------+---------------------------------------------------------+
| featured.py | A robot to check feature articles. |
+------------------------+---------------------------------------------------------+

diff --git a/scripts/cfd.py b/scripts/archive/cfd.py
similarity index 100%
rename from scripts/cfd.py
rename to scripts/archive/cfd.py
diff --git a/tests/script_tests.py b/tests/script_tests.py
index 1ba774e..033991e 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -94,7 +94,6 @@
'casechecker',
'catall',
'category_redirect',
- 'cfd',
'checkimages',
'clean_sandbox',
'disambredir',
diff --git a/tox.ini b/tox.ini
index 7e7c361..701a212 100644
--- a/tox.ini
+++ b/tox.ini
@@ -162,7 +162,6 @@
scripts/casechecker.py : N802, N803, N806, N815
scripts/category.py : N803, N806, N802
scripts/category_redirect.py : N803, N806, N802
- scripts/cfd.py : N803, N806, N802
scripts/checkimages.py : N801, N802, N803, N806, N816
scripts/clean_sandbox.py : N815, N816
scripts/commonscat.py : N802, N803, N806, N816

To view, visit change 609468. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0ac56ab57456e0088f3a18d93c4eeabb646c8096
Gerrit-Change-Number: 609468
Gerrit-PatchSet: 3
Gerrit-Owner: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged