| Sc4s2cg added a comment. |
So I went ahead and tried to create a family file manually as per [[ https://www.mediawiki.org/wiki/Manual:Pywikibot/Use_on_third-party_wikis#Manually_in_core | these ]]directions. My wiki api is at wiki.[REDACTED].com/api.php
This is what it looks like:
from pywikibot import family
class Family(family.Family):
name = 'finwiki'
langs = {
'en': 'wiki.[REDACTED].com',
}
def scriptpath(self, code):
return {
'en': '',
}[code]With this I get the same timeout error. Given the api is at /api.php and not /w/api.php, is the last scriptpath defined correctly? If I do 'en': '/' instead then I get this error: https://pastebin.com/wijHYxhd
TASK DETAIL
EMAIL PREFERENCES
To: Sc4s2cg
Cc: Chicocvenancio, Framawiki, Dvorapa, Aklapper, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Chicocvenancio, Framawiki, Dvorapa, Aklapper, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
