---
** [feature-requests:#348] move pagegenerators out of data.api**
**Status:** open
**Created:** Wed Sep 11, 2013 04:46 PM UTC by Merlijn S. van Deen
**Last Updated:** Wed Sep 11, 2013 04:46 PM UTC
**Owner:** nobody
Move data.api.{anything that returns Page objects} from data.api to data.pagegenerators or pywikibot.pagegenerators.
See https://gerrit.wikimedia.org/r/#/c/80300/1,
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1672] WD data ingestion: support non-wikipedia source**
**Status:** open
**Created:** Wed Sep 11, 2013 04:40 PM UTC by Merlijn S. van Deen
**Last Updated:** Wed Sep 11, 2013 04:40 PM UTC
**Owner:** nobody
https://gerrit.wikimedia.org/r/#/c/82263/1 adds support for non-mysite wikipedia's, but not wor non-wikipedia's (wiktionaries, etc). Not a huge issue as long as people add data from wikipedia's, but should be fixed.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1671] weblinkchecker: url incorrect parsed when using a multiline template**
**Status:** open
**Labels:** weblinkchecker
**Created:** Wed Sep 11, 2013 12:50 PM UTC by Harmen
**Last Updated:** Wed Sep 11, 2013 12:50 PM UTC
**Owner:** nobody
Today I discovered a problem parsing urls within multiline templates on https://nl.wikipedia.org/w/index.php?title=Rie_Timmer
In this article there are a few urls used within templates, but the urls used in multiline templates are parsed incorrect (including the }} at the end): e.g. http://www.vsgermelo.nl/vsg_bulletin/82/20010982.htm}}
Template:
{{cite journal
| author=R. Boterenbrood, S. Westra, L. Korterink
| journal=VSG-bulletin
| title=Rie Timmer, dameskampioen van Nederland in 1971
| volume=35
| issue=82
| date=september 2001
| url=http://www.vsgermelo.nl/vsg_bulletin/82/20010982.htm}}
However, another url within a template, but not multiline works fine:
* {{Link chessgames.com|url=http://www.chessgames.com/player/rie_timmer.html}}
Version information:
$ python version.py
Pywikipedia [https] r/pywikibot/compat (r10277, ea68647, 2013/09/11, 14:28:43, ok)
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1670] reflinks.py work with ref group**
**Status:** open
**Created:** Tue Sep 10, 2013 09:13 AM UTC by rubin16
**Last Updated:** Tue Sep 10, 2013 09:13 AM UTC
**Owner:** nobody
reflinks.py from /compat/ makes some mess with groups of references:
https://ru.wikipedia.org/w/index.php?diff=58138900&oldid=58101042
Is it possible to amend it or just start to ignore references with <ref group>
inside?
PS: I've created bug on bugzilla (53936) but it seems that active bugtracker is here, not there
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Tried this:
import unicodedata
@line 237
_TM = ''.join((c for c in unicodedata.normalize('NFD', TM.group(0)) if unicodedata.category(c) != 'Mn'))
and then call txt2timestamp with _TM instead of TM.group(0)
---
** [bugs:#1482] archivebot.py doesn't support unicode month names**
**Status:** open
**Created:** Sat Jun 30, 2012 05:50 PM UTC by Anonymous
**Last Updated:** Fri Aug 30, 2013 08:17 AM UTC
**Owner:** nobody
archivebot.py doesn't work well with languages such as Turkish which has some months with unicode characters. Namely:
2 Şubat
4 Mayıs
8 Ağustos
9 Eylül
11 Kasım
12 Aralık
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
- **Group**: confirmed --> trunk
---
** [bugs:#1634] harvest template syntax error**
**Status:** open-accepted
**Created:** Fri May 24, 2013 10:33 PM UTC by masti
**Last Updated:** Tue Jun 25, 2013 01:26 PM UTC
**Owner:** nobody
$python harvest\_template.py -cat:"Miasta Polski"
File "harvest\_template.py", line 116
item.editclaim\(str\(claim\), linkedItem.getID\(\) ,refs=\{self.setSource\(self.site\(\).language\(\)\)\}\)
^
SyntaxError: invalid syntax
$ python version.py
unicode test: triggers problem \#3081100
Pywikipedia \[http\] trunk/pywikipedia \(r11578, 2013/05/24, 17:03:42, ok\)
Python 2.6.6 \(r266:84292, Oct 12 2012, 14:23:48\)
\[GCC 4.4.6 20120305 \(Red Hat 4.4.6-4\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: triggers problem \#3081100
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
- **status**: open --> closed-fixed
---
** [bugs:#1639] generate_family_file.py breaks on **
**Status:** closed-fixed
**Created:** Tue Jul 02, 2013 09:18 PM UTC by Merlijn S. van Deen
**Last Updated:** Wed Aug 21, 2013 06:31 PM UTC
**Owner:** nobody
Pywikipedia [svn+ssh] valhallasw@trunk/pywikipedia (r11710, 2013/07/02, 20:55:33, ok)
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
1) add the following line to user-config.py:
usernames['somewiki']['en'] = u'valhallasw'
2) run generate_family_file.py
Result:
-----------------------------------
Traceback (most recent call last):
File "generate_family_file.py", line 36, in <module>
import config
File "/home/valhallasw/src/pywikipedia/trunk/pywikipedia/config.py", line 606, in <module>
execfile(_filename)
File "./user-config.py", line 5, in <module>
usernames['somewiki']['en'] = u'valhallasw'
KeyError: 'somewiki'
Expected result:
-----------------------------------
Questions to generate a family file, which might be named 'somewiki' and thus make the user-config file correct.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
- **Group**: confirmed --> rewrite
---
** [bugs:#1640] reflinks.py not yet available in rewrite**
**Status:** open
**Labels:** to port rewrite
**Created:** Mon Jul 08, 2013 11:17 AM UTC by Merlijn S. van Deen
**Last Updated:** Mon Jul 08, 2013 11:17 AM UTC
**Owner:** nobody
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Which version is this for?
---
** [bugs:#1641] Suppress warning from getcurrenttimestamp()**
**Status:** open
**Created:** Wed Jul 10, 2013 05:50 PM UTC by Nullzer0
**Last Updated:** Wed Jul 10, 2013 05:50 PM UTC
**Owner:** nobody
Since r11686, some warnings appear in my log, including "WARNING API warning (parse): No 'title' or 'contentmodel' was given, assuming wikitext." I examined and found that the text comes from getcurrenttimestamp(). Just add "contentmodel=wikitext" should suppress this message.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
- **status**: open-fixed --> closed-fixed
---
** [bugs:#1646] interwiki.py CPU occupation too high (hogging)**
**Status:** closed-fixed
**Created:** Wed Jul 24, 2013 02:20 PM UTC by André Malafaya Baptista
**Last Updated:** Mon Aug 19, 2013 04:57 PM UTC
**Owner:** nobody
Since some time ago (I think less than 2 months), running interwiki.py hogs one CPU after running for some time. As I have four CPUs, I get a constant 25% CPU occupation by python.exe. The console output gets also sluggish.
Example:
interwiki.py -lang:nl -family:wiktionary -auto -async -cleanup -pt:1 -start:Category:!
Pywikipedia trunk/pywikipedia/ (r11780, 2013/07/20, 11:39:29, ok)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.