[Pywikipedia-l] How can we block IPs via PWB?

2011-11-10 Thread Amir Ladsgroup
Hello As I know (and I tested) userlib.py doesn't let block IPs. Why did you that? and How can I block almost thirty thousand IP via PWB? -- Amir ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

Re: [Pywikipedia-l] How can we block IPs via PWB?

2011-11-10 Thread Amir Ladsgroup
:46, Amir Ladsgroup ladsgr...@gmail.com wrote: As I know (and I tested) userlib.py doesn't let block IPs What did you try, and what happened? Did you get any errors? What were they? Why did you that? Why do you think there was a specific reason for it? It might very well be just a bug

Re: [Pywikipedia-l] How can we block IPs via PWB?

2011-11-10 Thread Amir Ladsgroup
using userlib.py code you must wait for full of the error code. sorry:( On 11/10/11, Merlijn van Deen valhall...@arctus.nl wrote: On 10 November 2011 14:31, Amir Ladsgroup ladsgr...@gmail.com wrote: It gives me this error: raise InvalidUser(User name '%s' is invalid. IP addresses

Re: [Pywikipedia-l] How can we block IPs via PWB?

2011-11-11 Thread Amir Ladsgroup
(site,username) user.block(expiry=one year,reason={{پروکسی باز}},anon=True) On 11/10/11, Amir Ladsgroup ladsgr...@gmail.com wrote: using userlib.py code you must wait for full of the error code. sorry:( On 11/10/11, Merlijn van Deen valhall...@arctus.nl wrote: On 10 November

Re: [Pywikipedia-l] Showing content as summary of a page

2012-10-26 Thread Amir Ladsgroup
Can you show me an example? In your wiki On Friday, October 26, 2012, Shrinivasan T tshriniva...@gmail.com wrote: It will be nice to have an option to have the content of a page as summary. for the file pagefromfile.py I added this feature and attached the diff file here.

Re: [Pywikipedia-l] Wikidata interwiki behavior

2013-01-17 Thread Amir Ladsgroup
On Thu, Jan 17, 2013 at 11:04 AM, Jan Dudík jan.du...@gmail.com wrote: There might be possibility to solve conflict as it is i current interwiki.py with preffering wikidata version? it's a very interesting idea. Is there a way someone tell me how we can do it? about other things i think we

Re: [Pywikipedia-l] Creating wikidata items

2013-02-26 Thread Amir Ladsgroup
Dear xqt, is it ok? # -*- coding: utf-8 -*- import wikipedia site=wikipedia.getSite('fa', fam='wikipedia') listofarticles=[uعماد خراسانی,uکوری جهاز] for name in listofarticles: page=wikipedia.Page(site,name) data=wikipedia.DataPage(page) try: items=data.get() except

Re: [Pywikipedia-l] interlanguage links from Wikidata

2013-03-06 Thread Amir Ladsgroup
fixed in r11181 I tested it and it was ok but test it again and inform me :) Best On Wed, Mar 6, 2013 at 10:54 AM, i...@gno.de wrote: This is really a bug in the current implementation of Page.title(). I guess you have family = 'commons' in your user-config.py If you change it to

[Pywikipedia-l] Changing claims via PWB

2013-03-15 Thread Amir Ladsgroup
Hello, I made commits r11209-11212 for making easier to change claims via API you can see the manual here: http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Wikidata#Changing_or_creating_claims.2Fstatements you simply can call and change properties and give them values I tested it on two

[Pywikipedia-l] delete.py wrong i18n

2013-03-17 Thread Amir Ladsgroup
Hey, delete.py uses this summary for deleting a list of pages from file (-file:file.txt option): 'delete-from-file': u'Robot: Deleting a list of files.', It's really wrong and all of translation is based on this and all of them must change Best -- Amir

Re: [Pywikipedia-l] pages created on date

2013-03-21 Thread Amir Ladsgroup
As far I can recall there is no way in the API to get particular pages by date of creation so You can't get the list via PWB but You can do it via SQL queries, It's simple: http://www.mediawiki.org/wiki/Database_layout On 3/21/13, John R. Frank j...@mit.edu wrote: Hi PyWikipedians, Is there a

Re: [Pywikipedia-l] pages created on date

2013-03-21 Thread Amir Ladsgroup
I can run, I'll e mail you the result On Thu, Mar 21, 2013 at 9:38 PM, John R. Frank j...@mit.edu wrote: but You can do it via SQL queries, It's simple: http://www.mediawiki.org/wiki/**Database_layouthttp://www.mediawiki.org/wiki/Database_layout That's very cool. I don't have toolserver

Re: [Pywikipedia-l] interwiki bot for wikidata

2013-03-25 Thread Amir Ladsgroup
unfortunately Reza has retired the problem is very bad habit of Reza in putting everything in try so delete the line 368 and put everything after that an indention back You'll surly will receive error but now you can understand where the problem is Best On 3/25/13, Jan Dudík jan.du...@gmail.com

Re: [Pywikipedia-l] Stop supporting non-API wikis

2013-04-23 Thread Amir Ladsgroup
instead of doing the same part twice as it is today. Greetings xqt - Original Nachricht Von: Amir Ladsgroup ladsgr...@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 21.04.2013 22:42 Betreff: [Pywikipedia-l] Stop supporting non-API wikis

Re: [Pywikipedia-l] Two wikidata bots

2013-05-24 Thread Amir Ladsgroup
I made harvest_template.py compatible with trunk branch Best On 5/13/13, Jan Dudík jan.du...@gmail.com wrote: Sorry, I am not able to change scripts in that way - I am only user, not developer ;-) I meant - there are some infoboxes, which have | foo = bar but in artice is it presented as

Re: [Pywikipedia-l] Paper about pywikipedia?

2013-05-26 Thread Amir Ladsgroup
Count on me on writing. I've not written any IT papers but in other fields (physics for example) yes On 5/26/13, Hazard-SJ hazard...@yahoo.com wrote: Hmm ... papers come from books, which reminds me: Wikibooks has this. Hazard-SJ From: David Narvaez

Re: [Pywikipedia-l] an idea: using bugzilla as PWB bug tracker

2013-05-27 Thread Amir Ladsgroup
sorry for sending again. Stupid outlook I've made this [1] but I don't it is in correct ns or title. feel free to change [1] http://www.mediawiki.org/wiki/Migrating_to_bugzilla On 5/27/13, Amir Ladsgroup ladsgr...@gmail.com wrote: Sounds good to me. I'll do that very soon (by tomorrow

Re: [Pywikipedia-l] SVN reaching end of life - migration plan needed

2013-06-04 Thread Amir Ladsgroup
I agree with sooner is better, I will help in updating documentations and everything I can Tell me what I can do :) Best On 6/2/13, Chad Horohoe choro...@wikimedia.org wrote: On Sun, Jun 2, 2013 at 5:32 AM, legoktm legoktm.wikipe...@gmail.com wrote: One thing I didn't notice on the plan is

