jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/680350 )
Change subject: [doc] Update documentation ......................................................................
[doc] Update documentation
Some improvements to doc: * http --> https and update URL * api --> API * Full stop not part of the URL * arabic --> Arabic * pypi --> PyPI ** See https://pypi.org/
Change-Id: I435139a09184e1d13f57b6d4b3ff058490b299e3 --- M CONTENT.rst M pywikibot/cosmetic_changes.py M scripts/archive/data_ingestion.py M scripts/archive/flickrripper.py 4 files changed, 6 insertions(+), 6 deletions(-)
Approvals: Xqt: Looks good to me, approved DannyS712: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/CONTENT.rst b/CONTENT.rst index f9a1b5c..230992c 100644 --- a/CONTENT.rst +++ b/CONTENT.rst @@ -20,7 +20,7 @@ +---------------------------+-----------------------------------------------------------+ | generate_user_files.py | Creates user-config.py or user-fixes.py | +---------------------------+-----------------------------------------------------------+ - | HISTORY.rst | pypi version history file | + | HISTORY.rst | PyPI version history file | +---------------------------+-----------------------------------------------------------+ | LICENSE | Reference to the MIT license | +---------------------------+-----------------------------------------------------------+ @@ -32,7 +32,7 @@ +---------------------------+-----------------------------------------------------------+ | requirements.txt | General PIP requirements file | +---------------------------+-----------------------------------------------------------+ - | ROADMAP.rst | pypi version roadmap file | + | ROADMAP.rst | PyPI version roadmap file | +---------------------------+-----------------------------------------------------------+ | setup.py | Installer script for Pywikibot framework | +---------------------------+-----------------------------------------------------------+ diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py index f6f0929..3c085ee 100755 --- a/pywikibot/cosmetic_changes.py +++ b/pywikibot/cosmetic_changes.py @@ -968,7 +968,7 @@ return text
def fixArabicLetters(self, text): - """Fix arabic and persian letters.""" + """Fix Arabic and Persian letters.""" if self.site.code not in ['ckb', 'fa']: return text
diff --git a/scripts/archive/data_ingestion.py b/scripts/archive/data_ingestion.py index 10a7cb4..b6111dd 100755 --- a/scripts/archive/data_ingestion.py +++ b/scripts/archive/data_ingestion.py @@ -164,7 +164,7 @@ """ Find duplicates of the photo.
- Calculates the SHA1 hash and asks the MediaWiki api + Calculates the SHA1 hash and asks the MediaWiki API for a list of duplicates.
TODO: Add exception handling, fix site thing diff --git a/scripts/archive/flickrripper.py b/scripts/archive/flickrripper.py index 758b77c..4fdfaeb 100755 --- a/scripts/archive/flickrripper.py +++ b/scripts/archive/flickrripper.py @@ -42,7 +42,7 @@ Tkdialog = _tk_error
try: - import flickrapi # see: http://stuvel.eu/projects/flickrapi + import flickrapi # see: https://stuvel.eu/software/flickrapi/ except ImportError as e: flickrapi = e
@@ -144,7 +144,7 @@
def getFlinfoDescription(photo_id): """ - Get the description from http://wikipedia.ramselehof.de/flinfo.php. + Get the description from http://wikipedia.ramselehof.de/flinfo.php
TODO: Add exception handling, try a couple of times """
pywikibot-commits@lists.wikimedia.org