Hi,
After a couple of experiments it seems to me that
*replace.py something otherthing -search:thing*
works in ALL BUT article namespace.
Could you please check where is the error?
--
Bináris
Hello there!
At first, I am really happy to see the pywikipedia framework is still
alive and very active.
As you may have noticed, whenever a change is send to Gerrit that
triggers Jenkins jobs that run the code style utilities pep8 and pyflakes.
It seems your code is not passing the style checks so whenever they fail
it is not going to prevent you from merging the code.
I am not sure how your community likes pep8/pyflakes. But I think it
would be nice to have the code repositories to pass those tests and
enforce authors to follow them. You can still have some pep8 checks
ignored such as the "line too long".
The questions are:
Is there any interest in making your repositories pep8 compliants?
If so, is there anything I can do to help? :-]
--
Antoine "hashar" Musso
On 10 August 2013 11:26, Dr. Trigon <dr.trigon(a)surfeu.ch> wrote:
> Pywikibot finished GIT migration. Now a question has anybody ever
> tryed to clone and use the e.g. the pywikibot/compat repo on the TS?
> If I do, I get and .git folder of about 200MB which nearly fills my
> home quota. (this is the plain clone - nothing done to/with it yet!!)
>
Thanks to Chad:
valhallasw@lisilwen:~/src/pwb$ git clone
https://gerrit.wikimedia.org/r/pywikibot/compat tmp
Cloning into 'tmp'...
remote: Counting objects: 37472, done
remote: Finding sources: 100% (37472/37472)
remote: Getting sizes: 100% (864/864)
remote: Compressing objects: 100% (600634/600634)
remote: Total 37472 (delta 26599), reused 37439 (delta 26591)
Receiving objects: 100% (37472/37472), 8.05 MiB | 275 KiB/s, done.
Resolving deltas: 100% (26611/26611), done.
8.05MB. Beat that! :-) (the checkout itself accounts for the remaining 6
MB, totaling to 14 MB)
Merlijn
Hi.
I pulled from git the compat version and I got these errors when trying to
get pages from en, wikisource.
Getting [[Category:Author pages linking to Wikipedia]] list...
Getting 125 pages from wikisource:en...
WARNING: Missing namespace in family file wikisource: namespace['en'][114]
(it is set to 'Translation')
WARNING: Missing namespace in family file wikisource: namespace['en'][115]
(it is set to 'Translation talk')
I guess these namespaces need to be added to wikisource_family.py
BTW, I operate MpaaBot on en:WS based on pywikipediabot. I have 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 for my knowledge level and interest.
Bye
Mpaa
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
other places
https://www.mediawiki.org/wiki/PWB
What do you think? Is there any objection or suggestion?
Best
--
Amir
Ive been slowly getting more and more irritated by drtrigon's additions to
the code. The final straw was when I just converted to Git and discovered
that he is trying to run executables. This is bloatware plain and simple I
have seen the number of externals go from 2 to 17. Most of these are
probably for one or two pet programs that should never have been added to
the project as they are niche programs. I would really like to see things
streamlined and all of the cruft removed and get back to the nice library
that we had.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all
As I was creating new repos, I did a look at [1]:
pywikibot
pywikibot/compat
pywikibot/core
pywikibot/externals
pywikibot/externals/httplib2
pywikibot/i18n
pywikibot/sf-export
pywikibot/spelling
[1] https://gerrit.wikimedia.org/r/#/admin/projects/?filter=pywikibot
So in my opinion WE HAVE TO BE VERY CAREFUL NOT TO MESS UP THE CLEAN
STRUCTURE here! At the moment everything is still ok - but we might
have to write down some rules like e.g. external code belong to
pywikibot/externals/...
all other code is maintained by us. (By the way how is this supposed
to work? *wonder*)
I also requested a personal repo for me and my bot called
pywikibot/bots/drtrigonbot
I would strongly encourage or even force to use this or a similar repo
structure in order to keep everything nice and clean. We just have to
agree on something BEFORE we create a mess. The structure given in [2]
is e.g. out-dated now and needs and update.
[2] https://www.mediawiki.org/wiki/Git/Conversion/pywikipedia
Greetings
DrTrigon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlIczWgACgkQAXWvBxzBrDDw3gCfbyZY2hiWa8692AWpLmChkrXU
1poAn1x9SHMEyJDtA014EV0eqqtqb5yz
=ZAmR
-----END PGP SIGNATURE-----
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 system (an internal folder as an
external like i18n but I don't think we need to make another external)
but if you think we can do something else I'll be glad to discuss
Please keep in mind compatibility is one of the most important issues of PWB
Best
--
Amir