Re: [Pywikipedia-l] temporary breaking change: cosmetic changes moved into library

2015-05-06 Thread Strainu
a prime candidate to me. Allowing the user's own list of folders would simplify calling some scripts. Thanks, Strainu > > -- > John Vandenberg > > ___ > Pywikipedia-l mailing list > Pywikipedia-l@lists.wikimedia.org > https://li

Re: [Pywikipedia-l] Commit 08ac2d74f27bf350a7b8d942995cf94c99d419ab

2015-01-23 Thread Strainu
2015-01-23 17:10 GMT+02:00 John Mark Vandenberg : > HI Strainu, > > I am guessing you're using $ python pwb.py

[Pywikipedia-l] Commit 08ac2d74f27bf350a7b8d942995cf94c99d419ab

2015-01-23 Thread Strainu
warnings (see below). Have you guys tested this with python 2? Have you considered that some users might not use folders as modules, but rather have related scripts in the same folder? Thanks, Strainu Parent module monumente not found: No module named monumente ./monumente/parse_monument_article.p

[Pywikipedia-l] Anyone else having issues retrieving coordinates?

2015-01-23 Thread Strainu
s? Thanks, Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Standard argument parsing

2014-08-26 Thread Strainu
the current parameters seems too confusing for non-technical users. Let's not become a second WMF! > No matter what we want to follow, we need to standardize our argument > parsing system (using argparse). Does that mean giving up on the ':'? Strainu >&

Re: [Pywikipedia-l] i18n in Pywikibot

