[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 12:32:09 UTC 2017
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 <strigiwm at gmail.com> napsal:
> 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.
> _______________________________________________
> 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/bbd45dca/attachment.html>
More information about the Labs-l
mailing list