jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1008819?usp=email )
Change subject: [doc] remove bugs.python.org bug tracker ......................................................................
[doc] remove bugs.python.org bug tracker
The Python bug tracker is at https://github.com/python/cpython/issues now.
Change-Id: Ia81c431b567601829c9c72454f219613e4cd5854 --- M docs/conf.py M pywikibot/diff.py 2 files changed, 14 insertions(+), 4 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/docs/conf.py b/docs/conf.py index b4dac2b..050b0ad 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -492,8 +492,6 @@ # MediaWiki API 'api': ('https://www.mediawiki.org/wiki/API:%s', 'API:%s'), # Python bug tracker - 'bug': ('https://bugs.python.org/issue%s', 'Python issue %s'), - # Python bug tracker 'issue': ('https://github.com/python/cpython/issues/%s', 'Python issue %s'), # Phabricator tasks diff --git a/pywikibot/diff.py b/pywikibot/diff.py index 80fc5c6..fe9091c 100644 --- a/pywikibot/diff.py +++ b/pywikibot/diff.py @@ -1,6 +1,6 @@ """Diff module.""" # -# (C) Pywikibot team, 2014-2023 +# (C) Pywikibot team, 2014-2024 # # Distributed under the terms of the MIT license. # @@ -89,7 +89,7 @@ """Generator of diff text for this hunk, without formatting.
Check each line ends with line feed to prevent behaviour like - :bug:`2142` + :issue:`46395` """ def check_line(line: str) -> str: r"""Make sure each line ends with '\n'."""
pywikibot-commits@lists.wikimedia.org