On Wikimedia wikis, the best option for bot logins is to use an OAuth
owner-only consumer. Follow the instructions at
<https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth/Wikimedia> to
do that, more information is at
<https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth> and
<https://www.mediawiki.org/wiki/OAuth/Owner-only_consumers>.

If you can't do that, you can use BotPasswords. The instructions are
on <https://www.mediawiki.org/wiki/Manual:Pywikibot/BotPasswords>.

AntiCompositeNumber

On Mon, Dec 16, 2019 at 6:43 AM Тарас Буник <[email protected]> wrote:
>
> Hello,
>
> I want to run pywikibot script from inside docker, and I don't want to 
> interactively go into it and login using keyboard. What should I do to login?
>
> I asked similar question on stack overflow, but got no answer there.
>
> Thank you for any suggestions.
>
> Sincerely,
> Taras Bunyk
> _______________________________________________
> pywikibot mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikibot

_______________________________________________
pywikibot mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot

Reply via email to