Re: [Pywikipedia-l] SVN reaching end of life - migration plan needed

2013-06-05 Thread Amir Ladsgroup
, Amir Ladsgroup ladsgr...@gmail.com wrote: I agree with sooner is better, I will help in updating documentations and everything I can Tell me what I can do :) Best On 6/2/13, Chad Horohoe choro...@wikimedia.org wrote: On Sun, Jun 2, 2013 at 5:32 AM, legoktm legoktm.wikipe...@gmail.com

Re: [Pywikipedia-l] SVN reaching end of life - migration plan needed

2013-06-05 Thread Amir Ladsgroup
On Thu, Jun 6, 2013 at 1:08 AM, Maarten Dammers maar...@mdammers.nl wrote: Hi Chad, Op 5-6-2013 16:49, Chad Horohoe schreef: Everyone seems to be ok with doing this sooner rather than later, so how about we pencil in the date of June 14th (next Friday)? Hold your horses please. I

Re: [Pywikipedia-l] SVN access

2013-07-04 Thread Amir Ladsgroup
As a PWB dev I support him (or her?) but we will migrate to gerrit in 6 July and after that (a while after) we can give +2 access to him or her Best On 7/4/13, Dr. Trigon dr.tri...@surfeu.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can somebody with admin rights comment on this

Re: [Pywikipedia-l] GIT Migration

2013-07-10 Thread Amir Ladsgroup
Dear Dr. Trigon There is a page for this migration [1] and if you don't know how to work with git (or you don't know to work in gerrit) this page [2] is a very good help please tell us your username in gerrit in order to add your name in initial +2 group [1]:

Re: [Pywikipedia-l] GIT Migration

2013-07-11 Thread Amir Ladsgroup
about the first date (6 July) It's changed and postponed [6] so don't need to do any thing for commit right now (use the old SVN way to commit) your svn account won't work there you should make an account as It's told in [2] at first you make an account in wikitech [7] and after that you should

Re: [Pywikipedia-l] GIT Migration

2013-07-13 Thread Amir Ladsgroup
On 12.07.2013 11:07, Alex Brollo wrote: Please, don't forget the KISS principle I (and probabily other) am a little discouraged when reading this mail list. :-( Alex brollo 2013/7/12 Amir Ladsgroup ladsgr...@gmail.com mailto:ladsgr...@gmail.com about the first date (6 July

Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
On 7/18/13, Strainu strain...@gmail.com wrote: 2013/7/18 Chad Horohoe choro...@wikimedia.org: On Wed, Jul 17, 2013 at 2:07 PM, Strainu strain...@gmail.com 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.

Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
...@wikimedia.org wrote: On Wed, Jul 17, 2013 at 2:27 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: On 7/18/13, Strainu strain...@gmail.com wrote: 2013/7/18 Chad Horohoe choro...@wikimedia.org: On Wed, Jul 17, 2013 at 2:07 PM, Strainu strain...@gmail.com wrote: Yes, it's working. I should

Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
maybe the manual that I wrote is wrong, can you check this? http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Installation#Download_PyWikipedia_with_Git Best On 7/18/13, Amir Ladsgroup ladsgr...@gmail.com wrote: I forwarded to you because I thought (and I still think) problem is GIT because

Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
OK, So please make a patch and I'll commit it (filing in sf.net would be better) Best On 7/18/13, Strainu strain...@gmail.com wrote: 2013/7/18 Amir Ladsgroup ladsgr...@gmail.com: maybe the manual that I wrote is wrong, can you check this? http://www.mediawiki.org/wiki/Manual:Pywikipediabot

