Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #1943
Status: Broken
Duration: 25 minutes and 17 seconds
Commit: f6d0f02 (master)
Author: John Vandenberg
Message: Fix test_preload_langlinks_count
Test currently uses len() on the generator instead of the page list,
causing TypeError: object of type 'PageGenerator' has no len().
Change-Id: I5c1a389926b35e2c86cdf9615338622929cb9077
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/dcd58cee536f...f6d0f021…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/48904382
--
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: [FIX] nowcommons: Correct method call
......................................................................
[FIX] nowcommons: Correct method call
In 9568cb654e1ce7fc67cbb6d4971094f3220e0ccc some pagegenerators were
replaced by method calls of the object, including changing from
ReferringPageGenerator to page.getReferences. But one parameter was
overlooked which is named differently in page.getReferences compared to
ReferringPageGenerator.
Change-Id: I7568960587b5392f54d1960315fdd53e9d98bfcc
---
M scripts/nowcommons.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/nowcommons.py b/scripts/nowcommons.py
index 3125fdb..a6270c5 100644
--- a/scripts/nowcommons.py
+++ b/scripts/nowcommons.py
@@ -271,7 +271,7 @@
nowCommonsTemplates = [pywikibot.Page(self.site, title,
ns=10)
for title in self.ncTemplates()]
- gens = [t.getReferences(followRedirects=True, namespaces=[6],
+ gens = [t.getReferences(follow_redirects=True, namespaces=[6],
onlyTemplateInclusion=True)
for t in nowCommonsTemplates]
gen = pg.CombinedPageGenerator(gens)
--
To view, visit https://gerrit.wikimedia.org/r/187677
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7568960587b5392f54d1960315fdd53e9d98bfcc
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <CommodoreFabianus(a)gmx.de>
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: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>
jenkins-bot has submitted this change and it was merged.
Change subject: Add 'six' as Python 3+ test dependency
......................................................................
Add 'six' as Python 3+ test dependency
Bug: T86640
Change-Id: I331a2251ab0de2e8216d4fd8876830ff67df6901
---
M setup.py
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
XZise: Looks good to me, approved
jenkins-bot: Verified
diff --git a/setup.py b/setup.py
index 99e27ca..0fb9d3a 100644
--- a/setup.py
+++ b/setup.py
@@ -93,6 +93,8 @@
# These extra dependencies enable some tests to run on all builds
if sys.version_info[0] == 2:
test_deps += extra_deps['csv']
+else:
+ test_deps += ['six']
test_deps += extra_deps['rcstream']
# late import of setuptools due to monkey-patching above
--
To view, visit https://gerrit.wikimedia.org/r/187589
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I331a2251ab0de2e8216d4fd8876830ff67df6901
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: jenkins-bot <>
jenkins-bot has submitted this change and it was merged.
Change subject: Replace all "pywikpedia" occurences with "pywikibot"
......................................................................
Replace all "pywikpedia" occurences with "pywikibot"
Change-Id: I25a082a2a40ff5f4e7e3dd5d36bf836dd850820f
---
M CONTENTS
1 file changed, 12 insertions(+), 12 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/CONTENTS b/CONTENTS
index 24abdb1..ff60416 100644
--- a/CONTENTS
+++ b/CONTENTS
@@ -9,7 +9,7 @@
To get started on proper usage of the bot framework, please refer to:
- http://www.mediawiki.org/wiki/Manual:Pywikipediabot
+ http://www.mediawiki.org/wiki/Manual:Pywikibot
The contents of the package are:
@@ -17,9 +17,9 @@
CONTENTS : THIS file
LICENSE : a reference to the MIT license
-README : Short info string used by PyWikipediaBot Nightlies
+README : Short info string used by Pywikibot Nightlies
setup.cfg : Setup file for automated tests of the package
-version : package version collected by PyWikipediaBot Nightlies,
+version : package version collected by Pywikibot Nightlies,
otherwise omitted
config.py : Configuration module containing all defaults. Do not
change these! See below how to change values.
@@ -40,7 +40,7 @@
family.py : Abstract superclass for wiki families. Subclassed by
the classes in the 'families' subdirectory.
gui.py : Some GUI elements for solve_disambiguation.py
-logindata.py : Use of pywikipedia as a library.
+logindata.py : Use of pywikibot as a library.
mysql_autoconnection.py: A small MySQL wrapper that catches dead MySQL
connections, and tries to reconnect them.
pagegenerators.py : Generator pages.
@@ -49,11 +49,11 @@
rciw.py : A IRC script to check for Recent Changes through IRC,
and to check for interwikis in those recently modified
articles.
-simple_family.py : Family file in conjunction with none-pywikipedia
+simple_family.py : Family file in conjunction with none-wikimedia
config files
titletranslate.py : rules and tricks to auto-translate wikipage titles
userlib.py : Library to work with users, their pages and talk pages
-wikicomserver.py : This library allows the use of the pywikipediabot
+wikicomserver.py : This library allows the use of the pywikibot
directly from COM-aware applications.
wikipedia.py : The wikipedia library
wikipediatools.py : Returns package base directory
@@ -95,7 +95,7 @@
rcsort.py : A tool to see the recentchanges ordered by user instead
of by date.
upd-log.py : Update notification script
-version.py : Outputs Pywikipedia's revision number, Python's version
+version.py : Outputs Pywikibot's revision number, Python's version
and OS used.
warnfile.py : A robot that parses a warning file created by
interwiki.py on another language wiki, and
@@ -257,7 +257,7 @@
disambiguations : If you run solve_disambiguation.py with the -primary
argument, the bot will save information here
externals : Contains all external software that might be used by
- by PyWikipediaBot scripts and libraries. The most
+ by Pywikibot scripts and libraries. The most
important among them are:
* spelling; dictionaries for spellcheck.py
* BeautifulSoup.py; http://www.crummy.com/software/BeautifulSoup
@@ -284,7 +284,7 @@
here.
wiktionary : Contains script to used for Wiktionary project.
-External software can be used with PyWikipediaBot:
+External software can be used with Pywikibot:
* Win32com library for use with wikicomserver.py
* Pydot, Pyparsing and Graphviz for use with interwiki_graph.py
* JSON for use with query.py
@@ -292,7 +292,7 @@
Web Services for use with copyright.py and pagegenerators.py
* MySQLdb to access MySQL database for use with pagegenerators.py
-PyWikipediaBot makes use of some modules that are part of python, but that
+Pywikibot makes use of some modules that are part of python, but that
are not installed by default on some Linux distributions:
* python-xml (required to parse XML via SaX2)
* python-celementtree (recommended if you use XML dumps)
@@ -311,14 +311,14 @@
You need to have at least python version 2.7.2 (http://www.python.org/download/)
or newer installed on your computer to be able to run any of the code in this
-package, but not 3.x, because pywikipediabot is still not updated to it! Support
+package, but not 3.x, because pywikibot is still not updated to it! Support
for older versions of python is not planned. Some scripts could run with older
python releases. Please refer the manual at mediawiki for further details and
restrictions.
You do not need to "install" this package to be able to make use of
it. You can actually just run it from the directory where you unpacked
-it or where you have your copy of the SVN sources.
+it or where you have your copy of the SVN or git sources.
The first time you run a script, the package creates a file named user-config.py
in your current directory. It asks for the family and language code you are
--
To view, visit https://gerrit.wikimedia.org/r/186595
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I25a082a2a40ff5f4e7e3dd5d36bf836dd850820f
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: DrTrigon <dr.trigon(a)surfeu.ch>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>