jenkins-bot submitted this change.
[scripts] Restore unusedfiles.py due to pull request
https://github.com/wikimedia/pywikibot/pull/36/commits/6ba08da0f83681a1cd98dcf1aa42292f04d9bdb4
Change-Id: Id66681c1e6515bfb5da3a5a2bda15c5644e34744
---
M docs/scripts/scripts.rst
M scripts/README.rst
R scripts/unusedfiles.py
M tests/script_tests.py
4 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/docs/scripts/scripts.rst b/docs/scripts/scripts.rst
index 0877531..f202aa4 100644
--- a/docs/scripts/scripts.rst
+++ b/docs/scripts/scripts.rst
@@ -155,6 +155,11 @@
.. automodule:: scripts.replace
+scripts.replicate\_wiki script
+------------------------------
+
+.. automodule:: scripts.replicate_wiki
+
scripts.revertbot script
------------------------
@@ -195,6 +200,11 @@
.. automodule:: scripts.transferbot
+scripts.unusedfiles script
+--------------------------
+
+.. automodule:: scripts.unusedfiles
+
scripts.upload script
---------------------
diff --git a/scripts/README.rst b/scripts/README.rst
index 2e46e81..5835fbf 100644
--- a/scripts/README.rst
+++ b/scripts/README.rst
@@ -115,6 +115,9 @@
+------------------------+---------------------------------------------------------+
| transferbot.py | Transfers pages from a source wiki to a target wiki |
+------------------------+---------------------------------------------------------+
+ | unusedfiles.py | Bot appends some text to all unused images and other |
+ | | text to the respective uploaders. |
+ +------------------------+---------------------------------------------------------+
| upload.py | upload an image to a wiki. |
+------------------------+---------------------------------------------------------+
| version.py | Outputs Pywikibot's revision number, Python's version |
@@ -228,9 +231,6 @@
+------------------------+---------------------------------------------------------+
| unlink.py | This bot unlinks a page on every page that links to it. |
+------------------------+---------------------------------------------------------+
- | unusedfiles.py | Bot appends some text to all unused images and other |
- | | text to the respective uploaders. |
- +------------------------+---------------------------------------------------------+
| watchlists.py | Information retrieved by watchlist.py will be stored |
+------------------------+---------------------------------------------------------+
| wikisourcetext.py | This bot applies to Wikisource sites to upload text. |
diff --git a/scripts/archive/unusedfiles.py b/scripts/unusedfiles.py
similarity index 100%
rename from scripts/archive/unusedfiles.py
rename to scripts/unusedfiles.py
diff --git a/tests/script_tests.py b/tests/script_tests.py
index c9ee80f..7968462 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -95,6 +95,7 @@
'noreferences',
'parser_function_count',
'shell',
+ 'unusedfiles',
'upload',
'welcome',
]
To view, visit change 666908. To unsubscribe, or for help writing mail filters, visit settings.