Re: [Pywikipedia-l] SVN access

2013-07-21 Thread Amir Ladsgroup
If you're a member of +2 group, your patches will be merged immediately and you can review others' patches (+1 people) and reject or accept them: http://www.mediawiki.org/wiki/Gerrit/Tutorial#Who_can_review.3F_Gerrit_project_owners Best On 7/21/13, i...@gno.de i...@gno.de wrote: As a PWB dev

Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread Amir Ladsgroup
I started using git (for mediawiki patches) this number was same and never changed Best On 7/21/13, Dr. Trigon dr.tri...@surfeu.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13.07.2013 12:43, Amir Ladsgroup wrote: and I think we should update this Cool thank you very much

Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread Amir Ladsgroup
It's port number On 7/22/13, Amir Ladsgroup ladsgr...@gmail.com wrote: Thank you my first thought was maybe you didn't submit your username correctly the correct username is DrTrigon (T should be capital), would you mind trying this? and you must add the number (It's not revision number

Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread Amir Ladsgroup
Lego didn't participate in this discussion (in here at least). I'm Amir aka User:Ladsgroup :) the only one left in +2 group is dear xqt and Ryan Lane told me that he would sort out xqt issue today but he is in different timezone so we have to wait a while. I don't know where the word compat

Re: [Pywikipedia-l] SVN access

2013-07-23 Thread Amir Ladsgroup
Dear Melijn: I think we both know that pywiki devs don't review theirs' commits you can see tons of new commits in code review (current system, SVN) and beside that we can have a automated pre-commit review. like a bot that checks If the code doesn't crash and after that let the patch merges and

Re: [Pywikipedia-l] GIT Migration

2013-07-23 Thread Amir Ladsgroup
https://blog.wikimedia.org/2013/07/23/pywikipediabot-moving-to-git-on-july-26/ Best On 7/23/13, Dr. Trigon dr.tri...@surfeu.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Amir Somehow part of the message got lost, so here a full copy: Thank you my first thought was maybe

Re: [Pywikipedia-l] SVN access

2013-07-25 Thread Amir Ladsgroup
- Hash: SHA1 On 23.07.2013 12:29, Amir Ladsgroup wrote: Dear Melijn: I think we both know that pywiki devs don't review theirs' commits you can see tons of new commits in code review (current system, SVN) and beside that we can have a automated pre-commit review. like a bot that checks If the code

Re: [Pywikipedia-l] Gitt migration and nightlies

2013-07-25 Thread Amir Ladsgroup
I set up this: http://tools.wmflabs.org/pywikipedia/ based on this: http://toolserver.org/~pywikipedia/nightly/ I'm not sure It's working or not (updated will be effected or not) but I'll find out very soon so please update documentations and If someone wants to help I'll be glad! Best On

Re: [Pywikipedia-l] Gitt migration and nightlies

2013-07-25 Thread Amir Ladsgroup
P.S. Sorry for delay On 7/25/13, Amir Ladsgroup ladsgr...@gmail.com wrote: I set up this: http://tools.wmflabs.org/pywikipedia/ based on this: http://toolserver.org/~pywikipedia/nightly/ I'm not sure It's working or not (updated will be effected or not) but I'll find out very soon so

Re: [Pywikipedia-l] Gitt migration and nightlies

2013-07-25 Thread Amir Ladsgroup
P.S. Sorry for delay On 7/25/13, Amir Ladsgroup ladsgr...@gmail.com wrote: I set up this: http://tools.wmflabs.org/pywikipedia/ based on this: http://toolserver.org/~pywikipedia/nightly/ I'm not sure It's working or not (updated will be effected or not) but I'll find out very soon so

[Pywikipedia-l] We are officially using Gerrit now :)

