Indeed documentation ist that part of code which coders does mostly neglects. Anyway there are some hints: README.rst in core Folder https://www.google.de/#q=pwb.py+site:mediawiki.org
Seems our manual at mediawiki.org needs some cleanups. We had some discussions about this theme few days ago.
Best xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Xqt info@gno.de Datum: 02.06.2014 09:11 Betreff: Re: Re: [Pywikipedia-l] Deprecation of compat
2014-06-02 9:01 GMT+02:00 info@gno.de:
As I wroth with my last mail this behaviour is available since 3th june 2012 using the pwb.py wrapper script.
That wasn't quite clear for me at once, but thnak you, this is a great news!
Core has one million advantages on compat but easy-installation is not one of them, a week ago I was trying to teach some bot operators to migrate to core and there were three main problems:
1- core suggests people to make the user-config in a .pywikibot folder and people don't like this and changing it isn't easy (for example if you want to set it as current folder, like compat, which is a common act because people use several accounts and they need several pywikibot folders with separated user-config and the system doesn't let you to make a file in existing director, try doing this) 2- people don't know what command is best for installation: python pwb.py python generate_user_files.py python setup.py install python ez_setup.py
3- There is an extra external needed (httplib2) and there is no documentation (in files) at all about them and how we can install them, I learned about them by experience and this command won't work: http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit (my friend told me, I haven't checked it yet)
git submodule update --init
Helping to fix this would fix lots of user-friendliness issues Best
On Mon, Jun 2, 2014 at 12:47 PM, info@gno.de wrote:
Indeed documentation ist that part of code which coders does mostly neglects. Anyway there are some hints: README.rst in core Folder https://www.google.de/#q=pwb.py+site:mediawiki.org
Seems our manual at mediawiki.org needs some cleanups. We had some discussions about this theme few days ago.
Best xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Xqt info@gno.de Datum: 02.06.2014 09:11 Betreff: Re: Re: [Pywikipedia-l] Deprecation of compat
2014-06-02 9:01 GMT+02:00 info@gno.de:
As I wroth with my last mail this behaviour is available since 3th june 2012 using the pwb.py wrapper script.
That wasn't quite clear for me at once, but thnak you, this is a great news!
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On Mon, Jun 2, 2014 at 8:00 PM, Amir Ladsgroup ladsgroup@gmail.com wrote:
Core has one million advantages on compat but easy-installation is not one of them, a week ago I was trying to teach some bot operators to migrate to core and there were three main problems:
1- core suggests people to make the user-config in a .pywikibot folder and people don't like this and changing it isn't easy (for example if you want to set it as current folder, like compat, which is a common act because people use several accounts and they need several pywikibot folders with separated user-config and the system doesn't let you to make a file in existing director, try doing this)
This part of the startup is quite problematic, as the 'config directory' has three different sets of logic 1. pwb.py 2. generate_user_files.py get_base_dir() 3. pywikibot/config2.py _get_base_dir()
https://gerrit.wikimedia.org/r/#/c/87893/ tries to copy the logic in config2.py into pwb.py, but really we need one function that is reused in all three cases.
2- people don't know what command is best for installation: python pwb.py python generate_user_files.py python setup.py install python ez_setup.py
IMO we should promote 'python pwb.py' as the way that people start using pywiki.
3- There is an extra external needed (httplib2) and there is no documentation (in files) at all about them and how we can install them, I learned about them by experience and this command won't work: (my friend told me, I haven't checked it yet)
git submodule update --init
I quickly tested this , and it appears to be working correctly when used with 'python pwb.py scripts/xxxx.py'