[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-18 Thread zhuyifei1999
zhuyifei1999 added a comment. In T202117#4510925, @Xqt wrote: svn repository is still supported by pwb which is cloned from our git repository. I use svn for my production not because the automerge function of svn is a great advantage against git. Wasn't aware of that, thanks.TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread Yerpo
Yerpo added a comment. I suspect that, although you have updated the repo, the 'installed' one in C:\Program Files (x86)\Python27\lib\site-packages\pywikibot\ remain outdated. You were completely right, zhuyifei1999, the "installed" repo was outdated. Everything works as it should now, so someone

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread Xqt
Xqt added a comment. We have moved to git and are no longer on svn. Can you show us your output of python pwb.oy version? svn repository is still supported by pwb which is cloned from our git repository. I use svn for my production not because the automerge function of svn is a great advantage

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread zhuyifei1999
zhuyifei1999 added a comment. File "C:\Users\yerpc\Documents\Wiki\Scripts\MakeScoreTable.py", line 877, in CalculateStatisticsForLang wiki = pywikibot.Site(lang, 'wikipedia') $ python pwb.py shell family and mylang are not set. Defaulting to family='test' and mylang='test'. Welcome to the

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread Yerpo
Yerpo added a comment. We have moved to git and are no longer on svn. Can you show us your output of python pwb.oy version? Odd, there are changes every time I run the update, but I'll look into updating by git, thanks for the note. Here's the version: Pywikibot: pywikibot-core (2210724, s10199,

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread zhuyifei1999
zhuyifei1999 added a comment. In T202117#4510645, @Yerpo wrote: Yes, I always do SVN update before running the script. We have moved to git and are no longer on svn. Can you show us your output of python pwb.oy version? The wikimedia_family.py file doesn't seem to be the issue, because all the

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread Yerpo
Yerpo added a comment. Are you on the latest version of pywikibot? Yes, I always do SVN update before running the script. The wikimedia_family.py file doesn't seem to be the issue, because all the "missing" Wikipedias are listed there. Could someone please check the script to see where it draws

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread zhuyifei1999
zhuyifei1999 added a comment. Can't reproduce. $ python pwb.py version family and mylang are not set. Defaulting to family='test' and mylang='test'. Pywikibot: [https] wikimedia-pywikibot-core.git (8e4837b, g9914, 2018/08/17, 10:10:15, ok) Release version: 3.1.dev0 requests version: 2.19.1

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread Aklapper
Aklapper added a comment. Ah, got it, sorry! This seems to be about updating https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/families/wikipedia_family.py If you feel like fixing this yourself, see https://www.mediawiki.org/wiki/Gerrit/Tutorial how to provide a patch:)TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T202117: Add new Wikipedias to wikipedia family file

2018-08-17 Thread Yerpo
Yerpo added a comment. Thank you, Pywikibot-core is probably a better place for this. Like I said, I'm not sure what and where needs to be updated, I just wanted to point out that the Pywikibot's framework obviously doesn't recognize some newest Wikipedias, but it should recognize all Wikipedias