[Labs-l] Running pywikibot on non-CentralAuth wikis using the same tools.xxx instance - is that possible?
Martin Urbanec
martin.urbanec at wikimedia.cz
Sat Jul 22 09:12:33 UTC 2017
Hello,
You can do something like this.
authenticate['*'] = WMFCRED
authenticate['wikipedia']['arbcom-cs'] = NONCACRED
Hope this helps,
Martin Urbanec
Dne so 22. čvc 2017 9:58 uživatel MarcoAurelio <strigiwm at gmail.com> napsal:
> Hello,
>
> I operate my standard pywikibot via Toolforge. It uses OAuth to work
> on Wikimedia sites, so I just need the same OAUth headings for all
> projects which are part of the CentralAuth family.
>
> However I'd like to run the bot as well in another Wikimedia site
> which is not part of CentralAuth thus in need of new OAuth
> credentials.
>
> Currently I am using tools.mabot. I'd like to know if I should create
> a new tools.xxx instance to run the bot in that non-CA wiki or I can
> continue to use tools.mabot; and if I can continue using tools.mabot,
> how should I configure it so when it works for that project it uses
> the right credentials?
>
> Thanks in advance.
>
> Best regards, M.
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20170722/e137211f/attachment.html>
More information about the Labs-l
mailing list