jenkins-bot merged this change.
[IMPR] Minor improvements of noreferences.py script
* Removed namespace param as it is already included
by pagegenerators
* Added default comment for non-default params
* Changed copyright for Pywikibot team
Change-Id: I0e4499d5c55e8c430340a5b64d9c478f9a35666d
---
M scripts/noreferences.py
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/scripts/noreferences.py b/scripts/noreferences.py
index 1287795..e096749 100755
--- a/scripts/noreferences.py
+++ b/scripts/noreferences.py
@@ -11,19 +11,15 @@
¶ms;
- -xml Retrieve information from a local XML dump (pages-articles
- or pages-meta-current, see https://dumps.wikimedia.org).
- Argument can also be given as "-xml:filename".
+Furthermore, the following command line parameters are supported:
- -namespace:n Number or name of namespace to process. The parameter can be
- used multiple times. It works in combination with all other
- parameters, except for the -start parameter. If you e.g.
- want to iterate over all categories starting at M, use
- -start:Category:M.
+-xml Retrieve information from a local XML dump (pages-articles
+ or pages-meta-current, see https://dumps.wikimedia.org).
+ Argument can also be given as "-xml:filename".
- -always Don't prompt you for each replacement.
+-always Don't prompt you for each replacement.
- -quiet Use this option to get less output
+-quiet Use this option to get less output
If neither a page title nor a page generator is given, it takes all pages from
the default maintenance category.
@@ -34,7 +30,7 @@
a list of affected articles
"""
#
-# (C) Pywikibot team, 2007-2018
+# (C) Pywikibot team, 2007-2019
#
# Distributed under the terms of the MIT license.
#
To view, visit change 491395. To unsubscribe, or for help writing mail filters, visit settings.