2014-08-14 Thread Strainu
do only as a last resort. Second, when trying to install manually, all kind of errors would pop up (don't ask me for specifics at this time please). IMHO, anything more than 2 commands needed to install pywikibot (download/sync + install) would count as &qu

Re: [Pywikipedia-l] porting scripts from other sources

2014-07-27 Thread Strainu
If you're looking for other pywikibot robot sources, you might want to take a look at https://code.google.com/p/wikiro/source/browse/#svn%2Ftrunk%2Frobots%2Fpython%253Fstate%253Dclosed I would be very interested to see if anyone else can find uses for our little toys :) Strainu 2014-07-27

[Pywikipedia-l] Panoramiopicker.py in core?

2014-07-18 Thread Strainu
iginal. However, the script is now more permissive with the layout changes and even recognises cc-by licenses. My question is: is anyone using or at least planning to use this script? The effort to clean the code and have it reviewed is non-trivial and I will only make it if anyone is interested.

Re: [Pywikipedia-l] Closing pywikibot

2014-04-01 Thread Strainu
. And no, it's not April 4th. :) Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] MySQLPageGenerator and Tool*

2014-03-08 Thread Strainu
As I said, I'm not the one using it :) I strongly believe that anything else than live data is an error waiting to happen. Strainu 2014-03-08 19:57 GMT+02:00 Amir Ladsgroup : > Running bot via reading dumps is implemented with xmlreader.py no need to do > that, I have tons of code

Re: [Pywikipedia-l] MySQLPageGenerator and Tool*

2014-03-08 Thread Strainu
ue, I suggest using the values from toollabs (you know, with it being the future & all). Strainu 2014-03-08 17:54 GMT+02:00 Maarten Dammers : > Hi, > > We currently have the "MySQLPageGenerator" to do database queries. It uses > site.dbName() to figure out the name of the

Re: [Pywikipedia-l] Reviews in queue

2013-12-16 Thread Strainu
Also https://gerrit.wikimedia.org/r/#/c/101472/ Thanks 2013/12/16 Strainu : > Hi, > > We currently have 5 reviews in the GCI queue. The oldest is > https://gerrit.wikimedia.org/r/#/c/101613/ > > It looks good to me, except for the open question of whether the > templat

[Pywikipedia-l] Reviews in queue

2013-12-16 Thread Strainu
, please comment. The other reviews are: https://gerrit.wikimedia.org/r/101451 https://gerrit.wikimedia.org/r/101609 https://gerrit.wikimedia.org/r/101642 https://gerrit.wikimedia.org/r/101623 Thanks for your help, Strainu ___ Pywikipedia-l mailing list

Re: [Pywikipedia-l] NotImplementedError in site.py

2013-12-10 Thread Strainu
2013/12/9 Merlijn van Deen : > Hi Strainu, Thanks for the suggestions! > > The _address functions are not used in core -- those were the 'pages to be > screen scraped' in compat. > > However, adding missing (useful) functionality would be great. I'm not sur

[Pywikipedia-l] NotImplementedError in site.py

2013-12-09 Thread Strainu
Hi, Should I log a task for porting from compat to core all functions not implemented in site.py (like ancientpages_address)? I see a comment saying "unsupported methods from version 1" and it's unclear to me if these are useless or just not implemented. Th

Re: [Pywikipedia-l] Wikidata review

2013-11-27 Thread Strainu
Hi, Some new versions have been uploaed to https://gerrit.wikimedia.org/r/#/c/97198/8 Please take a look, as the time for the task is approaching the end. Thanks, Strainu 2013/11/25 Strainu : > Thank you! Here is another one, just posted: > https://gerrit.wikimedia.org/r/#/c

Re: [Pywikipedia-l] Wikidata review

2013-11-24 Thread Strainu
Thank you! Here is another one, just posted: https://gerrit.wikimedia.org/r/#/c/97453/ :) 2013/11/24 legoktm : > On Sun, Nov 24, 2013 at 11:46 AM, Strainu wrote: >> 2013/11/24 Strainu : >>> Hi, >>> >>> I need someone with Wikidata experience

Re: [Pywikipedia-l] Wikidata review

2013-11-24 Thread Strainu
2013/11/24 Strainu : > Hi, > > I need someone with Wikidata experience to review a task for GCI: > https://gerrit.wikimedia.org/r/#/c/97198/ Same request for https://gerrit.wikimedia.org/r/#/c/96940/ > > The code now looks good to me, but I'd rather have someone else

[Pywikipedia-l] Wikidata review

2013-11-24 Thread Strainu
Hi, I need someone with Wikidata experience to review a task for GCI: https://gerrit.wikimedia.org/r/#/c/97198/ The code now looks good to me, but I'd rather have someone else give the +2. Thanks, Strainu ___ Pywikipedia-l mailing list Pywiki

[Pywikipedia-l] Fwd: [Wikitech-l] Google Code-in update (was Re: Google Code-in starting NOW (important!))

2013-11-19 Thread Strainu
FYI. No tasks has been finished yet on pywikibot, but two have been pretty advanced. -- Forwarded message -- From: Quim Gil Date: 2013/11/19 Subject: [Wikitech-l] Google Code-in update (was Re: Google Code-in starting NOW (important!)) To: Wikimedia developers GCI is moving fa

Re: [Pywikipedia-l] Google Code-In and a little problem

2013-11-14 Thread Strainu
2013/11/11 Merlijn van Deen : > Hi Strainu, > > On 11 November 2013 13:30, Strainu wrote: >> >> I've logged bugs and tasks for all the compat->core porting. This should >> keep the students busy for a couple of days :) > > Thanks for organising this!

Re: [Pywikipedia-l] Google Code-In and a little problem

2013-11-11 Thread Strainu
ikimedia.org/show_bug.cgi?id=54415> (and 55002 <https://bugzilla.wikimedia.org/show_bug.cgi?id=55002>if they are not duplicates), 55003. <https://bugzilla.wikimedia.org/show_bug.cgi?id=55003> Any observations on this bug list? Thanks, Strainu 2013/11/5 Amir Ladsgroup > This

Re: [Pywikipedia-l] Google Code-In and a little problem

2013-11-05 Thread Strainu
has just 2 dependencies so far (which I would like to propose as tasks as well, perhaps bundled since they should be quite simple). Strainu 2013/11/2 Quim Gil : > On 11/02/2013 10:14 AM, Amir Ladsgroup wrote: >> >> Thank you Bináris and Strainu :) >> The link is here: >> https://

Re: [Pywikipedia-l] Google Code-In and a little problem

2013-11-02 Thread Strainu
I can probably help. I've been a mentor in 2011 for opensuse. Do you have a link with the pwb proposals? Strainu Amir Ladsgroup a scris: >Hello, >As you know, PWB is officially one of the Google Code-In (GCI) >projects, I added it because I think It would be very cool if we

Re: [Pywikipedia-l] import module --> ImportError: No module named ...

2013-10-19 Thread Strainu
The simplest way is to run pwb.py from the root of the framework. So, if you got the code in c:\pywikibot-core and pywikibot in c:\pywikibot-core\pywikibot, you'd have something like: c:\pywikibot-core> python pwb.py pywikibot\login.py or, in general, c:\pywikibot-core> python pwb.py c:\path\to\

[Pywikipedia-l] Tracking bug for feature parity between core and compat

2013-10-18 Thread Strainu
her useful features from compat which are not (yet) in core, please log bugs for them and set them as blocking for bug 55880. Also, if you can fix any of the bugs on that list, feel free to send a patch. :) Thanks, Strainu ___ Pywikipedia-l ma

Re: [Pywikipedia-l] Oversimplification of pywikipediabot - intended or work in progress?

2013-10-18 Thread Strainu
2013/9/5 legoktm : > Hi Strainu, > > It's definitely a work in progress. There are very few features that have > intentionally been removed, and all of those are explicitly marked with a > "@deprecated" tag. > > If there are features that you notice are missing

Re: [Pywikipedia-l] Core and Compat

