Re: [Pywikipedia-l] Tox jobs are only triggered for whitelisted person

2015-01-16 Thread Mpaa
Hi. Is there anyone taking care of extending whitelist to +2? It is very convenient to see test results after submitting a patch. Mpaa On Fri, Jan 16, 2015 at 2:45 AM, Ricordisamoa wrote: > So, what would it take to make +2 people automatically 'trusted'? > > Il 15/01/2015

Re: [Pywikipedia-l] Tox jobs are only triggered for whitelisted person

2015-01-15 Thread Mpaa
You might as well add the missing ones to that same patch then. Mpaa On Thu, Jan 15, 2015 at 8:00 PM, Legoktm wrote: > On 01/15/2015 10:42 AM, Fabian Neundorf wrote: > > Okay and I don't want to beg for 'trusted' status, but this basically > > means that any C+

Re: [Pywikipedia-l] "results" in APIQuery?

2014-11-21 Thread Mpaa
thanks On Fri, Nov 21, 2014 at 2:15 AM, John Mark Vandenberg wrote: > On Thu, Nov 20, 2014 at 6:13 AM, Mpaa wrote: > > I would like to have a real example where this line and the following are > > used: > > - > > > https://github.com/wikimedia/pywikibot-core/blo

Re: [Pywikipedia-l] "results" in APIQuery?

2014-11-19 Thread Mpaa
the key > to "pages". See also: > https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/data/api.py#L1467 > On 19 Nov 2014 23:39, "Mpaa" wrote: > >> Hi. >> >> Can someone point out an API query that uses "re

[Pywikipedia-l] "results" in APIQuery?

2014-11-19 Thread Mpaa
Hi. Can someone point out an API query that uses "results" in self.data["query"][self.resultkey] Mpaa ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Pywikobot and phabricator

2014-11-17 Thread Mpaa
I have no opinion. I do not know the tools, so if you say that renaming is better, I trust you. Mpaa On Mon, Nov 17, 2014 at 2:08 PM, Andre Klapper wrote: > On Fri, 2014-11-14 at 23:20 +0100, Merlijn van Deen wrote: > > Filed that as https://phabricator.wikimedia.org/T1282 with bl

Re: [Pywikipedia-l] flake8 and nose tests on new patches

2014-08-28 Thread Mpaa
Is there a way to make flake8 consider only those files that are tracked in git? I have other untracked files in my core dir and flake8 generates warnings related to such files which are actually out of scope. That would be appreciated. Thanks Mpaa On Tue, Aug 19, 2014 at 10:39 AM, Antoine

Re: [Pywikipedia-l] The build is broken

2014-08-02 Thread Mpaa
@Amir If a section is unsigned and there is no timestamp, how can you find sections via their revision timestamp? And expect that the timestamp is a datetime object? Mpaa On Sat, Aug 2, 2014 at 8:57 AM, John Mark Vandenberg wrote: > Recently we had a few cases of code that didnt comp

Re: [Pywikipedia-l] The build is broken

2014-08-01 Thread Mpaa
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 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 f

Re: [Pywikipedia-l] cap_answerwikipedia?

2014-07-02 Thread Mpaa
t functional. Searching for 'cap_answerwikipedia' in the > project, I find only one result. Therefore, if the program reaches that > line, I think that it would cause an error like "undefined variable". > > > On Thu, Jul 3, 2014 at 2:46 AM, Mpaa wrote: > >&g

[Pywikipedia-l] cap_answerwikipedia?

2014-07-02 Thread Mpaa
Hi. Anyone knowing what is cap_answerwikipedia called in site.py is supposed to do and where it comes from? Thanks Mpaa ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] PWB vs AWB

2014-06-01 Thread Mpaa
Could you attach to the bug a link where we can find a list of AWB features to be ported? So there is a common reference to follow. Mpaa On Sun, Jun 1, 2014 at 10:40 AM, Ricordisamoa wrote: > Done as bug 65987 <https://bugzilla.wikimedia.org/show_bug.cgi?id=65987> > > Il 0

Re: [Pywikipedia-l] Mails from bugzilla?

2014-05-27 Thread Mpaa
rlijn > > > On 27 May 2014 20:23, Mpaa wrote: > >> Hi. >> >> I am not receiving mails from bugzilla since May, 14. >> Anything changed there? >> >> >> Mpaa >> >> ___ >> Pywikiped

[Pywikipedia-l] Mails from bugzilla?

2014-05-27 Thread Mpaa
Hi. I am not receiving mails from bugzilla since May, 14. Anything changed there? Mpaa ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] ArchiveBot

2014-05-03 Thread Mpaa
ebot.py)? Or the latter just chose another implementation for other reasons? Can someone shed some light? Thanks Mpaa [1] https://en.wikipedia.org/wiki/User:MiszaBot_III [2] https://en.wikipedia.org/wiki/User:Lowercase_sigmabot_III ___ Pywikipedia-l

Re: [Pywikipedia-l] versionHistories

2014-04-04 Thread Mpaa
Some more info to check. Core or Compat? Which Site/Page? Mpaa On Fri, Apr 4, 2014 at 11:26 PM, BinĂ¡ris wrote: > print len(page.getVersionHistory(getAll=True, reverseOrder=True)) > print len(page.fullVersionHistory(getAll=True, reverseOrder=True)) > > 3838 > 258 > > Where

