https://bugzilla.wikimedia.org/show_bug.cgi?id=55283
Web browser: ---
Bug ID: 55283
Summary: sectionencode incorrectly encoding
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/1147/
Reported by: Anonymous user
Created on: 2010-03-16 22:21:02
Subject: sectionencode incorrectly encoding
Original description:
>>> wikipedia.sectionencode\(':/', 'utf-8'\)
'.3A/'
Which is incorrect as it is ":.2F"
The correct code for sectionencode\(\) should be:
return urllib.quote\(text.replace\(" ","\_"\).encode\(encoding\),
safe=':'\).replace\("%","."\)
Also, it would be nice if encoding defaulted here to 'utf-8'
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54561
Web browser: ---
Bug ID: 54561
Summary: lonely pages as an handlearg
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/559/
Reported by: nickanc
Created on: 2012-08-04 19:31:11
Subject: lonely pages as an handlearg
Original description:
This is the first time I make edits to pagegenerators.py. I added a new
parameter -lonelypages:n to work on lonely pages. :\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55000
Web browser: ---
Bug ID: 55000
Summary: claimit.py: lang for source lookup
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
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/346/
Reported by: apac1
Created on: 2013-08-31 12:40:09.399000
Subject: claimit.py: lang for source lookup
Assigned to: legoktm
Original description:
def setSource(self, lang):
page = pywikibot.Page(self.repo, 'Wikidata:List of wikis/python')
source_values = json.loads(page.get())
source_values = source_values['wikipedia']
for lang in source_values:
source_values[lang] = pywikibot.ItemPage(self.repo,
source_values[lang])
if lang in source_values:
self.source = pywikibot.Claim(self.repo, 'p143')
self.source.setTarget(source_values.get(lang))
The use of lang in "for lang in source_values:" overwrites the lang in "def
setSource(self, lang)". This leads to incorrect results. "lang" should be the
language of the source wiki. For -cat:"zh:Category:Somevalue" this would be
"zh".
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55146
Web browser: ---
Bug ID: 55146
Summary: interwiki() fails for closed wikipedia
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/1608/
Reported by: cdpark
Created on: 2013-04-04 01:32:44
Subject: interwiki() fails for closed wikipedia
Assigned to: amird
Original description:
Page.interwiki\(\) and PageData.interwiki\(\) fails when wikidata contains
sitelinks of closed wikipedias.
For example, following code is broken now.
\---------------------------------------------------------------------------------------------------
\#\!/usr/bin/python
\# -\*- coding: utf-8 -\*-
import pywikibot
en = pywikibot.getSite\('en', 'wikipedia'\)
mainpage = pywikibot.Page\(en, u'Main Page'\)
interwiki = mainpage.interwiki\(\)
print interwiki
\--------------------------------------------------------------------------------------------------------------
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55232
Web browser: ---
Bug ID: 55232
Summary: login.all always asks for password
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: login.py
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/1360/
Reported by: nakor-wikipedia
Created on: 2011-10-14 14:23:06
Subject: login.all always asks for password
Original description:
When calling
login.py -all -pass
the script first asks for a password and then asks for password for every
sinmgle wiki site:
login.py -all -pass
Password for all accounts:
Password for user Almabot on mediawiki:mediawiki:
....
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56190
Web browser: ---
Bug ID: 56190
Summary: [Tracking] API design
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
This is a tracking bug for issues that need some thought in terms of API design
- e.g. discrepancies between compat and core, problems with the current
interface or new features for which it is not yet clear how they can be clearly
accessed.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55267
Web browser: ---
Bug ID: 55267
Summary: Page.fullVersionHistory doesn't return full version
history
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/1211/
Reported by: harriv
Created on: 2010-07-13 23:40:52
Subject: Page.fullVersionHistory doesn't return full version history
Original description:
Page.fullVersionHistory returns only 999 first revision, not all of them. It
seems to use Special:Export, using API would be better.
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r8355, 2010/07/12, 17:38:30\)
Python 2.5.2 \(r252:60911, Jan 24 2010, 17:44:40\)
\[GCC 4.3.2\]
config-settings:
use\_api = True
use\_api\_login = True
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56035
Web browser: ---
Bug ID: 56035
Summary: It's unclear what the default values for
RecentChangesPageGenerators arguments do
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: themineo+wikibz(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
RecentChangesPageGenerator takes a few arguments like showMinor, showAnon, ...
that are supposed to be boolean. However, they all have a default value of
None, but the documentation only covers the case where they're either True or
False. (The same is true for the recentchanges method in site.py that the
generator uses.)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55125
Web browser: ---
Bug ID: 55125
Summary: Harvest_template.py aborts when the value is empty
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/1663/
Reported by: gerardm
Created on: 2013-08-30 08:03:50.007000
Subject: Harvest_template.py aborts when the value is empty
Original description:
When a template has no value (null) the bot should not abort but preferably
write to an error log for later processing.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55124
Web browser: ---
Bug ID: 55124
Summary: Harvest_template.py aborts when the value is a red
link
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/1664/
Reported by: gerardm
Created on: 2013-08-30 08:05:36.536000
Subject: Harvest_template.py aborts when the value is a red link
Original description:
When the value is a "red link", the bot should continue and preferably write to
an error log (for later processing)
--
You are receiving this mail because:
You are the assignee for the bug.