jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/539923 )
Change subject: [bugfix] Fix typos in several script docs ......................................................................
[bugfix] Fix typos in several script docs
Change-Id: I52d0d08069620906d604fdcb31636a290bbb0e6e --- M scripts/coordinate_import.py M scripts/newitem.py 2 files changed, 5 insertions(+), 5 deletions(-)
Approvals: Framawiki: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/coordinate_import.py b/scripts/coordinate_import.py index 5e4fe61..5e73f17 100755 --- a/scripts/coordinate_import.py +++ b/scripts/coordinate_import.py @@ -22,8 +22,8 @@ -namespace:0 -transcludes:Infobox_stazione_ferroviaria
You can also run over a set of items on the repo without coordinates and -try to import them from any connected page. To do this, you need to -explicitly provide the repo as the site using -lang a -family arguments. +try to import them from any connected page. To do this, you have to +explicitly provide the repo as the site using -lang and -family arguments. Example:
python pwb.py coordinate_import -lang:wikidata -family:wikidata \ diff --git a/scripts/newitem.py b/scripts/newitem.py index 956d287..712b71e 100755 --- a/scripts/newitem.py +++ b/scripts/newitem.py @@ -5,7 +5,7 @@
* When was the (Wikipedia) page created? * When was the last edit on the page? -* Does the page contain interwiki's? +* Does the page contain interwikis?
This script understands various command-line arguments:
@@ -16,7 +16,7 @@ created.
-touch Do a null edit on every page which has a wikibase item. - Be careful, this option can trigger edit rates or captachas + Be careful, this option can trigger edit rates or captchas if your account is not autoconfirmed.
""" @@ -164,7 +164,7 @@ 'not in the autoconfirmed group on {}. Script ' 'will not touch pages linked to newly created ' 'items to avoid triggering edit rates or ' - 'captachas. Use -touch param to force this.' + 'captchas. Use -touch param to force this.' .format(user.username, bot.site.sitename))) bot.options['touch'] = False bot.run()
pywikibot-commits@lists.wikimedia.org