2013-07-26 Thread Amir Ladsgroup
Congratulations! SVN server is now read-only and I made a test commit in gerrit system [1] you can read more about the migration in the blog post [2] some changes are made too: *pywikibot-commits mailing list are created and replaced pywikipedia-svn you can join in [3] (we are working on importing

Re: [Pywikipedia-l] Gitt migration and nightlies

2013-07-26 Thread Amir Ladsgroup
to move this to the pywikibot project instead of placing in in a seperate project Again, thanks! Merlijn On 25 July 2013 18:55, Amir Ladsgroup ladsgr...@gmail.com wrote: I set up this: http://tools.wmflabs.org/pywikipedia/ based on this: http://toolserver.org/~pywikipedia/nightly/ I'm

Re: [Pywikipedia-l] Gitt migration and nightlies

2013-07-26 Thread Amir Ladsgroup
All done now I redirected pywikipedia to pywikibot Best On 7/27/13, Amir Ladsgroup ladsgr...@gmail.com wrote: 1- you're right I'm checking it 2- are you sure? externals are included http://tools.wmflabs.org/pywikipedia/core/externals/ http://tools.wmflabs.org/pywikipedia/core/externals

Re: [Pywikipedia-l] python styling (pep8/pyflakes)

2013-07-30 Thread Amir Ladsgroup
I use sublime and I found this https://github.com/tanelpuhu/sublime-text-2-packages/tree/master/Python%20PEP8%20Autoformat Sublime is so much better than other editors in programming. I really recommend you to test it Best On 7/30/13, Antoine Musso hashar+...@free.fr wrote: Le 30/07/13 10:52,

[Pywikipedia-l] Bugzilla

2013-08-14 Thread Amir Ladsgroup
This bug needs your attention: https://bugzilla.wikimedia.org/show_bug.cgi?id=52692 We have to discuss on components I suggest to add Wikidata components to the list. I suggest we remove some very old components too. Please discuss in

Re: [Pywikipedia-l] Making installation of PWB a little bit more user-freindly

2013-08-15 Thread Amir Ladsgroup
Alex has a point. We need to write a detailed help about the PWB rewrite branch Best On Thu, Aug 15, 2013 at 12:31 PM, Amir Ladsgroup ladsgr...@gmail.comwrote: On Wed, Aug 14, 2013 at 11:40 PM, Merlijn van Deen valhall...@arctus.nlwrote: Hi Amir, On 14 August 2013 16:22, Amir

Re: [Pywikipedia-l] Making installation of PWB a little bit more user-freindly

2013-08-17 Thread Amir Ladsgroup
I will help as much as I can. Just tell me On Sat, Aug 17, 2013 at 2:40 PM, Dr. Trigon dr.tri...@surfeu.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.08.2013 01:48, Alex Brollo wrote: I feel a big need of a detailed help page to run /shared/pywikipedia/compat into Labs,

[Pywikipedia-l] BeautifulSoup

2013-08-19 Thread Amir Ladsgroup
Hello folks We had some discussions in the IRC channel about BS. There are so many problems about using BS in different systems. So many people don't want to run patch.exe and so many people are using servers for running bots and don't have permission to do that. My suggestion is using the old

Re: [Pywikipedia-l] Switch to HTTPS, implications for Pywikibot?

2013-08-20 Thread Amir Ladsgroup
We just need to do some setups. It's not a big deal. I'll put it in my TODO list On Tue, Aug 20, 2013 at 8:27 AM, Morten Wang nett...@gmail.com wrote: I noticed this message from a thread on wikitech-l and wikibots-l: http://lists.wikimedia.org/pipermail/wikibots-l/2013-August/000353.html

Re: [Pywikipedia-l] Switch to HTTPS, implications for Pywikibot?

2013-08-20 Thread Amir Ladsgroup
I made two changes and this changes has to be merged ASAP https://gerrit.wikimedia.org/r/80003 https://gerrit.wikimedia.org/r/80006 after that bot operators just need to update On Tue, Aug 20, 2013 at 1:27 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: We just need to do some setups. It's

Re: [Pywikipedia-l] ascii encode error in upload.py

2013-08-21 Thread Amir Ladsgroup
can you run it in debugging mode? I mean add -v to the code: python upload.py -family:tropical -keep -filename:Pwbicon.png -noverify Pwbicon.png The Pywikipediabot icon -v Best On Wed, Aug 21, 2013 at 2:49 PM, AugurNZ augu...@orcon.net.nz wrote: The file I'm trying to upload is the *.png

Re: [Pywikipedia-l] Cruft in compat

2013-08-25 Thread Amir Ladsgroup
See this: http://sourceforge.net/p/pywikipediabot/bugs/1633/ The problem is we can't set all of patches for all of users. So many people are not interested in running IRC bots or image handling bots, so They don't need to download almost 100M for that Best On 8/24/13, John

Re: [Pywikipedia-l] Switch to HTTPS, implications for Pywikibot?

2013-08-25 Thread Amir Ladsgroup
Thank you :) On 8/24/13, Merlijn van Deen valhall...@arctus.nl wrote: On 20 August 2013 23:46, Merlijn van Deen valhall...@arctus.nl wrote: SSLHandshakeError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Small update

Re: [Pywikipedia-l] Cruft in compat

