jenkins-bot submitted this change.

View Change

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

* mediawiki --> MediaWiki
* Update redirected URLs

Change-Id: Ifc0fbd3f147cf1bcb6abd8c0f70126ea464b7f24
---
M pywikibot/data/api.py
M pywikibot/diff.py
M scripts/archivebot.py
M tests/date_tests.py
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index 733ef13..4974223 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -2283,7 +2283,7 @@
* list=alldeletedrevisions

More info:
- https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2018-August/000140.html
+ https://lists.wikimedia.org/hyperkitty/list/mediawiki-api-announce@lists.wikimedia.org/message/AXO4G4OOMTG7CEUU5TGAWXBI2LD4G3BC/
"""
if self.site.mw_version < '1.32':
return
diff --git a/pywikibot/diff.py b/pywikibot/diff.py
index 13eea46..366b268 100644
--- a/pywikibot/diff.py
+++ b/pywikibot/diff.py
@@ -584,7 +584,7 @@
Site.compare() returns HTML that is useful for displaying on a page.
Here we use BeautifulSoup to get the un-HTML-ify the context of changes.
Finally we present the added and deleted contexts.
- @param compare_string: HTML string from mediawiki API
+ @param compare_string: HTML string from MediaWiki API
@return: deleted and added list of contexts
"""
from bs4 import BeautifulSoup
diff --git a/scripts/archivebot.py b/scripts/archivebot.py
index 7de2476..f3c2370 100755
--- a/scripts/archivebot.py
+++ b/scripts/archivebot.py
@@ -73,7 +73,7 @@
of the year. So up to three days are still counted as the year before.

See also:
- - http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm
+ - https://webspace.science.uu.nl/~gent0113/calendar/isocalendar.htm
- https://docs.python.org/3.4/library/datetime.html#datetime.date.isocalendar

Options (may be omitted):
diff --git a/tests/date_tests.py b/tests/date_tests.py
index 3facf6d..d76989f 100644
--- a/tests/date_tests.py
+++ b/tests/date_tests.py
@@ -66,7 +66,7 @@
net = True

def test_month_name_formats(self):
- """Test MonthName format for codes retrieved via mediawiki message."""
+ """Test MonthName format for codes retrieved via MediaWiki message."""
formatname = 'MonthName'
for code in date.formats['Cat_BirthsAD']:
convert = date.formats[formatname][code]

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

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