Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #1845
Status: Passed
Duration: 41 minutes and 33 seconds
Commit: bb85012 (master)
Author: John Vandenberg
Message: Add tests for XML export v0.10
The XML unit tests use XML data files using export v0.3.
MediaWiki export format is currently version v0.10.
Moved XML export v0.3 data files into tests/data/xml subdirectory.
Add allowed_failure test for edit summary not being decoded.
Bug: T85334
Change-Id: I82fccdafcf302d77dd3c6c5ce7713e72a4412e5c
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/95230efd39b8...bb850121…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/45137921
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications
Build Update for jayvdb/pywikibot-core
-------------------------------------
Build: #173
Status: Passed
Duration: 40 minutes and 55 seconds
Commit: 62f53e6 (pagegen-ns-name)
Author: John Vandenberg
Message: Allow pagegen filtering using namespace names
The ability to filter using namespace names was removed from the
isbn script in 31c07b2, but still exists in other scripts.
Namespace names are more user-friendly as users interact with
these names regularly in titles, while the namespace numbers are
less known, especially namespaces which are not frequently used.
NamespaceFilterPageGenerator behaviour when site is not provided
is modified from 'no validation of namespaces' to 'validation using
only the builtin namespaces'.
Equality of Namespace(0) with None is no longer supported.
Change-Id: Ib6caa11577546e14a69bbd898860843d69d4efb0
View the changeset: https://github.com/jayvdb/pywikibot-core/compare/40eded093856^...62f53e6d21…
View the full build log and details: https://travis-ci.org/jayvdb/pywikibot-core/builds/44954963
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications
jenkins-bot has submitted this change and it was merged.
Change subject: LogeventsPageGenerator: skip problematic entries
......................................................................
LogeventsPageGenerator: skip problematic entries
If there is an exception while instantiating a Page for a LogEntry,
report the error and skip it.
Bug: T78152
Change-Id: I2586dbd18b346f8f2f9c78dd6f50d96b2bf6327c
---
M pywikibot/pagegenerators.py
1 file changed, 7 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py
index 4d3e487..2294b46 100644
--- a/pywikibot/pagegenerators.py
+++ b/pywikibot/pagegenerators.py
@@ -759,7 +759,13 @@
site = pywikibot.Site()
for entry in site.logevents(total=total, logtype=logtype,
user=user, namespace=namespace):
- yield entry.title()
+ try:
+ yield entry.title()
+ except KeyError as e:
+ pywikibot.warning(u'LogeventsPageGenerator: '
+ u'failed to load page for %r; skipping'
+ % entry.data)
+ pywikibot.exception(e)
@deprecated("LogeventsPageGenerator")
--
To view, visit https://gerrit.wikimedia.org/r/181255
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2586dbd18b346f8f2f9c78dd6f50d96b2bf6327c
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>
Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #1842
Status: Passed
Duration: 44 minutes and 6 seconds
Commit: 23c6831 (master)
Author: Fabian Neundorf
Message: [FIX] replace: Use correct notation for format
When supplying multiple values to format via an iterable (e.g. a tuple)
it must be preceded by an asterisk to use each value as a positional
value.
Change-Id: I5ae457b7f9a9670b4f2c25e42c2ae45e41ea6083
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/812dbd9ea1e3...23c68312…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/44834920
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications
jenkins-bot has submitted this change and it was merged.
Change subject: use the new version of 'archivebot-older-than'
......................................................................
use the new version of 'archivebot-older-than'
with the 'duration' parameter
per mailing list:
http://comments.gmane.org/gmane.comp.python.pywikipediabot.general/14160
corresponding change in the i18n file:
I507b0b38a87fe8e97b850a71d9c1764ec16fbeb1
backport of Ie4699550def701a728abaca3e62287e1c36ce3b0 from core
Change-Id: Ifefc1c289120edd62747480cee497f846e6810c8
---
M archivebot.py
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/archivebot.py b/archivebot.py
index c4fe7c4..7c80de0 100644
--- a/archivebot.py
+++ b/archivebot.py
@@ -412,7 +412,9 @@
#return 'unsigned'
maxage = str2time(reT.group(1))
if self.now - self.timestamp > maxage:
- return message('archivebot-older-than') + ' ' + reT.group(1)
+ return i18n.twtranslate(Site.language,
+ 'archivebot-older-than',
+ {'duration': reT.group(1)})
return ''
--
To view, visit https://gerrit.wikimedia.org/r/181407
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifefc1c289120edd62747480cee497f846e6810c8
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: jenkins-bot <>