2013-08-25 Thread Amir Ladsgroup
modules would do the same thing, without running exicutibles on windows computers. Just because someone haphazardly threw stuff together without thinking it through doesnt mean its acceptable On Sun, Aug 25, 2013 at 5:23 AM, Amir Ladsgroup ladsgr...@gmail.comwrote: See this: http

[Pywikipedia-l] Name of the project

2013-08-30 Thread Amir Ladsgroup
Hi, Name of this project is really confusing. sometimes we use pywikipedia, sometimes pywikibot, and sometimes more strange names like PyWikipediaBot: I think we have to move this page and all of the subpages to Pywikibot. As we used this name in the Git repository, new mailing lists, and so many

Re: [Pywikipedia-l] Name of the project

2013-08-31 Thread Amir Ladsgroup
their sources: * Python Wikipedia Robot Framework * Pywikipediabot * Pywikipedia * Pywikibot * pwb * not to forget wikibooks on [3] Cool! Be Bold! [3] https://en.wikibooks.org/wiki/Pywikibot Greetings On 31.08.2013 06:37, Amir Ladsgroup wrote: Hi, Name of this project is really confusing

Re: [Pywikipedia-l] Token not found

2013-09-02 Thread Amir Ladsgroup
I had same problem but I updated it and it worked. I think you still use svn, you have to download latest git version Best On 9/2/13, Bojan Kalkan boki...@gmail.com wrote: Why am I getting following message Received incomplete XML data. Sleeping for 30 seconds... WARNING: Token not found on

Re: [Pywikipedia-l] Name of the project

2013-09-02 Thread Amir Ladsgroup
On 9/3/13, Maarten Dammers maar...@mdammers.nl wrote: Hi Amir, Op 31-8-2013 6:37, Amir Ladsgroup schreef: Hi, Name of this project is really confusing. sometimes we use pywikipedia, sometimes pywikibot, and sometimes more strange names like PyWikipediaBot: I think we have to move

Re: [Pywikipedia-l] Breaking change to ItemPage sources interface

2013-09-05 Thread Amir Ladsgroup
Thank you Legoktm and FelixReimann :) On Thu, Sep 5, 2013 at 4:45 AM, legoktm legoktm.wikipe...@gmail.com wrote: Hi all, I have just merged a change[1] into core which introduces a breaking change to reading sources when using an ItemPage. The change now parses multi-claim sources properly

Re: [Pywikipedia-l] Guide for migration from SVN to Git update

2013-09-07 Thread Amir Ladsgroup
On Fri, Sep 6, 2013 at 1:46 PM, Steen Thomassen steen.thomas...@gmail.comwrote: Den 05-09-2013 17:03, legoktm skrev: Is https://www.mediawiki.org/**wiki/Manual:Pywikipediabot/**Gerrithttps://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrituseful to you? No. Not for me. I have not

Re: [Pywikipedia-l] Guide for migration from SVN to Git update

2013-09-07 Thread Amir Ladsgroup
On Sun, Sep 8, 2013 at 2:37 AM, Steen Thomassen steen.thomas...@gmail.comwrote: Den 07-09-2013 18:51, Amir Ladsgroup skrev: On Fri, Sep 6, 2013 at 1:46 PM, Steen Thomassen steen.thomas...@gmail.com wrote: Den 05-09-2013 17:03, legoktm skrev: Is https://www.mediawiki.org/wiki

Re: [Pywikipedia-l] Guide for migration from SVN to Git update

2013-09-09 Thread Amir Ladsgroup
I always use git stash git pull And It works for me On Mon, Sep 9, 2013 at 3:56 PM, Merlijn van Deen valhall...@arctus.nlwrote: On 9 September 2013 12:31, i...@gno.de wrote: +1 There is a problem with changes on the working copy which are not committed or stashed. Pulling the repo often

[Pywikipedia-l] Pywikibot

2013-09-20 Thread Amir Ladsgroup
I just moved all of page and subpages of Manual:Pywikipediabot to Manual:Pywikibot in mediawiki.org Please help us on updating documentations Cheers -- Amir ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

Re: [Pywikipedia-l] Mailing lists

2013-09-23 Thread Amir Ladsgroup
Hello *pywikipedia-svn is already closed and we massively subscribed members of pywikipedia-svn in pywikibot-commits-l *we use pywikipedia-bugs as the same wikibugs-l. this mailing list is the default assignee (in BZ) and with every change the system sends e-mail to the mailing list and

Re: [Pywikipedia-l] Damned git

2013-10-01 Thread Amir Ladsgroup
On 10/1/13, Jan Dudík jan.du...@gmail.com wrote: I still don't understand, why was abandoned SVN and is there some git instead. Git despite being pain in the ass sometimes because of complexity is a pretty damn good version control system In svn times when there was some critical problem,

[Pywikipedia-l] Next Bugday: ''Pywikibot'' ''20:00 Thursday, October 24, 2013 - Sunday, October 27 22:00'' UTC