Re: [Pywikipedia-l] Fwd: A question on wikidata

2014-03-18 Thread Mpaa
thanks to all I'll into your suggestions and get back if I need additional help. Mpaa On Tue, Mar 18, 2014 at 12:56 PM, Gerard Meijssen wrote: > Hoi, > http://208.80.153.172/api?q=string[214:%225726988%22] will give you > 3300924 as a result. He is > http://tools.wmflabs.o

Re: [Pywikipedia-l] A question on wikidata

2014-03-18 Thread Mpaa
OK, thanks anyway On Tue, Mar 18, 2014 at 11:43 AM, Mpaa wrote: > hi all. > > can someone help with my question below? > > Thanks > Mpaa > > > > > On 18 March 2014 10:16, Mpaa wrote: > >> Hi. >> >> Need some help from someone familiar with

[Pywikipedia-l] Fwd: A question on wikidata

2014-03-18 Thread Mpaa
hi all. can someone help with my question below? Thanks Mpaa On 18 March 2014 10:16, Mpaa wrote: > Hi. > > Need some help from someone familiar with wikidata. > > Is there a way with pywikibot to find out, given a certain value for a > Property, which Item has that particu

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

2014-01-31 Thread Mpaa
it seems so On Fri, Jan 31, 2014 at 3:12 PM, Merlijn van Deen wrote: > Does ignore=all work? > > > On 31 January 2014 13:32, Mpaa wrote: > >> This is mine: >> 1 [submodule "i18n"] >> 2 path = scripts/i18n >> 3 url = https://g

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

2014-01-31 Thread Mpaa
ed-content-dirty-submodule-entries-in-sta > > So the trick is to adapt .gitmodules, not .gitignore. > > Merlijn > > > On 31 January 2014 09:56, Mpaa wrote: > >> Hi. >> >> Is there a way to avoid having these to file to always show up as >> non-staged

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

2014-01-31 Thread Mpaa
at, see it > > Best > > > On Fri, Jan 31, 2014 at 12:26 PM, Mpaa 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

[Pywikipedia-l] Ignore Changes not staged for commit

2014-01-31 Thread Mpaa
sually these are various local configuration files that are edited, but should never be committed upstream. Git lets you ignore those files by assuming they are unchanged. This is done by running the git update-index --assume-unchanged path/to/file.txt but it is not a

Re: [Pywikipedia-l] Unknown command git

2014-01-11 Thread Mpaa
Hi. Quick hach waiting for Xqt. In pywikibot/version.py: try: #(tag, rev, date, hsh) = getversion_git() raise Exception Bye Mpaa On Sat, Jan 11, 2014 at 12:15 PM, wrote: > Binariz, I will send you a working release which I use an windows and svn > when I am back a

Re: [Pywikipedia-l] Unknown command git

2014-01-11 Thread Mpaa
ave no clue right know. Just a rough idea, if possible at all: it should be checked that you have git before invoking it or block the error message from the system. Regarding your second point, see it as an opportunity to learn :-) Bye Mpaa On Sat, Jan 11, 2014 at 11:39 AM, BinĂ¡ris wrote: &

Re: [Pywikipedia-l] RecentChangesLinked generator

2013-11-18 Thread Mpaa
Hi. I guess you are not interested in seeing just one entry per backlink, sorted in time from newest to oldest, or? Bye Mpaa On Mon, Nov 18, 2013 at 5:58 PM, Maarten Dammers wrote: > Hi guys, > > I wondered if anyone managed to implement a recent changed linked > generator in Py

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

2013-09-11 Thread Mpaa
for _filename in os.listdir(os.path.join(_base_dir, 'families')): OSError: [Errno 2] No such file or directory: '/home/username/.pywikibot/families' Looks like you have compat in "/home/username/pywikipedia/compat/" but _base_dir is '/home/username/.pywikibot' _base_dir is determined in the follo

Re: [Pywikipedia-l] Missing namespaces in Wikisource family?

2013-09-09 Thread Mpaa
ue to issues with port 29418 (BTW, very annoying, would be nicer to have it on port 22 ...) So if you feel like (or Legoktm, as he recently added a note) might be interested and take a look. Mpaa On Sun, Sep 8, 2013 at 6:43 PM, Merlijn van Deen wrote: > Hi Mpaa, > > On 25 August 20

Re: [Pywikipedia-l] Cruft in compat

2013-09-01 Thread Mpaa
Hi. I did not find any crash situation or bug to fix. I just tried to understand what was the root cause of the "missing logger" message, someone was complaining about. Which I described above (always assuming it is the correct one ...). Bye Mpaa On Sun, Sep 1, 2013 at 12:14 PM,

Re: [Pywikipedia-l] Cruft in compat

2013-08-31 Thread Mpaa
If you share this opinion, a refactoring would be appropriate? Bye Mpaa On Sat, Aug 31, 2013 at 11:23 PM, Dr. Trigon wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Good question - otherwise we have a bug here... > > > On 31.08.2013 19:38, i...@gno.de wrote: > >

[Pywikipedia-l] Missing namespaces in Wikisource family?

2013-08-24 Thread Mpaa
ave some python knowledge (but I'm not a professional developer) and would be nice to contribute to this project in my spare time. Any advice on where/how one could help? If I am welcome, you could list areas where you need help, and I could pick what is more suitable f