jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/501894 )
Change subject: [cleanup] Remove unimplemented option
......................................................................
[cleanup] Remove unimplemented option
-overwrite option is not implemented yet.
Task T220305 is created for this feature.
Change-Id: I61cbaa0fb1084fd25e5b613c7a7de043fbb0a47c
---
M scripts/create_categories.py
1 file changed, 2 insertions(+), 5 deletions(-)
Approvals:
Dvorapa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/create_categories.py b/scripts/create_categories.py
index 3111b86..e2dbb25 100755
--- a/scripts/create_categories.py
+++ b/scripts/create_categories.py
@@ -10,8 +10,6 @@
-always Don't ask, just do the edit.
--overwrite (not implemented yet).
-
-parent The name of the parent category.
-basename The base to be used for the new category names.
@@ -32,8 +30,8 @@
"""
#
# (C) Multichill, 2011
-# (C) xqt, 2011-2018
-# (c) Pywikibot team, 2013-2018
+# (C) xqt, 2011-2019
+# (c) Pywikibot team, 2013-2019
#
# Distributed under the terms of the MIT license.
#
@@ -71,7 +69,6 @@
ignore_save_related_errors=True,
ignore_server_errors=True)
else:
- # FIXME: Add overwrite option
pywikibot.output('{} already exists, skipping'
.format(newpage.title()))
--
To view, visit
https://gerrit.wikimedia.org/r/501894
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I61cbaa0fb1084fd25e5b613c7a7de043fbb0a47c
Gerrit-Change-Number: 501894
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Multichill <maarten(a)mdammers.nl>
Gerrit-Reviewer: jenkins-bot (75)