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

2014-03-30 Thread Amir Ladsgroup
Reviewed :) On 3/30/14, Ben McIlwain cydew...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/30/2014 12:26 AM, Hong, Yena wrote: 2014. 3. 30. 오후 1:21에 Ben McIlwain cydew...@gmail.com mailto:cydew...@gmail.com님이 작성: Can someone give me commit access on Gerrit, or if

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

2014-03-30 Thread Amir Ladsgroup
: On 29 March 2014 19:52, Amir Ladsgroup ladsgr...@gmail.com wrote: I looked for your patch but I couldn't find it, what was your technique? https://gerrit.wikimedia.org/r/#/c/113185/ Catching Exception instead of a specific exception or list of exceptions is a bad idea. It can mask all kinds

Re: [Pywikipedia-l] [Pywikipedia-bugs] [Bug 63280] New: WindowsError: [Error 2] Can not find the file specified

2014-03-30 Thread Amir Ladsgroup
wow, that's impressive but I made more than 140 commits under name of amir when svn was active: https://www.mediawiki.org/w/index.php?limit=100title=Special%3ACode%2Fpywikipediaauthor=amir On Mon, Mar 31, 2014 at 12:03 AM, bugzilla-dae...@wikimedia.org wrote:

Re: [Pywikipedia-l] [Pywikipedia-bugs] [Bug 63280] New: WindowsError: [Error 2] Can not find the file specified

2014-03-30 Thread Amir Ladsgroup
A quick question: are you owner of Benebot which is ruling in d:WD:RFD? On Mon, Mar 31, 2014 at 12:09 AM, Amir Ladsgroup ladsgr...@gmail.comwrote: wow, that's impressive but I made more than 140 commits under name of amir when svn was active: https://www.mediawiki.org/w/index.php?limit

Re: [Pywikipedia-l] KISS pywikipedia

2014-03-31 Thread Amir Ladsgroup
nightlies are good, what is the problem of them? On Mon, Mar 31, 2014 at 11:45 AM, Alex Brollo alex.bro...@gmail.com wrote: I admit that I've been very confused by svn shutdown, and migration to Gerrit; I see that difficult-to-understand talks pop out about problems and bugs about

[Pywikipedia-l] Closing pywikibot

2014-04-01 Thread Amir Ladsgroup
Due to technical problems, We need to close pywikibot immediately Any objections? -- :P Amir ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] KISS pywikipedia

