[Pywikipedia-bugs] [Maniphest] [Commented On] T238291: noreferences.py error

2019-11-15 Thread Dvorapa
Dvorapa added a comment. What Wikipedia do you scan using noreferences? What is the command you run? What is the output of `python pwb.py version` (if installed from Git/svn or zip file)? TASK DETAIL https://phabricator.wikimedia.org/T238291 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread DD063520
DD063520 created this task. DD063520 added projects: Pywikibot, Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Steps to Reproduce: item = pywikibot.ItemPage(wikidata_repo, "Q1410828") item.get() Actual Results: File

[Pywikipedia-bugs] [Maniphest] [Created] T238405: Pywikibot should have a robust way to handle unknown sites

2019-11-15 Thread Bugreporter
Bugreporter created this task. Bugreporter added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION To prevent issues like T238404: Pywikibot fails when importing entity Q1410828

[Pywikipedia-bugs] [Maniphest] [Commented On] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread DD063520
DD063520 added a comment. Mh, I use this version of Pywikibot: pywikibot-3.0.dev0 could that be the problem? TASK DETAIL https://phabricator.wikimedia.org/T238404 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: DD063520 Cc: Mpaa, Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread Dvorapa
Dvorapa added a comment. In T238404#5668385 , @DD063520 wrote: > Mh, I use this version of Pywikibot: pywikibot-3.0.dev0 > could that be the problem? Have you installed Pywikibot using PyPI? At PyPI there is a version from

[Pywikipedia-bugs] [Maniphest] [Commented On] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread Mpaa
Mpaa added a comment. Works for me, ban is already in wikipedia_family.py. It is quite slow, though. E.g., I get this sitelink: 'banwiki': pywikibot.page.SiteLink('banwiki', 'Kategori:Jerman', []), TASK DETAIL https://phabricator.wikimedia.org/T238404 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T238448: Get family info from wikidata

2019-11-15 Thread Mpaa
Mpaa created this task. Mpaa added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Is there any reason why we code languages in family files instead of getting a (cached) set of values from wikidata? TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread Mpaa
Mpaa added a comment. I think it was added here: 2c565d01c381a858c4d02cf1f4c3372b589d5422 TASK DETAIL https://phabricator.wikimedia.org/T238404 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T238291: noreferences.py error

2019-11-15 Thread Kaleem_Bhatti
Kaleem_Bhatti added a comment. In T238291#5666992 , @Dvorapa wrote: > What Wikipedia do you scan using noreferences? What is the command you run? What is the output of `python pwb.py version` (if installed from Git/svn or zip file)?

[Pywikipedia-bugs] [Maniphest] [Commented On] T238291: noreferences.py error

2019-11-15 Thread Kaleem_Bhatti
Kaleem_Bhatti added a comment. @Dvorapa can you tell me please ho I can find this directory /mnt/nfs/labstore-secondary-tools-project/toolname/core TASK DETAIL https://phabricator.wikimedia.org/T238291 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Pywikipedia-bugs] [Maniphest] [Commented On] T238448: Get family info from wikidata

2019-11-15 Thread Bugreporter
Bugreporter added a comment. not all (special) projects are Wikidata clients. TASK DETAIL https://phabricator.wikimedia.org/T238448 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Aklapper, pywikibot-bugs-list, Mpaa,

[Pywikipedia-bugs] [Maniphest] [Commented On] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread Mpaa
Mpaa added a comment. In T238404#5668434 , @DD063520 wrote: > Mhmmm on github I cannot find the "ban" language in the wikipedia_family: >

[Pywikipedia-bugs] [Maniphest] [Commented On] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread DD063520
DD063520 added a comment. yes, I did: pip install pywikibot and I checked, there the Wikipedia Family file does not contain "ban". Should I clone the repository? TASK DETAIL https://phabricator.wikimedia.org/T238404 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread DD063520
DD063520 added a comment. Mhmmm on github I cannot find the "ban" language in the wikipedia_family: https://github.com/wikimedia/pywikibot/blob/cbf194a60124fece9355517030aaa7091dcc093a/pywikibot/families/wikipedia_family.py So would the newest version solve my problem? TASK

[Pywikipedia-bugs] [Maniphest] [Updated] T238404: Pywikibot fails when importing entity Q1410828

2019-11-15 Thread DD063520
DD063520 added a comment. Ahhh, my mistake, ok, fine for me. I saw that you opened this: https://phabricator.wikimedia.org/T238405 So for me we can close this one. Thank you very much for the help! TASK DETAIL https://phabricator.wikimedia.org/T238404 EMAIL PREFERENCES