jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[doc] Update documentation

* windows --> Windows
* pywikibot --> Pywikibot

Change-Id: Icf140aa897dc2b10a2a328f574b57cf94e7e9bdc
---
M README.rst
M pywikibot/config2.py
M pywikibot/userinterfaces/win32_unicode.py
M pywikibot/version.py
M tests/tools_tests.py
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.rst b/README.rst
index f2eb8d4..4ebf00f 100644
--- a/README.rst
+++ b/README.rst
@@ -103,7 +103,7 @@

-------------------------------------------------------------------------------------------

-For more documentation on pywikibot see our `docs <https://doc.wikimedia.org/pywikibot/>`_.
+For more documentation on Pywikibot see our `docs <https://doc.wikimedia.org/pywikibot/>`_.

.. include:: pywikibot/DIRECTORIES.rst

diff --git a/pywikibot/config2.py b/pywikibot/config2.py
index f137fd1..3c5e45a 100644
--- a/pywikibot/config2.py
+++ b/pywikibot/config2.py
@@ -1040,7 +1040,7 @@
_ConfigurationDeprecationWarning)

# If we cannot auto-detect the console encoding (e.g. when piping data)
-# assume utf-8. On Linux, this will typically be correct; on windows,
+# assume utf-8. On Linux, this will typically be correct; on Windows,
# this can be an issue when piping through more. However, the behavior
# when redirecting to a file utf-8 is more reasonable.

diff --git a/pywikibot/userinterfaces/win32_unicode.py b/pywikibot/userinterfaces/win32_unicode.py
index 79bdb99..9654a87 100755
--- a/pywikibot/userinterfaces/win32_unicode.py
+++ b/pywikibot/userinterfaces/win32_unicode.py
@@ -3,7 +3,7 @@
# (C) Pywikibot team, 2012-2018
#
##############################################
-# Support for unicode in windows cmd.exe
+# Support for unicode in Windows cmd.exe
# Posted on Stack Overflow [1], available under CC-BY-SA 3.0 [2]
#
# Question: "Windows cmd encoding change causes Python crash" [3] by Alex [4],
diff --git a/pywikibot/version.py b/pywikibot/version.py
index a71772b..ef44279 100644
--- a/pywikibot/version.py
+++ b/pywikibot/version.py
@@ -248,7 +248,7 @@
try:
subprocess.Popen([cmd], stdout=subprocess.PIPE).communicate()
except OSError:
- # some windows git versions provide git.cmd instead of git.exe
+ # some Windows git versions provide git.cmd instead of git.exe
cmd = 'git.cmd'

with open(os.path.join(_program_dir, '.git/config'), 'r') as f:
diff --git a/tests/tools_tests.py b/tests/tools_tests.py
index a5da99d..e2c7e98 100644
--- a/tests/tools_tests.py
+++ b/tests/tools_tests.py
@@ -643,7 +643,7 @@
r"""Test calculator of sha of a file.

There are two possible hash values for each test. The second one is for
- files with windows line endings (\r\n).
+ files with Windows line endings (\r\n).

"""


To view, visit change 682220. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Icf140aa897dc2b10a2a328f574b57cf94e7e9bdc
Gerrit-Change-Number: 682220
Gerrit-PatchSet: 12
Gerrit-Owner: Meno25 <meno25mail@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged