[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
‪‫שלום אורי דנינו‬‎ ezt írta (időpont: 2021. jún. 4., P, 0:38):‬ > (if I understood the conversation, I didn't read everything) > Manual here: > > https://m.mediawiki.org/wiki/Manual:Pywikibot/Installation#Install_Pywikibot > Thank you! ___ pywikibot

[pywikibot] Re: Login with compat

2021-06-03 Thread שלום אורי דנינו
(if I understood the conversation, I didn't read everything) Manual here: https://m.mediawiki.org/wiki/Manual:Pywikibot/Installation#Install_Pywikibot It's better then pip, because here you get also the scripts and more tools בתאריך יום ה׳, 3 ביוני 2021, 14:56, מאת Bináris ‏: > Oh, I got it...

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
Oh, I got it... c:\Python37\Lib\site-packages\pywikibot\ Sucha an obscure place! Can I just move it to root? Ha can I set it up for SVN or git, where is the source? Bináris ezt írta (időpont: 2021. jún. 3., Cs, 13:51): > The manual says: > > pip install pywikibot > > Pip says "Successfully

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
The manual says: pip install pywikibot Pip says "Successfully installed pywikibot-6.3.0." But WHERE did it install? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Login with compat

2021-06-03 Thread info
Hi, > Am 03.06.2021 um 11:22 schrieb Bináris : > > OK, I am going to start with that, and thank you very much! > To convert my own replace.py is much easier than to add all features to > community version. > Now I have to return from far, far to understand the new concepts and being a >

[pywikibot] Re: Login with compat

2021-06-03 Thread info
Oh there are a lot of other issues too by I guess you are familiar enough with that stuff. Best xqt > Am 03.06.2021 um 11:24 schrieb Bináris : > >  > > > ezt írta (időpont: 2021. jún. 3., Cs, 11:20): >> Hi Binaris, >> >> btw compat is for Python 2 only. >> > Hi, > no problem with that,

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
ezt írta (időpont: 2021. jún. 3., Cs, 11:20): > Hi Binaris, > > btw compat is for Python 2 only. > > Hi, no problem with that, I have to add some parentheses and remove u from front of strings.I use both Python branches (2 now only for compat). Bináris

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
ezt írta (időpont: 2021. jún. 3., Cs, 11:14): > > > Current release of Wikimedia cluster is 1.37.0.-wmf.7 and you should > expect problems with old tokens soon if you still are using compat release. > :-((( > > I have restored the compat2core script which can be used for the > conversion. >

[pywikibot] Re: Login with compat

2021-06-03 Thread info
> Am 03.06.2021 um 07:40 schrieb Bináris : > >  > > > ezt írta (időpont: 2021. jún. 2., Sze, 23:05): >> Please be aware that other csrf tokens will be removed with mw 1.37 an can >> lead the compat release to fail. > Thank you! When is 1.37 due? Current release of Wikimedia cluster is

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
ezt írta (időpont: 2021. jún. 2., Sze, 23:05): > Please be aware that other csrf tokens will be removed with mw 1.37 an can > lead the compat release to fail. > Thank you! When is 1.37 due? -- Bináris ___ pywikibot mailing list --

[pywikibot] Re: Login with compat

2021-06-02 Thread info
Please be aware that other csrf tokens will be removed with mw 1.37 an can lead the compat release to fail. Best xqt > Am 02.06.2021 um 22:55 schrieb i...@gno.de: > > Hi, > > yes there is a manual about this: > > https://www.mediawiki.org/wiki/Manual:Pywikibot/compat-to-core_conversion >

[pywikibot] Re: Login with compat

2021-06-02 Thread info
Hi, yes there is a manual about this: https://www.mediawiki.org/wiki/Manual:Pywikibot/compat-to-core_conversion The compat2core script was archived in meantime but it can still be used. It also can restored to the supported scripts. Pleas also use the task noted there for any help. Best xqt

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
John ezt írta (időpont: 2021. jún. 2., Sze, 16:25): > Line 236: self.site._token[index] = data['login']['lgtoken'] + "+\\" > change to: > > try: > self.site._token[index] = data['login']['lgtoken'] + > "+\\" > except: > pass > >

[pywikibot] Re: Login with compat

2021-06-02 Thread John
Line 236: self.site._token[index] = data['login']['lgtoken'] + "+\\" change to: try: self.site._token[index] = data['login']['lgtoken'] + "+\\" except: pass On Wed, Jun 2, 2021 at 10:21 AM Bináris wrote: > Is there a manual to

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
Is there a manual to rewrite comat scripts to Pywikibot? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Login with compat

2021-06-02 Thread info
Hi Binaris, login2.py wasn’t shipped with compat. The login implementation looks like MediaWiki 1.27 and the current one has changed a lot. Probably it does not work anymore with compat. Best xqt Von meinem iPhone gesendet > Am 02.06.2021 um 07:14 schrieb Bináris : > >  > Hi John, > I

[pywikibot] Re: Login with compat

2021-06-01 Thread Bináris
Hi John, I used a login2.py I am not sure it is my former experiment or an official script. With login.py it is Traceback (most recent call last): File "C:\Pywikipediacompat\login.py", line 480, in main() File "C:\Pywikipediacompat\login.py", line 475, in main loginMan.login() File

[pywikibot] Re: Login with compat

2021-06-01 Thread Bináris
Thank you, that was not quite the asnwer I hoped. I have many own extensions to replace.py, but I appreciate your effort, and I wll try to write a list with the standard features. Yes, this is the only reason I have Python 2. ezt írta (időpont: 2021. jún. 1., K, 19:57): > > Hi Binaris, > > I

[pywikibot] Re: Login with compat

2021-06-01 Thread info
Hi Binaris, I remember there was an issue but I am not able to investigate into this matter. The compat branch is very outdated and does only support Python 2. My Python developing version is 3.9, the production system runs with 3.7 and for some reason I have also 3.5 installed which is the