2014-04-01 Thread Amir Ladsgroup
to click? Alex 2014-03-31 17:19 GMT+02:00 Amir Ladsgroup ladsgr...@gmail.comjavascript:_e(%7B%7D,'cvml','ladsgr...@gmail.com'); : nightlies are good, what is the problem of them? On Mon, Mar 31, 2014 at 11:45 AM, Alex Brollo alex.bro...@gmail.comjavascript:_e(%7B%7D,'cvml','alex.bro

Re: [Pywikipedia-l] Closing pywikibot

2014-04-01 Thread Amir Ladsgroup
No, Today is April 4th, Isn't it? On Tue, Apr 1, 2014 at 11:28 AM, rubin.happy rubin.ha...@gmail.com wrote: 1 April? :) 2014-04-01 10:36 GMT+04:00 Amir Ladsgroup ladsgr...@gmail.com: Due to technical problems, We need to close pywikibot immediately Any objections? -- :P Amir

Re: [Pywikipedia-l] versionHistories

2014-04-05 Thread Amir Ladsgroup
I made a patch to fix it https://gerrit.wikimedia.org/r/121891 Review it please :) On 4/5/14, Bináris wikipo...@gmail.com wrote: What kind of configuration this mess wants me? As far as I know trunk never needed any configuration except user files. Tell me only one reason not to be angry.

[Pywikipedia-l] maintenance-bot

2014-04-09 Thread Amir Ladsgroup
Hello all, I just finished setting up a system to update codes of core and compat (for now just updating language by size but developing this system is very easy and very soon I'll add other things) As a result you can see this commit https://gerrit.wikimedia.org/r/125009that has been done

Re: [Pywikipedia-l] maintenance-bot

2014-04-11 Thread Amir Ladsgroup
Where did I use it? On Fri, Apr 11, 2014 at 7:25 PM, YiFei zhuyifei1...@gmail.com wrote: Hi, would you mind avoiding using carriage returns (\r)? 2014-04-09 21:52 GMT+00:00 Amir Ladsgroup ladsgr...@gmail.com: Hello all, I just finished setting up a system to update codes of core

Re: [Pywikipedia-l] maintenance-bot

2014-04-12 Thread Amir Ladsgroup
It's probably a bug in wikimedia_site.py, I'm going to figure it out Best On 4/12/14, Legoktm legoktm.wikipe...@gmail.com wrote: On 04/11/2014 10:21 PM, Amir Ladsgroup wrote: Where did I use it? https://gerrit.wikimedia.org/r/#/c/125009/1/families/wikipedia_family.py,cm for example

Re: [Pywikipedia-l] maintenance-bot

2014-04-16 Thread Amir Ladsgroup
for Zurich so I will probably do the presentation Best On Sun, Apr 13, 2014 at 7:56 PM, i...@gno.de wrote: Normally it shouldn't care because you should be able to config CR/LF settings via git. xqt - Original Nachricht Von: Amir Ladsgroup ladsgr...@gmail.com

Re: [Pywikipedia-l] Bot request: 250+ thousands person data

2014-04-26 Thread Amir Ladsgroup
I can do it and I have approval for it, I'll start tomorrow Best On Sun, Apr 27, 2014 at 12:08 AM, Jan Dudík jan.du...@gmail.com wrote: Or import with https://www.wikidata.org/wiki/User:Underlying_lk/harvest_template_old.py which allows to import dates (timedate) too --- Ing. Jan Dudík

[Pywikipedia-l] Guideline for codes of PWB

2014-05-09 Thread Amir Ladsgroup
Hello, As a discussion we had in Hackathon today, we concluded there is a need for guideline for our codes (something like WP:MoS for codes) there is already thishttps://www.mediawiki.org/wiki/Manual:Coding_conventions/Pythonbut it's not for us and we can use it though Some things I suggest to

Re: [Pywikipedia-l] Guideline for codes of PWB

2014-05-11 Thread Amir Ladsgroup
I just started it in here: https://www.mediawiki.org/wiki/Manual:Pywikibot/Development_guideline I need to work on it so much more and any help would be really appreciated Best On Fri, May 9, 2014 at 10:09 PM, Bináris wikipo...@gmail.com wrote: A style guide for variable naming would be

Re: [Pywikipedia-l] Guideline for codes of PWB

2014-05-16 Thread Amir Ladsgroup
a huge part of pep8 is dedicated to the naming style: http://legacy.python.org/dev/peps/pep-0008/#id26 for example names of functions has to be lowercase and name of classes has to be CamelCase, etc. On Fri, May 16, 2014 at 1:09 PM, Pyfisch pyfi...@googlemail.com wrote: I just want to mention

Re: [Pywikipedia-l] Guideline for codes of PWB

2014-05-17 Thread Amir Ladsgroup
and if we can reach a consensus about the guideline, we'll start enforcing it and adding it to pages. Please feel free to edit (and add things) mercilessly Best On Fri, May 16, 2014 at 6:26 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: a huge part of pep8 is dedicated to the naming style: http

Re: [Pywikipedia-l] Volunteering Developer looking for a start!

2014-05-20 Thread Amir Ladsgroup
Hi, Thank you for being interested in pywikibot! There is a guideline for developmenthttps://www.mediawiki.org/wiki/Manual:Pywikibot/Development_guidelinein pywikibot. you can find open tasks to do there, things like bug triage or porting scripts from compat to core Best On Tue, May 20, 2014

[Pywikipedia-l] Moving Manual:Pywikibot to Pywikibot

2014-05-23 Thread Amir Ladsgroup
Hello all, Based on several discussions here and there I want to move [[Manual:Pywikibot]] https://www.mediawiki.org/wiki/PWB (and all of the subpages which are about 200 pages) to [[Pywikibot]] like other products Another reason that motivates me to move is the page (and subpages) aren't just

Re: [Pywikipedia-l] Moving Manual:Pywikibot to Pywikibot

2014-05-26 Thread Amir Ladsgroup
Hi, On Mon, May 26, 2014 at 12:57 PM, Merlijn van Deen valhall...@arctus.nlwrote: Hi Amir, On 24 May 2014 03:52, Amir Ladsgroup ladsgr...@gmail.com wrote: Based on several discussions here and there I want to move [[Manual:Pywikibot]] https://www.mediawiki.org/wiki/PWB (and all

Re: [Pywikipedia-l] Pywikibot documentation [was: Guidelines for codes of PWB]

2014-05-26 Thread Amir Ladsgroup
My idea about documentation is something mediawiki's API, we have a documentation in in codes as docstring but for further information we refer people to a page in mediwki.org something like this: http://en.wikipedia.org/w/api.php ** list=geosearch (gs) ** Returns pages around the given point

Re: [Pywikipedia-l] problems saving a page with empty text

2014-05-28 Thread Amir Ladsgroup
It has been done intentionally and I think it's a right thing to do, you can bypass it by saving a dot instead of nothing Best On Wed, May 28, 2014 at 9:13 AM, Ian Kelling i...@iankelling.org wrote: My first experience with pywikibot, downloaded core, i wanted to change a few pages.

Re: [Pywikipedia-l] problems saving a page with empty text

2014-05-28 Thread Amir Ladsgroup
I checked compat and there is force parameter implemented but It's completely useless (it hasn't used in code) Can you open a bug for it in bugzilla? I'll work on it. Best On Wed, May 28, 2014 at 7:11 PM, Ian Kelling i...@iankelling.org wrote: Amir Ladsgroup ladsgr...@gmail.com writes

Re: [Pywikipedia-l] Splitting Wikibase classes

2014-06-01 Thread Amir Ladsgroup
I agree but one question: 1- Currently for defining an item we work this way [1] item = pywikibot.ItemPage.fromPage(page) So Do you mean after the change we need to something like this?: item = pywikibot.wikibase.ItemPage.fromPage(page) or from pywikibot import wikibase or It's just a backend

Re: [Pywikipedia-l] PWB vs AWB

2014-06-01 Thread Amir Ladsgroup
Sounds like a good idea, Go ahead :) Best On 6/1/14, Ricordisamoa ricordisa...@openmailbox.org wrote: I propose to create a tracking bug for all features present in AutoWikiBrowser but not in our 'core' (e.g. gerrit:118795 https://gerrit.wikimedia.org/r/118795). Even if the user targets of

Re: [Pywikipedia-l] Pywikibot and Wikimania

2014-06-07 Thread Amir Ladsgroup
Thank you :) On 6/7/14, Antoine Musso hashar+...@free.fr wrote: Le 06/06/2014 22:32, Amir Ladsgroup a écrit : Hello all, The submission https://wikimania2014.wikimedia.org/wiki/Submissions/Bots_and_Pywikibot about pywikibot got accepted and it'll be given in August 10, 11:30-12:00

