[Labs-l] Running pywikibot on non-CentralAuth wikis using the same tools.xxx instance - is that possible?

MarcoAurelio strigiwm at gmail.com
Sat Jul 22 12:10:56 UTC 2017


Thanks Martin,

Will test and let you know.

Regards.

El El sáb, 22 jul 2017 a las 11:13, Martin Urbanec <
martin.urbanec at wikimedia.cz> escribió:

> 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
>>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-- 
M. A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20170722/9484bd76/attachment.html>


More information about the Labs-l mailing list