jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/683868 )

Change subject: [doc] Update documentation
......................................................................

[doc] Update documentation

* Update URL
** http --> https
** http://php.net redirects to https://www.php.net
* non-ascii --> non-ASCII
** See https://tools.ietf.org/html/rfc7997
* unicode --> Unicode
* Full stop is not part of URL

Change-Id: Ic37d53326536b9e2369ac2ef4038c2205ea572e7
---
M pywikibot/pagegenerators.py
M pywikibot/site/_apisite.py
M tests/djvu_tests.py
M tests/tools_formatter_tests.py
4 files changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py
index 356588b..03f8f55 100644
--- a/pywikibot/pagegenerators.py
+++ b/pywikibot/pagegenerators.py
@@ -2666,7 +2666,7 @@
         FROM page
         WHERE page_namespace = 0;

-    See https://www.mediawiki.org/wiki/Manual:Pywikibot/MySQL.
+    See https://www.mediawiki.org/wiki/Manual:Pywikibot/MySQL

     @param query: MySQL query to execute
     @param site: Site object
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index d5aa452..0ba3f6b 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -2324,11 +2324,11 @@
             'never', 'infinite', 'indefinite' it never does. If the value is
             given as a str it's parsed by php's strtotime function:

-                U{http://php.net/manual/en/function.strtotime.php}
+                U{https://www.php.net/manual/en/function.strtotime.php}

             The relative format is described there:

-                U{http://php.net/manual/en/datetime.formats.relative.php}
+                U{https://www.php.net/manual/en/datetime.formats.relative.php}

             It is recommended to not use a str if possible to be
             independent of the API.
diff --git a/tests/djvu_tests.py b/tests/djvu_tests.py
index 1ca4bab..4fe8c4d 100644
--- a/tests/djvu_tests.py
+++ b/tests/djvu_tests.py
@@ -26,7 +26,7 @@
     net = False

     file_djvu_not_existing = join_djvu_data_path('not_existing.djvu')
-    file_djvu = join_djvu_data_path('myfilé.djvu')  # test non-ascii name
+    file_djvu = join_djvu_data_path('myfilé.djvu')  # test non-ASCII name
     file_djvu_wo_text = join_djvu_data_path('myfile_wo_text.djvu')
     test_txt = 'A file with non-ASCII characters, \nlike é or ç'

diff --git a/tests/tools_formatter_tests.py b/tests/tools_formatter_tests.py
index 046f830..c68ac73 100644
--- a/tests/tools_formatter_tests.py
+++ b/tests/tools_formatter_tests.py
@@ -35,7 +35,7 @@

     class DummyUnicode:

-        """Dummy class that __str__ returns a non-ascii unicode value."""
+        """Dummy class that __str__ returns a non-ASCII Unicode value."""

         def __str__(self):
             """Return ä."""

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/683868
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ic37d53326536b9e2369ac2ef4038c2205ea572e7
Gerrit-Change-Number: 683868
Gerrit-PatchSet: 5
Gerrit-Owner: Meno25 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to