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=54563
Web browser: ---
Bug ID: 54563
Summary: Make RegexFilterPageGenerator work on page bodies.
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/552/
Reported by: loxley
Created on: 2012-05-12 16:09:39
Subject: Make RegexFilterPageGenerator work on page bodies.
Original description:
Make RegexFilterPageGenerator work on page bodies. As suggested by valhallasw.
The re.S flag is backwards compatible and allows matching newlines.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54550
Web browser: ---
Bug ID: 54550
Summary: Alternative to (and per) r10976
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/602/
Reported by: hazard-sj
Created on: 2013-03-05 03:02:32
Subject: Alternative to (and per) r10976
Assigned to: xqt
Original description:
See https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10976 and patch
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54553
Web browser: ---
Bug ID: 54553
Summary: Convert relative links to absolute links in
linkedPages().
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/589/
Reported by: nu11zer0
Created on: 2013-01-26 17:33:22
Subject: Convert relative links to absolute links in linkedPages().
Assigned to: xqt
Original description:
Convert relative links to absolute links in linkedPages\(\).
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
Web browser: ---
Bug ID: 54684
Summary: AttributeError: 'Page' object has no attribute
'_isredir'
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
AttributeError: 'Page' object has no attribute '_isredir' occures but it never
should occure after loadpageinfo method is executed:
WARNING: loadpageinfo: Query on [[ml:????????? ?????????]] returned data on
'???
???? ?????'
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 103, in <module>
run_python_file(fn, args)
File "C:\pwb\core\pwb.py", line 49, in run_python_file
exec compile(source, filename, "exec") in main_mod.__dict__
File "C:\pwb\core\scripts\featured.py", line 672, in <module>
main()
File "C:\pwb\core\scripts\featured.py", line 665, in main
bot.run()
File "C:\pwb\core\scripts\featured.py", line 287, in run
self.run_featured()
File "C:\pwb\core\scripts\featured.py", line 350, in run_featured
self.treat(code, task)
File "C:\pwb\core\scripts\featured.py", line 359, in treat
self.featuredWithInterwiki(fromsite, process)
File "C:\pwb\core\scripts\featured.py", line 554, in featuredWithInterwiki
atrans = self.findTranslated(a, tosite)
File "C:\pwb\core\scripts\featured.py", line 472, in findTranslated
if backpage.isRedirectPage():
File "C:\pwb\core\pywikibot\page.py", line 445, in isRedirectPage
return self.site.page_isredirect(self)
File "C:\pwb\core\pywikibot\site.py", line 1364, in page_isredirect
return page._isredir
AttributeError: 'Page' object has no attribute '_isredir'
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound
m
ethod ConnectionPool.__del__ of {'https:yo.wikipedia.org':
[<httplib2.python2.ht
tplib2.HTTPSConnectionWithTimeout instance at 0x000000003132D748>],
'https:lv.wi
...
b2.python2.httplib2.HTTPSConnectionWithTimeout instance at
0x000000000945DB08>],
'https:simple.wikipedia.org':
[<httplib2.python2.httplib2.HTTPSConnectionWithTi
meout instance at 0x000000002DD044C8>]}> ignored
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54709
Web browser: ---
Bug ID: 54709
Summary: Cannot init
Product: Pywikibot
Version: unspecified
Hardware: Macintosh
OS: Mac OS X 10.8
Status: NEW
Severity: blocker
Priority: Unprioritized
Component: login.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: mrandmrsmurphy(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Traceback (most recent call last):
File "login.py", line 58, in <module>
import re, os, query
File "/Users/...../pywikipedia/query.py", line 29, in <module>
import wikipedia as pywikibot
File "/Users/...../pywikipedia/wikipedia.py", line 150, in <module>
externals.check_setup('BeautifulSoup.py')
File "/Users/...../pywikipedia/externals/__init__.py", line 377, in
check_setup
if globals()[dist[0] + '_install'](modules_needed[m][0]):
KeyError: u'darwin_install'
Out of the box, won't run on Mac OS 10.8.5. Python 2.7.2
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54546
Web browser: ---
Bug ID: 54546
Summary: fix KeyError when calling getDeletedRevision()
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/610/
Reported by: nu11zer0
Created on: 2013-04-16 07:42:56
Subject: fix KeyError when calling getDeletedRevision()
Original description:
key of the dictionary \_deletedRevs is a timestamp, not string "timestamp"\!
--
You are receiving this mail because:
You are the assignee for the bug.