Skip to content

Commit 2012f0c

Browse files
reedyxqt
authored andcommitted
Fix casing of Mediawiki
Change-Id: I1fda8383117524ad2252c2891f73f3c1208c23e0
1 parent 7f34eec commit 2012f0c

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/api_ref/logentries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
************************
44

55
.. automodule:: logentries
6-
:synopsis: Objects representing Mediawiki log entries
6+
:synopsis: Objects representing MediaWiki log entries

pywikibot/data/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Interface to Mediawiki's api.php."""
1+
"""Interface to MediaWiki's api.php."""
22
#
33
# (C) Pywikibot team, 2014-2024
44
#

pywikibot/logentries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Objects representing Mediawiki log entries."""
1+
"""Objects representing MediaWiki log entries."""
22
#
33
# (C) Pywikibot team, 2007-2023
44
#

pywikibot/proofreadpage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def __str__(self) -> str:
395395

396396
class ProofreadPage(pywikibot.Page):
397397

398-
"""ProofreadPage page used in Mediawiki ProofreadPage extension."""
398+
"""ProofreadPage page used in MediaWiki ProofreadPage extension."""
399399

400400
WITHOUT_TEXT = 0
401401
NOT_PROOFREAD = 1
@@ -1068,7 +1068,7 @@ def __init__(self, **kwargs: Any) -> None:
10681068

10691069
class IndexPage(pywikibot.Page):
10701070

1071-
"""Index Page page used in Mediawiki ProofreadPage extension."""
1071+
"""Index Page page used in MediaWiki ProofreadPage extension."""
10721072

10731073
INDEX_TEMPLATE = ':MediaWiki:Proofreadpage_index_template'
10741074

scripts/checkimages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ def template_in_list(self) -> None:
11681168
"""
11691169
Check if template is in list.
11701170
1171-
The problem is the calls to the Mediawiki system because they can be
1171+
The problem is the calls to the MediaWiki system because they can be
11721172
pretty slow. While searching in a list of objects is really fast, so
11731173
first of all let's see if we can find something in the info that we
11741174
already have, then make a deeper check.

scripts/welcome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ def _handle_offset(val) -> None:
926926
except ValueError:
927927
# upon request, we could check for software version here
928928
raise ValueError(fill(
929-
'Mediawiki has changed, -offset:# is not supported anymore, but '
929+
'MediaWiki has changed, -offset:# is not supported anymore, but '
930930
'-offset:TIMESTAMP is, assuming TIMESTAMP is yyyymmddhhmmss or '
931931
'yyyymmdd. -timeoffset is now also supported. Please read this '
932932
'script source header for documentation.'))

0 commit comments

Comments
 (0)