Re: [Pywikipedia-l] reflinks.py under GPL?

2014-06-08 Thread Amir Ladsgroup
IIRC NicDumZ https://en.wikipedia.org/wiki/User:NicDumZ was the original writer of the code, I send them an e-mail about this Best On Sun, Jun 8, 2014 at 8:07 AM, Ricordisamoa ricordisa...@openmailbox.org wrote: I found this in the source code of scripts/reflinks.py: Distributed under the

Re: [Pywikipedia-l] getters and setters

2014-06-08 Thread Amir Ladsgroup
The page.text is the correct approach. It may cause lots of function calls in backend but it's easier to use and one of the best advantage of this approach is you can change page's text several times and flush it away with a simple page.save() almost as the same as other objects in programing

Re: [Pywikipedia-l] getters and setters

2014-06-08 Thread Amir Ladsgroup
the entire API will help consumers understand it more easily. On Sun, Jun 8, 2014 at 4:49 AM, Amir Ladsgroup ladsgr...@gmail.com wrote: At the end I suggest to work on the standards (page.text instead of page.put() ) but keep compat compatibility. i.e. make a function like this in Page

Re: [Pywikipedia-l] pep257 docstring style checker

2014-06-13 Thread Amir Ladsgroup
Oh boy. This is a lot. we really need to work on that, we can split up the work and start. Best On Fri, Jun 13, 2014 at 9:11 PM, Antoine Musso hashar+...@free.fr wrote: Le 13/06/2014 12:47, Ricordisamoa a écrit : You must see this! https://github.com/GreenSteam/pep257 Just run it on our

[Pywikipedia-l] Pywikibot mailing list page redesigned

