Sorry, seems it won't work. Try this.

authenticate['*'] = WMFCRED
authenticate['arbcom-cs.wikipedia.org'] = NONCACRED

I sadly have no access to non-CentralAuth wiki which allows to use OAuth so
I can't try it.

Regards,
Martin

so 22. 7. 2017 v 14:11 odesílatel MarcoAurelio <[email protected]> napsal:

> Thanks Martin,
>
> Will test and let you know.
>
> Regards.
>
> El El sáb, 22 jul 2017 a las 11:13, Martin Urbanec <
> [email protected]> 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 <[email protected]>
>> 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
>>> [email protected]
>>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>>
>> _______________________________________________
>> Labs-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>
> --
> M. A.
> _______________________________________________
> Labs-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to