Xqt closed this task as "Resolved". Xqt added a comment.
already solved: import pywikibot as py from pywikibot.i18n import translate from scripts.welcome import netext s = py.Site('commons', 'commons') translate(s, netext) '{{subst:welcome}} %s' translate('commons', netext) is None False translate('commons', netext) '{{subst:welcome}} %s' TASK DETAIL https://phabricator.wikimedia.org/T255912 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Liuxinyu970226, valhallasw, Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Fernandobacasegua34, 786, Suran38, 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, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org