jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/919790 )
Change subject: [doc] some comments for docs/conf.py
......................................................................
[doc] some comments for docs/conf.py
Change-Id: Iff6958b215b676a79b8e88f115fbdaa1d266f9aa
---
M docs/conf.py
1 file changed, 20 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py
index 42e9e44..d6d1a17 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -500,7 +500,7 @@
def pywikibot_docstring_fixups(app, what, name, obj, options, lines):
- """Fixup docstrings."""
+ """Remove plain 'Initializer.' docstring."""
if what not in ('class', 'exception'):
return
@@ -520,19 +520,27 @@
length = 0
for index, line in enumerate(lines):
+ # highlight the first line
if index == 0: # highlight the first line
lines[0] = '**{}**'.format(line.strip('.'))
+
+ # add link for pagegenerators options
elif line == '¶ms;':
lines[index] = ('This script supports use of '
':py:mod:`pagegenerators` arguments.')
+
+ # add link for fixes
elif name == 'scripts.replace' and line == '&fixes-help;':
lines[index] = (' The available fixes are listed '
'in :py:mod:`pywikibot.fixes`.')
+
+ # replace cosmetic changes warning
elif name == 'scripts.cosmetic_changes' and line == '&warning;':
lines[index] = warning
+
+ # Initiate code block except pagegenerator arguments follows
elif (line.endswith(':') and not line.lstrip().startswith(':')
and 'Traceback (most recent call last)' not in line):
- # Initiate code block except pagegenerator arguments follows
for afterline in lines[index + 1:]:
if not afterline:
continue
@@ -540,6 +548,7 @@
lines[index] = line + ':'
break
+ # adjust options
if line.startswith('-'):
# Indent options
match = re.match(r'-[^ ]+? +', line)
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/919790
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iff6958b215b676a79b8e88f115fbdaa1d266f9aa
Gerrit-Change-Number: 919790
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/919788 )
Change subject: [doc] fix documentation for transferbot.py
......................................................................
[doc] fix documentation for transferbot.py
Change-Id: I94d643e53417bdad9c40dd90e1daeabdd1f6d163
---
M scripts/transferbot.py
1 file changed, 11 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/transferbot.py b/scripts/transferbot.py
index 2e3e7a9..726c007 100755
--- a/scripts/transferbot.py
+++ b/scripts/transferbot.py
@@ -39,7 +39,8 @@
python pwb.py transferbot -family:wikipedia -lang:en \
-tofamily:wiktionary -tolang:ar -page:"Template:Query service"
-Copy 10 wanted templates of German Wikipedia from English Wikipedia to German
+Copy 10 wanted templates of German Wikipedia from English Wikipedia to German:
+
python pwb.py transferbot -family:wikipedia -lang:en \
-tolang:de -wantedtemplates:10 -target
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/919788
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I94d643e53417bdad9c40dd90e1daeabdd1f6d163
Gerrit-Change-Number: 919788
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/919453 )
Change subject: [doc] Update ROADMAP.rst and CHANGELOG.rst
......................................................................
[doc] Update ROADMAP.rst and CHANGELOG.rst
Change-Id: I0d56d52ff9da727d869da4644f9c4a0890cf0e55
---
M ROADMAP.rst
M scripts/CHANGELOG.rst
2 files changed, 18 insertions(+), 0 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 25590d5..b6e1a2a 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,10 @@
Current release
---------------
+* Use ``build`` instead of ``setuptools.setup()`` to build the distribution
+* Raise ``ConnectionError`` on ``requests.ReadTimeout`` in :func:`comms.http.error_handling_callback`
+* Raise :exc:`exceptions.ServerError` on ``requests.ReadTimeout`` in :func:`comms.http.error_handling_callback`
+* Do not evaluate :func:`pywikibot.Site` with dict.pop() as default value (:phab:`T335720`)
* L10N updates
* :class:`family.Family` class was rewritten. ``obsolete.setter`` was removed,
:meth:`family.Family.interwiki_replacements` returns an invariant mapping,
diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst
index 34f96c8..858ce82 100644
--- a/scripts/CHANGELOG.rst
+++ b/scripts/CHANGELOG.rst
@@ -4,6 +4,11 @@
8.2.0
-----
+archivebot
+~~~~~~~~~~
+
+* KeyboardInterrupt was enabled for -async option
+
replicate_wiki
~~~~~~~~~~~~~~
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/919453
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0d56d52ff9da727d869da4644f9c4a0890cf0e55
Gerrit-Change-Number: 919453
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged