https://bugzilla.wikimedia.org/show_bug.cgi?id=54570
Web browser: ---
Bug ID: 54570
Summary: Working with interwikis on subpage
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/497/
Reported by: dixond
Created on: 2010-12-29 13:55:59
Subject: Working with interwikis on subpage
Assigned to: xqt
Original description:
I think I implemented my feature request with ID: 3146291
Please, review carefully my code - to be honest I don't have really much
experience with Python.
And few moments:
1\) When we adding/fixing interwikis on subpage, I think we should remove
interwikis in template itself if any
2\) It seems that logic of determing whether this page has subpages, getting
interwikis also from included subpages etc should be decoupled from
interwiki.py and moved to wikipedia.py
3\) Not really related but.. cosmetic\_changes.py removes interwikis from
subpage.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55129
Web browser: ---
Bug ID: 55129
Summary: new nightlies do not have version.py support
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1650/
Reported by: valhallasw
Created on: 2013-07-28 19:40:56.250000
Subject: new nightlies do not have version.py support
Original description:
Nightlies should bundle a 'version' file, containing three lines:
nightly:pywikipedia
2013-07-20T11:39:29.772181Z
11775
i.e. 'what', 'when was nightly generated', 'source revision'
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54686
Web browser: ---
Bug ID: 54686
Summary: version.py does not work properly for SVN working
copies
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
version.py gives a unsufficient result if the working copy is SVN based from
github:
C:\pwb\compat>version.py
Pywikipedia wikipedia.py (r-1 (unknown), ???????, 2013/09/19, 07:37:28,
OUTDATED
)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
C:\pwb\compat>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54540
Web browser: ---
Bug ID: 54540
Summary: Allow specifying a custom site in GeneratorFactory
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/622/
Reported by: gallaecio
Created on: 2013-08-03 20:32:41.962000
Subject: Allow specifying a custom site in GeneratorFactory
Original description:
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55127
Web browser: ---
Bug ID: 55127
Summary: core hangs on killed http(s) connection
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1657/
Reported by: valhallasw
Created on: 2013-08-22 15:14:10.237000
Subject: core hangs on killed http(s) connection
Original description:
Steps to reproduce:
>>> p = pywikibot.Page(pywikibot.getSite('nl', 'wikipedia'), 'Wikipedia')
>>> p.get()
# now kill the connection, e.g. using tcpview in windows
>>> p = pywikibot.Page(pywikibot.getSite('nl', 'wikipedia'), 'Wikipedia')
>>> p.get()
# hangs
Expected result:
pywikibot reconnects and executes the .get()
Actual result:
complete hang (deadlock?)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54539
Web browser: ---
Bug ID: 54539
Summary: Remove error-prone invalid-char exception
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/623/
Reported by: gallaecio
Created on: 2013-08-03 21:14:53.303000
Subject: Remove error-prone invalid-char exception
Original description:
The code removed by this patch was preventing me from loading the following
page:
http://techbase.kde.org/Localization/fy/Fryske_kompjûterwurden
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415
Web browser: ---
Bug ID: 54415
Summary: claimit.py: enable claim with the same property, but
different value
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/349/
Reported by: apac1
Created on: 2013-09-15 16:15:03.602000
Subject: claimit.py: enable claim with the same property, but different value
Original labels: claimit.py, wikidata, enhancement, python, pywikibotOriginal
description:
The below can be added to claimit.py to enable adding statements on items with
the same property, but different values.
https://github.com/wikimedia/pywikibot-core/blob/master/scripts/claimit.py
:::python
for claim in self.claims:
if claim.getID() in item.get().get('claims'):
propertytoadd = claim.getID()
for valueofproperty in item.claims[propertytoadd]:
if valueofproperty.getTarget() ==
claim.getTarget():
pywikibot.output("item for %s has already
property %s with value %s" % (page.title(), propertytoadd,
valueofproperty.getTarget()))
break
else:
continue
else:
pywikibot.output('Adding additional %s --> %s' %
(claim.getID(), claim.getTarget()))
item.addClaim(claim)
else:
pywikibot.output('Adding %s --> %s'
% (claim.getID(), claim.getTarget()))
item.addClaim(claim)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54542
Web browser: ---
Bug ID: 54542
Summary: Add multiple values for a claim
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/620/
Reported by: felixreimann
Created on: 2013-07-03 13:43:43.303000
Subject: Add multiple values for a claim
Original description:
Wikidata: The attached patch allows to add additional values even if the claim
is already there.
Before, editClaim either adds the claim and the value if the item does not
contain the claim yet or changes the value of the claim. Sometimes, however,
additional values are needed.
This is enabled with the force_add parameter which is False per default and
thus, the prior behavior of the method is unchanged if not otherwise specified.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54566
Web browser: ---
Bug ID: 54566
Summary: New option "-no" to djvutext.py
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/539/
Reported by: aronsson
Created on: 2012-03-12 14:40:15
Subject: New option "-no" to djvutext.py
Original description:
djvutext.py adds OCR text to books in Wikisource. Some books already have text
for some pages, but not for others. The "-no" flag added by this patch only
adds new pages, but doesn't alter the text for any existing pages. \(At any
such question, it answers "no" automatically.\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55160
Web browser: ---
Bug ID: 55160
Summary: Page._getVersionHistory returns only a part of a
history
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1546/
Reported by: dixond
Created on: 2012-11-28 13:00:50
Subject: Page._getVersionHistory returns only a part of a history
Assigned to: xqt
Original description:
There is a bug in Page.\_getVersionHistory. It doesn't load the whole history
it it is large. The problem in here \(wikipedia.py\):
if len\(result\['query'\]\['pages'\].values\(\)\[0\]\['revisions'\]\) <
revCount:
thisHistoryDone = True
I believe it should be as following:
if not getAll and
len\(result\['query'\]\['pages'\].values\(\)\[0\]\['revisions'\]\) >=
revCount:
thisHistoryDone = True
Version.py:
Pywikipedia trunk/pywikipedia/ \(r10745, 2012/11/20, 13:03:05\)
Python 2.7.3 \(default, Apr 10 2012, 23:31:26\) \[MSC v.1500 32 bit \(Intel\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.