2013-10-17 Thread Amir Ladsgroup
Hello, Please join us on the next Wikimedia Bugday: 20:00 Thursday, October 24, 2013 - Sunday, October 27 22:00 UTC[1] in #pywikipediabot on Freenode IRC [2] We will be triaging bug reports pywikibot [3]. Pywikibot recently moved its code repository from SVN to Git and its bugtracker from

Re: [Pywikipedia-l] Core and Compat

2013-10-18 Thread Amir Ladsgroup
Hi On 10/18/13, Gerard Meijssen gerard.meijs...@gmail.com wrote: Hoi, Ok ... ten questions ... I want to publish the answers on my blog before the pywikipedia bugday (october 24)... if only to get as many people as possible to attend. When I send questions, I always indicate that some

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

2013-10-19 Thread Amir Ladsgroup
you need to install httlib2 for running core if you're more comfortable with older versions you can use compat instead of core, I bet you are more familiar with it Best On 10/19/13, Samat sama...@gmail.com wrote: Hi Strainu, Thanks for your answer! I have tried your advice, but it is still

[Pywikipedia-l] [Pywikipedia-announce] Fwd: Next Bugday: ''Pywikibot'' ''20:00 Thursday, October 24, 2013 - Sunday, October 27 22:00'' UTC

2013-10-20 Thread Amir Ladsgroup
Hello, Please join us on the next Wikimedia Bugday: 20:00 Thursday, October 24, 2013 - Sunday, October 27 22:00 UTC[1] in #pywikipediabot on Freenode IRC [2] We will be triaging bug reports pywikibot [3]. Pywikibot recently moved its code repository from SVN to Git and its bugtracker from

[Pywikipedia-l] bugday reminder

2013-10-24 Thread Amir Ladsgroup
Hello all Just a quick reminder: This is starting now and you're welcome to join at any time in the next days. Just say hello on IRC the bug day will start in 3 hours more info: https://www.mediawiki.org/wiki/Bug_management/Triage/20131024 Best -- Amir

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

2013-11-01 Thread Amir Ladsgroup
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 can use more hands to port codes from compat to core, improve handling wikidata and we can make our future developers by working in this projects and attract some

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

2013-11-02 Thread Amir Ladsgroup
The third and the forth issue are obvious Thank you again and best On 11/2/13, Bináris wikipo...@gmail.com wrote: 2013/11/2 Amir Ladsgroup ladsgr...@gmail.com But there is a problem per Google rules. I can't be a mentor because I'm Iranian (and I can't be a mentor or participant in GSoC

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

2013-11-05 Thread Amir Ladsgroup
to extract the list I'll tell you in the next hour :) Strainu 2013/11/2 Quim Gil q...@wikimedia.org: On 11/02/2013 10:14 AM, Amir Ladsgroup wrote: Thank you Bináris and Strainu :) The link is here: https://www.mediawiki.org/wiki/Google_Code-In#Bots And the link to register as GCI

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

2013-11-05 Thread Amir Ladsgroup
been widely used: commonscat.py nowcommons.py pagefromfile.py protect.py reflinks.py unusedfiles.py welcome.py Best On Tue, Nov 5, 2013 at 2:30 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: Thank you Strainu :) On Tue, Nov 5, 2013 at 1:35 PM, Strainu strain...@gmail.com wrote: I've

Re: [Pywikipedia-l] gerrit patch uploader

2013-11-21 Thread Amir Ladsgroup
I need to add what Merlijn said is correct for any kind of patch submitting. For example if you're using linux and you want to amend a patch you just need to change it and git add file.py and git commit and add change id to commit summary and git review -R and it'll be done! Best On Nov 21, 2013

Re: [Pywikipedia-l] Commonscat.py

2013-11-22 Thread Amir Ladsgroup
Hello, Please run it in verbose mode (add -v) and copy output here Best On Nov 22, 2013 4:25 AM, Bojan Kalkan boki...@gmail.com wrote: I'm getting 'last move nof defined' and disabiguationpage does not exist'. Can somebody tell me why? ___

Re: [Pywikipedia-l] Commonscat.py

2013-11-22 Thread Amir Ladsgroup
Are you using out-dated pwb? can you run version.py and give the output? because I fixed it (or I thought I fixed it) like a couple weeks ago Best On Fri, Nov 22, 2013 at 3:16 PM, Bojan Kalkan boki...@gmail.com wrote: This is output C:\pywikipediacommonscat.py -new -v Config.py WARNING:

Re: [Pywikipedia-l] Commonscat.py

2013-11-22 Thread Amir Ladsgroup
retry with downloading from https://tools.wmflabs.org/pywikibot It will work :) Best On Fri, Nov 22, 2013 at 4:17 PM, Bojan Kalkan boki...@gmail.com wrote: On 11/22/2013 1:27 PM, Amir Ladsgroup wrote: Are you using out-dated pwb? can you run version.py and give the output? because I fixed

