Skip to content

Commit

Permalink
Fix casing of Mediawiki
Browse files Browse the repository at this point in the history
Change-Id: I1fda8383117524ad2252c2891f73f3c1208c23e0
  • Loading branch information
reedy authored and xqt committed Jan 30, 2024
1 parent 7f34eec commit 2012f0c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/api_ref/logentries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
************************

.. automodule:: logentries
:synopsis: Objects representing Mediawiki log entries
:synopsis: Objects representing MediaWiki log entries
2 changes: 1 addition & 1 deletion pywikibot/data/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Interface to Mediawiki's api.php."""
"""Interface to MediaWiki's api.php."""
#
# (C) Pywikibot team, 2014-2024
#
Expand Down
2 changes: 1 addition & 1 deletion pywikibot/logentries.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Objects representing Mediawiki log entries."""
"""Objects representing MediaWiki log entries."""
#
# (C) Pywikibot team, 2007-2023
#
Expand Down
4 changes: 2 additions & 2 deletions pywikibot/proofreadpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def __str__(self) -> str:

class ProofreadPage(pywikibot.Page):

"""ProofreadPage page used in Mediawiki ProofreadPage extension."""
"""ProofreadPage page used in MediaWiki ProofreadPage extension."""

WITHOUT_TEXT = 0
NOT_PROOFREAD = 1
Expand Down Expand Up @@ -1068,7 +1068,7 @@ def __init__(self, **kwargs: Any) -> None:

class IndexPage(pywikibot.Page):

"""Index Page page used in Mediawiki ProofreadPage extension."""
"""Index Page page used in MediaWiki ProofreadPage extension."""

INDEX_TEMPLATE = ':MediaWiki:Proofreadpage_index_template'

Expand Down
2 changes: 1 addition & 1 deletion scripts/checkimages.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ def template_in_list(self) -> None:
"""
Check if template is in list.
The problem is the calls to the Mediawiki system because they can be
The problem is the calls to the MediaWiki system because they can be
pretty slow. While searching in a list of objects is really fast, so
first of all let's see if we can find something in the info that we
already have, then make a deeper check.
Expand Down
2 changes: 1 addition & 1 deletion scripts/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def _handle_offset(val) -> None:
except ValueError:
# upon request, we could check for software version here
raise ValueError(fill(
'Mediawiki has changed, -offset:# is not supported anymore, but '
'MediaWiki has changed, -offset:# is not supported anymore, but '
'-offset:TIMESTAMP is, assuming TIMESTAMP is yyyymmddhhmmss or '
'yyyymmdd. -timeoffset is now also supported. Please read this '
'script source header for documentation.'))
Expand Down

0 comments on commit 2012f0c

Please sign in to comment.