2013-10-18 Thread Strainu
a new Wikidata data > type ? > There will be a pywikibot bugday... What is it and who can participate? Thanks, Strainu [1] http://www.urbandictionary.com/define.php?term=RTFS > > > > On 14 October 2013 21:49, Antoine Musso wrote: >> >> Le 14/10/13 16:11, Gerard M

Re: [Pywikipedia-l] Damned git

2013-10-06 Thread Strainu
2013/10/6 Dr. Trigon : > > I was not there - but you should not simply neglect that there are > serious issues with git under win. Please ask e.g. Xqt - as far as I > know he was not able to set-up a properly working system for git > review under win until today... which means we have lost one of o

Re: [Pywikipedia-l] Oversimplification of pywikipediabot - intended or work in progress?

2013-09-05 Thread Strainu
2013/9/5 legoktm : > Hi Strainu, > > It's definitely a work in progress. There are very few features that have > intentionally been removed, and all of those are explicitly marked with a > "@deprecated" tag. Glad to hear that! > > If there are features that yo

[Pywikipedia-l] Oversimplification of pywikipediabot - intended or work in progress?

2013-09-03 Thread Strainu
some more work. I personally would like to have the old behavior back, it would save me and probably others a lot of work. Thanks, Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] GIT Migration

2013-07-20 Thread Strainu
: http://git-scm.com/downloads If you prefer other GUI clients, here is a list: http://git-scm.com/downloads/guis Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Strainu
config file. Sorry I haven't caught this yesterday. I will try to update the README file to clarify this. Regards, Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Strainu
2013/7/18 Chad Horohoe : > On Wed, Jul 17, 2013 at 2:07 PM, Strainu wrote: >> >> Yes, it's working. I should mention I used the github mirror, for some >> reason I can't seem to finish the cloning from gerrit. >> > > This should be better now. The

Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Strainu
Yes, it's working. I should mention I used the github mirror, for some reason I can't seem to finish the cloning from gerrit. Strainu 2013/7/16 Amir Ladsgroup : > I will forward your mail to Chad and ask where is the problem. > btw, can you check trunk is working or not? >

Re: [Pywikipedia-l] GIT Migration

2013-07-15 Thread Strainu
cause I copied the user-config.py from my old pywikibot instance, but I don't think they're related to the AttributeError. Can anyone provide some guidance? Thanks, Strainu 2013/7/13 Amir Ladsgroup : > I just updated this and I think we should update this too but per KISS > principal

Re: [Pywikipedia-l] Trunk or Rewrite

2013-06-22 Thread Strainu
2013/6/22 Bináris : > We have no statistics on users but I think for some > reason that trunk is more widely used. The reason is python2, at least for me :) ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mai

Re: [Pywikipedia-l] Page.getSize()

2013-06-13 Thread Strainu
2013/6/13 Merlijn van Deen : > Hi Strainu, > > On 13 June 2013 17:07, Strainu wrote: >> >> Is there some reason why the Page class does not have a getSize >> function, except the fact that it's trivial to obtain it from .get() ? > > > I don't thi

[Pywikipedia-l] Page.getSize()

2013-06-13 Thread Strainu
Hi, Is there some reason why the Page class does not have a getSize function, except the fact that it's trivial to obtain it from .get() ? Thanks, Strainu ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedi

Re: [Pywikipedia-l] Coordinates

2013-01-18 Thread Strainu
2013/1/18 Strainu : > 2013/1/18 Bojan Kalkan : >> Is there someone who has or is wiling to share/make bot that will place >> coordinates template (in decimal format rather than DMS) at top or bottom of >> articles that have have not such template? > > Here you go:

Re: [Pywikipedia-l] Coordinates

2013-01-18 Thread Strainu
nk/robots/python/geo/osm2wiki_coord.py This takes data from OSM and puts in in Romanian villages' articles, but it should be pretty trivial to change the source. As to Wikidata, I wouldn't hold my breath :) Strainu ___ Pywikipedia-l mailing

Re: [Pywikipedia-l] svn migration

2012-12-26 Thread Strainu
tion (2). The pull requests and branching in github are a breeze compared to both the current system and gerrit. Plus, with just a little bit of effort from the maintainers, each of us could get proper attribution in ohloh - you can set the author as a different person from the commiter. :

Re: [Pywikipedia-l] Cosmetic changes and flagged revs

2012-12-25 Thread Strainu
ave patrol rights on the bot account. Regards, Strainu 2012/12/25 Bináris : > Hi folks around the world, > > there was a debate in Huwiki about cosmetic changes which have a very > limited popularity. One of the problems is that we have Flagged Revs, and > when a bot edits an unp

Re: [Pywikipedia-l] Pywikipedia on Windows: Unicode Issue

2012-12-25 Thread Strainu
Hi, I've had those problems on windows and I did not know about the solution suggested by Merlijn. I usually worked around that by reading the data from a file insead of the prompt. Cygwin might also be a solution if you're familiar with *nix but forced to work on Windows [1] Regards,