atagar added a comment.
> Just use Site('wikipedia:test') for test.wikipedia.org. The old test_family
just duplicated the same site. (Ok the test family was prior)
Thanks Xqt. My question was how to run our scripts with test.wikipedia.org
but I figured it out. The trick is to change my user-config.py's 'mylang' to
test...
% cat user-config.py
family = 'wikipedia'
mylang = 'test'
usernames['wikipedia']['test'] = 'Atagar-bot'
... etc...
Personally I think this is pretty unintuitive and "How can practice running
scripts with test.wikipedia.org?" would be a good addition if we have a FAQ
somewhere.
Most of my test failures are now resolves so closing.
TASK DETAIL
https://phabricator.wikimedia.org/T287332
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: atagar
Cc: Xqt, Aklapper, pywikibot-bugs-list, atagar, Biggs657, Lalamarie69,
Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978,
Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD,
Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS,
Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Avicennasis,
mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]