Re: [Pywikipedia-l] Please check -search

2013-11-22 Thread Amir Ladsgroup
I added this to my TODO list and finally I got time to look up in codes and finally found it: https://gerrit.wikimedia.org/r/#/c/97058/ Best On Sat, Jul 27, 2013 at 9:58 PM, Bináris wikipo...@gmail.com wrote: 2013/7/27 Amir Ladsgroup ladsgr...@gmail.com It's not better to run it this way

Re: [Pywikipedia-l] Wikidata review

2013-11-28 Thread Amir Ladsgroup
Done :) On 11/27/13, Strainu strain...@gmail.com wrote: 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 strain...@gmail.com: Thank you! Here

[Pywikipedia-l] Submission about PWB

2014-01-08 Thread Amir Ladsgroup
Hello all, I think it would be cool if PWB has a submission in Wikimania 2014 (not like previous years that PWB had a workshop, if we can have both it would very cool). So I want to submit for a submission but at first I want to know everyone is okay with that and anybody willing to help or

Re: [Pywikipedia-l] Submission about PWB

2014-01-08 Thread Amir Ladsgroup
Oh that's cool. I meant something general about what's pywikibot. I'll submit. Best On Wed, Jan 8, 2014 at 9:51 PM, Bináris wikipo...@gmail.com wrote: I didn't know that there wasn't any submission in the previous years. :-)

Re: [Pywikipedia-l] Submission about PWB

2014-01-08 Thread Amir Ladsgroup
Me too :) On Thu, Jan 9, 2014 at 10:54 AM, Gerard Meijssen gerard.meijs...@gmail.comwrote: I hope to see you there Op 9 jan. 2014 08:23 schreef Amir Ladsgroup ladsgr...@gmail.com: Oh that's cool. I meant something general about what's pywikibot. I'll submit. Best On Wed, Jan 8, 2014

Re: [Pywikipedia-l] Submission about PWB

2014-01-09 Thread Amir Ladsgroup
Submitted: https://wikimania2014.wikimedia.org/wiki/Submissions/Bots_and_Pywikibot Any ideas are very welcome Best On Thu, Jan 9, 2014 at 11:07 AM, Amir Ladsgroup ladsgr...@gmail.com wrote: Me too :) On Thu, Jan 9, 2014 at 10:54 AM, Gerard Meijssen gerard.meijs...@gmail.com wrote: I

Re: [Pywikipedia-l] Submission about PWB

2014-01-10 Thread Amir Ladsgroup
Done :) On Fri, Jan 10, 2014 at 9:37 AM, Gerard Meijssen gerard.meijs...@gmail.comwrote: Hoi, I would mention Wikidata ... this is a change that happened in the last year as well.. Thanks, Gerard On 9 January 2014 18:39, Amir Ladsgroup ladsgr...@gmail.com wrote: Submitted: https

Re: [Pywikipedia-l] Version numbers

2014-01-15 Thread Amir Ladsgroup
Another thing that I think it's important is the difference between git and svn is the way you can commit. In svn it's linear, you commit after another commit but in git it's like a tree you can make branches and merge them with the main branch seperately so a number can't be a good way of

Re: [Pywikipedia-l] mitmproxy: sniffing pywikibot traffic to debug network issues

2014-01-17 Thread Amir Ladsgroup
On Fri, Jan 17, 2014 at 7:26 PM, i...@gno.de wrote: - Original Nachricht Von: Merlijn van Deen valhall...@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 16.01.2014 21:40 Betreff: [Pywikipedia-l] mitmproxy: sniffing pywikibot traffic

Re: [Pywikipedia-l] Ignore Changes not staged for commit

2014-01-31 Thread Amir Ladsgroup
yes, there is a file named .gitignore or something like that, see it Best On Fri, Jan 31, 2014 at 12:26 PM, Mpaa mpaa.w...@gmail.com wrote: Hi. Is there a way to avoid having these to file to always show up as non-staged? $ git status # On branch cat # Changes not staged for commit: #

Re: [Pywikipedia-l] Ignore Changes not staged for commit

2014-01-31 Thread Amir Ladsgroup
are versioned, so can we git-ignore? On Fri, Jan 31, 2014 at 11:22 AM, Amir Ladsgroup ladsgr...@gmail.comwrote: yes, there is a file named .gitignore or something like that, see it Best On Fri, Jan 31, 2014 at 12:26 PM, Mpaa mpaa.w...@gmail.com wrote: Hi. Is there a way to avoid having

[Pywikipedia-l] bugs

2014-01-31 Thread Amir Ladsgroup
Hi all, There are 294 bugs that are unsolved, unprioritized, and unconfirmed, in other words we have almost 300 bugs that no one has even touched it yet. [1] I thought about another bug triage but I have an idea, let's split it up the list and work on them. What do you think? a triage or a

Re: [Pywikipedia-l] bugs

