Build Update for jayvdb/pywikibot-core
-------------------------------------
Build: #169
Status: Passed
Duration: 33 minutes and 55 seconds
Commit: 67593d5 (test-imagelist-bug-logging)
Author: John Vandenberg
Message: Use nose for py3.3 en.wp travis build
nose captures logging and displays it when a test fails.
This may help with identification of the problem being
investigated at T75120.
Also allow the test method being tracked as T73971 as
there are strong indicators that the two issues are
linked.
Bug: T75120
Change-Id: I1dd682236554577be884cc81e51d00d09f524e4d
View the changeset: https://github.com/jayvdb/pywikibot-core/compare/d020ab6ebe74^...67593d52fe…
View the full build log and details: https://travis-ci.org/jayvdb/pywikibot-core/builds/43835563
--
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: #168
Status: Passed
Duration: 31 minutes and 21 seconds
Commit: a11b705 (use-nose-all-builds)
Author: John Vandenberg
Message: Move templatesWithParams from BasePage into Page
templatesWithParams has no suitable implementation for a WikibasePage,
and causes exceptions when mwparserfromhell is not available and
textlib.extract_templates_and_params_regex is used as a fallback.
Bug: T71664
Change-Id: Ia225ba19426c8819a23aa3c9a803d58302bf796e
View the changeset: https://github.com/jayvdb/pywikibot-core/compare/a887aff93c0a^...a11b7056ff…
View the full build log and details: https://travis-ci.org/jayvdb/pywikibot-core/builds/43830144
--
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: #167
Status: Passed
Duration: 29 minutes and 48 seconds
Commit: a518323 (review/merlijn_van_deen/bug/55882)
Author: Ricordisamoa
Message: use OrderedDict instead of builtin dict for params
to preserve their order
in both extract_templates_and_params()
and extract_templates_and_params_regex()
Bug: 55882
Change-Id: I923e8b188f5212eaa531337617472f4601a43652
Original-Change-Id: I4253824897f3fe4849ad09ed7e7931cf97e6e4a3
View the changeset: https://github.com/jayvdb/pywikibot-core/commit/a51832320a85
View the full build log and details: https://travis-ci.org/jayvdb/pywikibot-core/builds/43805173
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications
Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #1781
Status: Passed
Duration: 29 minutes and 11 seconds
Commit: 30fd5cf (master)
Author: Ricordisamoa
Message: Replace compat.query.GetData()
It has been marked as deprecated since its addition by
Merlijn van Deen back in 2012 (commit
6dfa2cfff5e2f85cee51018250b92424b1ce751b).
The only bundled script using it, blockreview.py,
has been updated to use APISite.allusers() instead.
split from Gerrit change I7547897fd8719836c9eaa2a2b313c552e645a519
Change-Id: Idbb143835a2df1b8de994bb84631999a898d9dd4
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/fc13f835cb85...30fd5cff…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/43794772
--
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: Replace compat.query.GetData()
......................................................................
Replace compat.query.GetData()
It has been marked as deprecated since its addition by
Merlijn van Deen back in 2012 (commit
6dfa2cfff5e2f85cee51018250b92424b1ce751b).
The only bundled script using it, blockreview.py,
has been updated to use APISite.allusers() instead.
split from Gerrit change I7547897fd8719836c9eaa2a2b313c552e645a519
Change-Id: Idbb143835a2df1b8de994bb84631999a898d9dd4
---
M scripts/blockreview.py
1 file changed, 2 insertions(+), 12 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/blockreview.py b/scripts/blockreview.py
index 5243d2c..d776a4c 100644
--- a/scripts/blockreview.py
+++ b/scripts/blockreview.py
@@ -23,7 +23,6 @@
#
import pywikibot
-from pywikibot.compat import query
from pywikibot import i18n
@@ -245,20 +244,11 @@
}
def SysopGenerator(self):
- params = {
- 'action': 'query',
- 'list': 'allusers',
- 'augroup': 'sysop',
- 'auprop': 'groups',
- 'aulimit': 500,
- }
- data = query.GetData(params, self.site)
- for user in data['query']['allusers']:
+ for user in self.site.allusers(group='sysop'):
# exclude sysop bots
if 'bot' not in user['groups']:
# yield the sysop talkpage
- yield pywikibot.Page(self.site, user['name'],
- ns=3)
+ yield pywikibot.Page(self.site, user['name'], ns=3)
def load(self, page):
"""Load the given page and return the page text."""
--
To view, visit https://gerrit.wikimedia.org/r/179085
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idbb143835a2df1b8de994bb84631999a898d9dd4
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
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: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: jenkins-bot <>
Build Update for jayvdb/pywikibot-core
-------------------------------------
Build: #164
Status: Errored
Duration: 40 minutes and 23 seconds
Commit: 33de47f (test-allpages-langlinks)
Author: John Vandenberg
Message: Re-enable allpages langlinks tests
A set of allpages tests have been commented out due to performing badly,
in 2008. Of those, filtering for langlinks is now a database error
which has been logged as T78276, and is marked as an allowed_failure
due to it working correctly on very small sites.
The other commented out test filters for no langlinks and now works well.
Change-Id: I62e3adadf24c8dc53e548376d59a2924858be615
View the changeset: https://github.com/jayvdb/pywikibot-core/commit/33de47f4f43e
View the full build log and details: https://travis-ci.org/jayvdb/pywikibot-core/builds/43727251
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications