jenkins-bot has submitted this change and it was merged.
Change subject: replace site.lang with site.code which is prefered in core ......................................................................
replace site.lang with site.code which is prefered in core
replacements made by compat2core script
Change-Id: I586791e8b4c433e1632d32fbaee4acd9190d976b --- M scripts/catall.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/catall.py b/scripts/catall.py index bda6131..15dc8cd 100755 --- a/scripts/catall.py +++ b/scripts/catall.py @@ -65,7 +65,7 @@ cattitle = "%s:%s" % (site.category_namespace(), p) pllist.append(pywikibot.Page(site, cattitle)) page.put_async(pywikibot.replaceCategoryLinks(page.get(), pllist), - comment=i18n.twtranslate(site.lang, 'catall-changing')) + comment=i18n.twtranslate(site.code, 'catall-changing'))
def main():
pywikibot-commits@lists.wikimedia.org