שלום אורי דנינו 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
(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...
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
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
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
>
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,
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
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.
>
> 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
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 --
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
>
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
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
>
>
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
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
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
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
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
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
19 matches
Mail list logo