2014-06-13 Thread Amir Ladsgroup
Hello, As you may now, the pages of pywikibot mailing lists (*Pywikipedia-l* https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l, *Pywikipedia-bugs* https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs, *Pywikipedia-announce*

Re: [Pywikipedia-l] drop support for python 2.6

2014-06-14 Thread Amir Ladsgroup
I think you're looking for this: https://www.mediawiki.org/wiki/Manual:Pywikibot/Survey2012 On 6/15/14, Bináris wikipo...@gmail.com wrote: Good for me, but some people use Pywiki in an environment where Python version is up to sysop's decision and they don't run to update. There was a survey

Re: [Pywikipedia-l] Pywikibot mailing list page redesigned

2014-06-15 Thread Amir Ladsgroup
We can make a new mailing list named pywikibot-l and mass-subscribe pywikipedia-l members and then close pywikipedia-l We did this for pywikibot-commits, but the archives would be disconnected If you think it's okay to do this with cost of archive disconnection, show your support so We will start

Re: [Pywikipedia-l] Page delete and protect

2014-06-17 Thread Amir Ladsgroup
I disagree, I wrote lots of codes that deletion is a part of them (e.g. this code for deleting items in Wikidata https://www.wikidata.org/wiki/User:Ladsgroup/del.py). Maybe there is one usage of them in core but it has been widely used in customized codes. Best On Mon, Jun 16, 2014 at 8:17 PM,

Re: [Pywikipedia-l] Pywikibot bug triage

2014-07-03 Thread Amir Ladsgroup
And you can add your name in here https://www.mediawiki.org/wiki/Bug_management/Triage/20140724 Best On Thu, Jul 3, 2014 at 9:55 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: Hello, There will be the next round of bug triage https://www.mediawiki.org/wiki/Bug_management/How_to_triage

Re: [Pywikipedia-l] Feedback on pywikibot-core

2014-07-04 Thread Amir Ladsgroup
Thank you, this is helpful, I want to work on some of them: - Use gzip compression by default - Make it easy to add a user-agent header and give examples of a good one in the documentation for it (see https://meta.wikimedia.org/wiki/User-agent_policy) - Add Python 3 compatibility

Re: [Pywikipedia-l] Feedback on pywikibot-core

2014-07-05 Thread Amir Ladsgroup
/pywikipedia-l/2014-June/008886.html On Sat, Jul 5, 2014 at 1:15 AM, Amir Ladsgroup ladsgr...@gmail.com wrote: Thank you, this is helpful, I want to work on some of them: Use gzip compression by default Make it easy to add a user-agent header and give examples of a good one

Re: [Pywikipedia-l] Feedback on pywikibot-core

2014-07-06 Thread Amir Ladsgroup
I made some comments in the talk page. Best On Sun, Jul 6, 2014 at 10:58 AM, John Mark Vandenberg jay...@gmail.com wrote: On Sat, Jul 5, 2014 at 9:19 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: I think this blog post would help us a lot (it suggests in stream compression we use zlib

[Pywikipedia-l] Two issues

2014-07-10 Thread Amir Ladsgroup
Hello all, 1- Don't forget about the bug triage. The blog post just published https://blog.wikimedia.org/2014/07/10/pywikibot-will-have-its-next-bug-triage-on-july-24%e2%88%9227/ so you can read and use it to advertise. 2- As our talk in here

Re: [Pywikipedia-l] Two issues

2014-07-10 Thread Amir Ladsgroup
not be bigger then the advantage. 2014-07-10 20:47 GMT+02:00 Amir Ladsgroup ladsgr...@gmail.com: Hello all, 1- Don't forget about the bug triage. The blog post just published https://blog.wikimedia.org/2014/07/10/pywikibot-will-have-its-next-bug-triage-on-july-24%e2%88%9227/ so you can read and use

Re: [Pywikipedia-l] Two issues

2014-07-10 Thread Amir Ladsgroup
As ISO 8859 supports % character, this sounds like a reasonable solution for me. we need to just use urllib2 library to encode it. Best On Thu, Jul 10, 2014 at 11:53 PM, Jeremy Baron jer...@tuxmachine.com wrote: On Jul 10, 2014 2:48 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: 2- As our

Re: [Pywikipedia-l] Two issues

2014-07-10 Thread Amir Ladsgroup
Just sent an e-mail to wikitech-l Best On Fri, Jul 11, 2014 at 12:40 AM, Frances Hocutt frances.hoc...@gmail.com wrote: On Thu, Jul 10, 2014 at 12:36 PM, Jeremy Baron jer...@tuxmachine.com wrote: On Jul 10, 2014 3:30 PM, Bináris wikipo...@gmail.com wrote: I don't see anything like a

Re: [Pywikipedia-l] Two issues

2014-07-11 Thread Amir Ladsgroup
On Fri, Jul 11, 2014 at 1:23 PM, Antoine Musso hashar+...@free.fr wrote: Le 10/07/2014 21:29, Amir Ladsgroup a écrit : As ISO 8859 supports % character, this sounds like a reasonable solution for me. we need to just use urllib2 library to encode it. That it is a bit hard to read though :-D

Re: [Pywikipedia-l] Two issues

2014-07-18 Thread Amir Ladsgroup
I made a patch to add any customized user agent and (username would be default) and if the person doesn't want to add any user agent, they just can set it to https://gerrit.wikimedia.org/r/#/c/147381/ I would be happy for any comments regarding this patch Best On Mon, Jul 14, 2014 at 2:08

[Pywikipedia-l] Remider: Next bug triage for pywikibot starts in less than 24 hours

2014-07-23 Thread Amir Ladsgroup
Hello all, This e-mail is just a reminder for you that next bug triage for pywikibot https://www.mediawiki.org/wiki/Bug_management/Triage/20140724 will start tomorrow 10:00 UTC. You are very welcome to join. For further information see this blog post

Re: [Pywikipedia-l] Remider: Next bug triage for pywikibot starts in less than 24 hours

2014-07-23 Thread Amir Ladsgroup
*Reminder :D On Wed, Jul 23, 2014 at 6:33 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: Hello all, This e-mail is just a reminder for you that next bug triage for pywikibot https://www.mediawiki.org/wiki/Bug_management/Triage/20140724 will start tomorrow 10:00 UTC. You are very welcome

Re: [Pywikipedia-l] new components in Bugzilla

2014-07-24 Thread Amir Ladsgroup
I suggest we add xmlreader to components. I faced it a lots On 7/24/14, Thehelpfulone thehelpfulonew...@gmail.com wrote: Please can you make a request in Bugzilla, create a new bug under Wikimedia - Bugzilla component so that the request to add components is publicly logged? Let me know when

Re: [Pywikipedia-l] The build is broken

2014-07-26 Thread Amir Ladsgroup
it was another bug that John and Ricordisamoa are talking about. On 7/27/14, i...@gno.de i...@gno.de wrote: This is not a bug in testing. The test detects a bug for archivebot.py which fails for unsigned threads. xqt - Ursprüngliche Nachricht - Von: John Mark Vandenberg Gesendet:

Re: [Pywikipedia-l] The build is broken

2014-07-26 Thread Amir Ladsgroup
, maybe. I just saw your fixes at my Talk page(s). xqt - Ursprüngliche Nachricht - Von: Amir Ladsgroup Gesendet: 26.07.2014 23:22 An: Pywikibot discussion list Betreff: Re: [Pywikipedia-l] The build is broken it was another bug that John and Ricordisamoa are talking about. On 7/27/14

Re: [Pywikipedia-l] new version item on Bugzilla

2014-07-26 Thread Amir Ladsgroup
Agree Another thing is some bugs are for specially python versions (in all of them it's mentioned) but we don't have anything to categorize them but we have really redundant options like web browser, mobile platform. I don't know is it possible to change or remove these parts? Best On 7/27/14,

Re: [Pywikipedia-l] best place for general feature requests?

2014-07-27 Thread Amir Ladsgroup
I think the Hackathon and IRC (and here) are the best places to discuss about this If you want to make a feature request the best place is bugzilla you need to mark to severity to enhancement but these issues are more general than what people usually report in bugzilla. Another thing:

Re: [Pywikipedia-l] Pywikibot bug triage

2014-07-28 Thread Amir Ladsgroup
Pywikibot bug triage is finished now and during the event 189 bugs were changed and 39 one of them were closed. Considering that pywikibot currently has about 450 bugs, that's quite good. A big thank you to people who joined and participated. Best On 7/3/14, Amir Ladsgroup ladsgr...@gmail.com

Re: [Pywikipedia-l] [Wikitech-ambassadors] Pywikibot bug triage

2014-07-28 Thread Amir Ladsgroup
The links to record are in https://www.mediawiki.org/wiki/Bug_management/Triage/20140724#Results And there is incomplete report in https://etherpad.wikimedia.org/p/BugTriage Ricordisamoa did a lot too, thank you :) Best On 7/28/14, Federico Leva (Nemo) nemow...@gmail.com wrote: Amir Ladsgroup

Re: [Pywikipedia-l] best place for general feature requests?

2014-07-30 Thread Amir Ladsgroup
Hey! On 7/29/14, Merlijn van Deen valhall...@arctus.nl wrote: Hi Amir, On 27 July 2014 07:14, Amir Ladsgroup ladsgr...@gmail.com wrote: Another thing: pywikipedia-l isn't a hospitable place? Today, I discussed this with Frances and Sumana a bit, and these are my thoughts on it. Basically

Re: [Pywikipedia-l] The build is broken

2014-08-01 Thread Amir Ladsgroup
to the talk page. i.e. to allow also None as test result in line 63 of archivebot_test.py Mpaa On Sun, Jul 27, 2014 at 1:44 AM, Amir Ladsgroup ladsgr...@gmail.com wrote: Sorry for doing that. I had to do it but I didn't have time to check archivebot.py (which is a huge code) and find best fix

Re: [Pywikipedia-l] The build is broken

2014-08-02 Thread Amir Ladsgroup
Mpaa: I meant getting section date by getting history and analyzing revisions instead of checking signature on them. Best On 8/2/14, Mpaa mpaa.w...@gmail.com wrote: @Amir If a section is unsigned and there is no timestamp, how can you find sections via their revision timestamp? And expect

Re: [Pywikipedia-l] Gerrit notification

2014-08-04 Thread Amir Ladsgroup
Hi Xqt, This strange, I receive about one hundred mails every day since I'm in forwarding list of reviewers but you shouldn't, if you are subscribed to pywikibot-commits, you should receive an e-mail every time a patch got merged (so two or three mails everyday) or you're a reviewer in certain

Re: [Pywikipedia-l] welcome.py and -break

2014-08-10 Thread Amir Ladsgroup
For me it breaks with or without -break: ladsgroup@tools-dev:~/core-clean$ python pwb.py welcome -lang:fa Traceback (most recent call last): File pwb.py, line 157, in module run_python_file(fn, argv, argvu) File pwb.py, line 67, in run_python_file exec(compile(source, filename, exec),

Re: [Pywikipedia-l] network Task Force

2014-08-10 Thread Amir Ladsgroup
I will help you if you create the task force (we can create a a page in mediawiki.org too). It's not the userinfo thing. I think we need inspect some famous scripts to check where redundant data is transferring. Best On Wed, Aug 6, 2014 at 6:39 PM, Russell Blau russb...@imapmail.org wrote:

[Pywikipedia-l] i18n in Pywikibot

2014-08-14 Thread Amir Ladsgroup
Hello, Yesterday after some talks in IRC we thought It would be good if we kill off the i18n submodule and bring the files into core, compat will have the i18n folder but won't receive any updates. One of major advantage of this action is making installation of pywikibot so much easier. Another

Re: [Pywikipedia-l] i18n in Pywikibot

2014-08-14 Thread Amir Ladsgroup
I forgot to mention the patch: [1]: https://gerrit.wikimedia.org/r/151114 On 8/14/14, Amir Ladsgroup ladsgr...@gmail.com wrote: Hello, Yesterday after some talks in IRC we thought It would be good if we kill off the i18n submodule and bring the files into core, compat will have the i18n

Re: [Pywikipedia-l] i18n in Pywikibot

2014-08-14 Thread Amir Ladsgroup
/#/q/project:pywikibot/i18n,n,z [2] https://github.com/wikimedia/pywikibot-core/graphs/commit-activity [3] https://bugzilla.wikimedia.org/show_bug.cgi?id=66897 Best On 8/15/14, Antoine Musso hashar+...@free.fr wrote: Le 14/08/2014 15:00, Amir Ladsgroup a écrit : Hello, Yesterday after some

Re: [Pywikipedia-l] Alternative Logo

2014-08-17 Thread Amir Ladsgroup
/COM:DR -Yena Hong (Revi) http://www.revi.pe.kr -- Sent from Android -- 2014. 8. 17. 오후 4:27에 Amir Ladsgroup ladsgr...@gmail.com님이 작성: it's really good, python logo is uploaded under GPL license but It's PSF actually. and AFAIK it's not compatible with cc-by-sa Any use of a derived

[Pywikipedia-l] Standard argument parsing

2014-08-25 Thread Amir Ladsgroup
Hello, pywikibot doesn't use standard arguments and argument parsing For example a standard input should be like this: python pwb.py replace something something else --page=python --always or python pwb.py replace something something else --p python -a And in back-end, pywikibot uses sysargv for

Re: [Pywikipedia-l] Standard argument parsing

2014-08-25 Thread Amir Ladsgroup
deprecate them then. and It's easier to use -p instead of -page ;) Best On Mon, Aug 25, 2014 at 3:39 PM, Merlijn van Deen valhall...@arctus.nl wrote: On 25 August 2014 13:00, Amir Ladsgroup ladsgr...@gmail.com wrote: Hello, pywikibot doesn't use standard arguments and argument parsing

Re: [Pywikipedia-l] Standard argument parsing

2014-08-26 Thread Amir Ladsgroup
On 8/25/14, Merlijn van Deen valhall...@arctus.nl wrote: On 25 August 2014 13:50, Amir Ladsgroup ladsgr...@gmail.com wrote: No, zip http://linux.about.com/od/commands/a/blcmdl1_zipx.htm and rar http://comptb.cects.com/using-the-winrar-command-line-tools-in-windows/ both use standard system

Re: [Pywikipedia-l] Standard argument parsing

2014-08-26 Thread Amir Ladsgroup
No, We can replace first : in arguments to = and feed them to argprase afterwards so no change in user-frontend (and supporting more ways to work with pywikibot) Best On 8/26/14, Strainu strain...@gmail.com wrote: 2014-08-26 16:39 GMT+03:00 Amir Ladsgroup ladsgr...@gmail.com: My main proposal

Re: [Pywikipedia-l] welcome.py and -break

2014-09-04 Thread Amir Ladsgroup
I just checked (I fixed the locale thing) It fell in endless check and never stops Best On 9/2/14, Merlijn van Deen valhall...@arctus.nl wrote: On 10 August 2014 12:08, Amir Ladsgroup ladsgr...@gmail.com wrote: locale.Error: unsupported locale setting i.e. you're using a locale that's

Re: [Pywikipedia-l] deprecated featured.py

2014-09-07 Thread Amir Ladsgroup
As a person who is working on badges in both Wikidata and Wikipedia, I think we should wait for a while. In it,fr,es,ru,pt,ca, and several other wikis still we can't remove Link FA and Link GA because they populate categories like this

Re: [Pywikipedia-l] deprecated featured.py

2014-09-07 Thread Amir Ladsgroup
Von: Amir Ladsgroup ladsgr...@gmail.com An: Pywikibot discussion list pywikipedia-l@lists.wikimedia.org Datum: 07.09.2014 19:18 Betreff: Re: [Pywikipedia-l] deprecated featured.py As a person who is working on badges in both Wikidata and Wikipedia, I think we should wait

Re: [Pywikipedia-l] Interested in opw Round 9 pywikibot

2014-09-18 Thread Amir Ladsgroup
Hi, I added two projects to OPW projects (raw for now), hopefully you can work on them: https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects#Raw_projects (If anyone interested in mentoring that would be awesome) Best On 9/15/14, John Mark Vandenberg jay...@gmail.com wrote: Hi

Re: [Pywikipedia-l] For contribution

2014-10-02 Thread Amir Ladsgroup
Hi Kumari, Thank you for your interest. There is a guideline to help newbies contribute more efficiently [1] If you want to fix an issue, I suggest you to see list of unresolved bugs [2] and take one of them. [1]: https://www.mediawiki.org/wiki/Manual:Pywikibot/Development_guidelines [2]:

Re: [Pywikipedia-l] how to locally setup

2014-10-06 Thread Amir Ladsgroup
What did you exactly mean by saying 'setup'? did you made user-config file? On Sun, Oct 5, 2014 at 6:40 PM, Kumari Shalini shaliniroy...@gmail.com wrote: Hi, I successfully setup environment locally but when i run python login.py it doesn't ask for any password ao please help me out. --

Re: [Pywikipedia-l] how to locally setup

2014-10-06 Thread Amir Ladsgroup
You should run python pwb.py scriptname instead of running it directly so you should run python pwb.py login in base directory ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] how to locally setup

2014-10-09 Thread Amir Ladsgroup
your user-config is: # -*- coding: utf-8 -*- family = 'mediawiki' mylang = 'en' usernames['mediawiki']['en'] = u'shalini' but it should be: # -*- coding: utf-8 -*- family = 'mediawiki' mylang = 'mediawiki' usernames['mediawiki']['mediawiki'] = u'shalini' Best On Thu, Oct 9, 2014 at 10:15 PM,

Re: [Pywikipedia-l] how to locally setup

2014-10-10 Thread Amir Ladsgroup
I suggest you to start running some scripts and get yourself used to pywikibot system. This is the list of related documentations: - Basic use https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Pywikibot/Basic_use - Scripts

Re: [Pywikipedia-l] Google Code-In 2014: Become a mentor and add tasks!

2014-11-03 Thread Amir Ladsgroup
Anyone interested? please tell if you're interested :) Best On 11/3/14, Andre Klapper aklap...@wikimedia.org wrote: Hi Pywikibot crew, Google Code-In (GCI) will soon take place again - a contest for 13-17 year old students to contribute to free software projects. Wikimedia wants to take

Re: [Pywikipedia-l] Pywikobot and phabricator

2014-11-14 Thread Amir Ladsgroup
If you are using the mailing list (pywikipedia-bugs) to track bugs you don't need to worry, All of the phabricators e-mails will go through the old mailing list and won't change for you. If you worry about bugs that you are cc'd and maybe you'll lose it the only thing you need to do is making an

Re: [Pywikipedia-l] Pywikobot and phabricator

2014-11-14 Thread Amir Ladsgroup
On Fri, Nov 14, 2014 at 10:42 PM, Andre Klapper aklap...@wikimedia.org wrote: Hi, On Fri, 2014-11-14 at 08:23 +0100, Bináris wrote: In a lucky case we will loose the tracked e-mail threads again. Once on SF when I opened a new bug or contributed to one, I immediately marked the e-mail

Re: [Pywikipedia-l] Alternative logo (again)

2014-12-23 Thread Amir Ladsgroup
If it doesn't contradict with copyright I'm okay with a brand new logo :) Best On Tue, Dec 23, 2014 at 8:18 PM, Ricordisamoa ricordisa...@openmailbox.org wrote: What do you think of the new (proposed) logo? I think it's great, though it uses WMF colors while Pywikibot aims to work with every

Re: [Pywikipedia-l] Styleguide

2015-01-15 Thread Amir Ladsgroup
Hey, Your answer is here: https://lists.wikimedia.org/pipermail/pywikipedia-l/2014-May/008711.html The result of the discussion is this, please complete it as you wish: https://www.mediawiki.org/wiki/Manual:Pywikibot/Development_guidelines Best On 1/15/15, Fabian Neundorf

Re: [Pywikipedia-l] Time for breaking changes

2015-03-05 Thread Amir Ladsgroup
Main milestone that keeps us from releasing pywikibot 2 is i18n. The patch https://gerrit.wikimedia.org/r/#q,I6e2c63db039854dd8d009d837b2e6b9d11ba217a,n,z that allows pywikibot to use json file is still under review and at first we have to wait until another patch

Re: [Pywikipedia-l] Revise your old patches

2015-02-22 Thread Amir Ladsgroup
So what do you suggest? If a CS is old enough, rebase is the least of the problems. On Sun, Feb 22, 2015 at 3:00 PM, John Mark Vandenberg jay...@gmail.com wrote: On Sun, Feb 22, 2015 at 10:16 PM, John Mark Vandenberg jay...@gmail.com wrote: On Sun, Feb 22, 2015 at 7:40 PM, Amir Ladsgroup

Re: [Pywikipedia-l] Revise your old patches

2015-02-22 Thread Amir Ladsgroup
Let's start with rebasing old patches and see if they are still valid. Best On Sun, Feb 22, 2015 at 2:46 PM, John Mark Vandenberg jay...@gmail.com wrote: On Sun, Feb 22, 2015 at 7:40 PM, Amir Ladsgroup ladsgr...@gmail.com wrote: Hey, There are about 200 open patches in pywikibot right now

Re: [Pywikipedia-l] Revise your old patches

2015-02-22 Thread Amir Ladsgroup
The main concern is losing good but on-hold patches in a big load of redundant, obsolete and problematic patches. I start reviewing and rebasing, etc. On Sun, Feb 22, 2015 at 3:18 PM, John Mark Vandenberg jay...@gmail.com wrote: On Sun, Feb 22, 2015 at 10:33 PM, Amir Ladsgroup ladsgr

[Pywikipedia-l] Revise your old patches

2015-02-22 Thread Amir Ladsgroup
Hey, There are about 200 open patches in pywikibot right now, huge part of them are obsolete, really problematic, or redundant patches. Please revise your old patches and abandon ones that are not needed anymore. Best -- Amir ___ Pywikipedia-l mailing

Re: [Pywikipedia-l] Python MediaWiki developers meetup at Lyon hackathon

2015-05-06 Thread Amir Ladsgroup
I will be there, for sure :) On Wed, May 6, 2015 at 2:23 PM Antoine Musso hashar+...@free.fr wrote: On 03/05/15 21:35, Legoktm wrote: A few people who work on some Python MediaWiki libraries started talking on IRC today about how much duplication there is in the ecosystem, resulting

[Pywikipedia-l] Connecting to github community

2015-05-05 Thread Amir Ladsgroup
Hey, Github has a huge community of developers that collaborating with them can be beneficial for us and them but Wikimedia codes are in gerrit (and in future in phabricator) and our bug tracker is in phabrictor. sometimes It feels we are in another planet. Wikimedia has a mirror in github but we

[Pywikipedia-l] [RFC] Compat deprecation

2015-05-17 Thread Amir Ladsgroup
Hey all, There is a task in phabricator about deprecating compat [1]. Compat de facto is deprecated already, and It's more matter of community engagement and helping people to migrate. Please feel free to comment. [1] https://phabricator.wikimedia.org/T99365 Best

[Pywikipedia-l] Nightly creator

2015-04-13 Thread Amir Ladsgroup
Hello, the nightly files sometimes doesn't work properly due to different issues. Sometimes it's a complicated bug but usually it can be fixed easily. So I put the commands of nightly creator in github [1] and change cron of pywikibot service to clone this repo and follow it i.e. the nightly

<    1   2