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 legoktm.wikipe...@gmail.com 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+2able user

Re: [Pywikipedia-l] results in APIQuery?

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

[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] results in APIQuery?

2014-11-19 Thread Mpaa
the PageGenerator sets 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 mpaa.w...@gmail.com wrote: Hi. Can someone point out an API query that uses results in self.data[query][self.resultkey] Mpaa

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 aklap...@wikimedia.org wrote: On Fri, 2014-11-14 at 23:20 +0100, Merlijn van Deen wrote: Filed that as https://phabricator.wikimedia.org/T1282

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 jay...@gmail.com wrote: Recently we had a few cases of code

Re: [Pywikipedia-l] The build is broken

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

[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 ricordisa...@openmailbox.org wrote: Done as bug 65987 https://bugzilla.wikimedia.org/show_bug.cgi?id=65987

[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

Re: [Pywikipedia-l] Mails from bugzilla?

2014-05-27 Thread Mpaa
On 27 May 2014 20:23, Mpaa mpaa.w...@gmail.com wrote: 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

[Pywikipedia-l] ArchiveBot

2014-05-03 Thread Mpaa
)? 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 mailing list

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 mpaa.w...@gmail.com wrote: hi all. can someone help with my question below? Thanks Mpaa On 18 March 2014 10:16, Mpaa mpaa.w...@gmail.com wrote: Hi. Need some help from someone familiar with wikidata. Is there a way

[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 mpaa.w...@gmail.com 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 particular

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 gerard.meijs...@gmail.com wrote: Hoi, http://208.80.153.172/api?q=string[214:%225726988%22] will give you 3300924 as a result. He is http

[Pywikipedia-l] Ignore Changes not staged for commit

2014-01-31 Thread Mpaa
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 permanent solution. Bye Mpaa

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

2014-01-31 Thread Mpaa
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: # (use git add file... to update what will be committed) # (use git

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

2014-01-31 Thread Mpaa
-dirty-submodule-entries-in-sta So the trick is to adapt .gitmodules, not .gitignore. Merlijn On 31 January 2014 09:56, 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

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 valhall...@arctus.nlwrote: Does ignore=all work? On 31 January 2014 13:32, Mpaa mpaa.w...@gmail.com wrote: This is mine: 1 [submodule i18n] 2 path = scripts/i18n 3 url = https://gerrit.wikimedia.org/r/p

Re: [Pywikipedia-l] Unknown command git

2014-01-11 Thread Mpaa
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 wikipo

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, i...@gno.de wrote: Binariz, I will send you a working release which I use an windows and svn when I am back

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 maar...@mdammers.nlwrote: Hi guys, I wondered if anyone managed to implement a recent changed linked generator

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

Re: [Pywikipedia-l] Cruft in compat

2013-08-31 Thread Mpaa
Mpaa On Sat, Aug 31, 2013 at 11:23 PM, Dr. Trigon dr.tri...@surfeu.ch 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: logging should activated for those scripts listed in config.log list only

[Pywikipedia-l] Missing namespaces in Wikisource family?

2013-08-24 Thread Mpaa
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 for my knowledge level and interest. Bye Mpaa