2014-01-31 Thread Amir Ladsgroup
Okay but who wants to help for the first pass? are you in? On Fri, Jan 31, 2014 at 6:42 PM, Antoine Musso hashar+...@free.fr wrote: Le 31/01/14 13:30, Amir Ladsgroup a écrit : Hi all, There are 294 bugs that are unsolved, unprioritized, and unconfirmed, in other words we have almost 300

Re: [Pywikipedia-l] Any volunteers around?

2014-02-21 Thread Amir Ladsgroup
I'm very busy these days settling down in a new place but I'll work on this, but I don't promise :) Best On Fri, Feb 21, 2014 at 11:23 PM, Dr. Trigon dr.tri...@surfeu.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Somebody interessted in or looking for a small project? What about

[Pywikipedia-l] Zürich Hackathon and pywikibot

2014-03-06 Thread Amir Ladsgroup
Hello all, Zürich Hackathon will be held in 9-11 May and It is a great opportunity to improve pywikibot, I want to have presentation about how we can help pywikibot and I want to discuss about bugs and reporting and wrangling them (prioritizing and categorizing them) how to make a patch in gerrit,

Re: [Pywikipedia-l] Zürich Hackathon and pywikibot

2014-03-06 Thread Amir Ladsgroup
this? Maarten Amir Ladsgroup schreef op 6-3-2014 18:51: Hello all, Zürich Hackathon will be held in 9-11 May and It is a great opportunity to improve pywikibot, I want to have presentation about how we can help pywikibot and I want to discuss about bugs and reporting and wrangling them (prioritizing

Re: [Pywikipedia-l] MySQLPageGenerator and Tool*

2014-03-08 Thread Amir Ladsgroup
Running bot via reading dumps is implemented with xmlreader.py no need to do that, I have tons of code which used xmlreader. I can send it to you (to see how we can use xmlreader) or write a manual for it Best On Sat, Mar 8, 2014 at 9:16 PM, Strainu strain...@gmail.com wrote: Hi Maarten,

Re: [Pywikipedia-l] Zürich Hackathon and pywikibot

2014-03-18 Thread Amir Ladsgroup
wrote: Le 06/03/2014 18:51, Amir Ladsgroup a écrit : Zürich Hackathon will be held in 9-11 May and It is a great opportunity to improve pywikibot, I want to have presentation about how we can help pywikibot and I want to discuss about bugs and reporting and wrangling them (prioritizing

Re: [Pywikipedia-l] A question on wikidata

2014-03-18 Thread Amir Ladsgroup
Do you still need help? On Tue, Mar 18, 2014 at 3:14 PM, Mpaa mpaa.w...@gmail.com wrote: OK, thanks anyway On Tue, Mar 18, 2014 at 11:43 AM, Mpaa mpaa.w...@gmail.com wrote: hi all. can someone help with my question below? Thanks Mpaa On 18 March 2014 10:16, Mpaa

Re: [Pywikipedia-l] A question on wikidata

2014-03-18 Thread Amir Ladsgroup
also you can use xmlreader and read dumps of wikidata. On Tue, Mar 18, 2014 at 3:47 PM, Felix Reimann fe...@fex-it.de wrote: Am 18.03.2014 11:52, schrieb Thomas Douillard: Hi, no to my knowledge it is not possible with pywikibot because Wikidata itself cannot do that atm (it will be

[Pywikipedia-l] Solving fatal pywikibot bug in Windows

2014-03-28 Thread Amir Ladsgroup
Hello all, As you may know due to bug 61846https://bugzilla.wikimedia.org/show_bug.cgi?id=61846, It is impossible to run pywikibot in Windows It was because git version control system doesn't work properly in systems that git isn't installed (obviously) and decrypting txt files in .git folder

Re: [Pywikipedia-l] Solving fatal pywikibot bug in Windows

2014-03-28 Thread Amir Ladsgroup
I forgot to add the patch https://gerrit.wikimedia.org/r/121891 and If you think this way is not best way to fix this issue, let's discuss because I tested every other possible way Best On Sat, Mar 29, 2014 at 4:11 AM, Amir Ladsgroup ladsgr...@gmail.com wrote: Hello all, As you may know

Re: [Pywikipedia-l] Solving fatal pywikibot bug in Windows

2014-03-29 Thread Amir Ladsgroup
/pywikibot/version.py) I didn't check who did this but I think git version numbers (and dates) are vital for debugging and bug reporting and I don't like reverting it, even though finding a solution for this bug took like 10 hours. Merlijn On 29 March 2014 00:43, Amir Ladsgroup ladsgr

Re: [Pywikipedia-l] Can I get commit access on Gerrit?

2014-03-30 Thread Amir Ladsgroup
This link is useful too http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit On 3/30/14, Hong, Yena li...@revi.pe.kr wrote: If I remember correctly, you can register [1] and account on wikitech is same with Gerrit account. You can see more about gerrit at [2]. [1]:

  1   2   >