Xqt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/135320

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/20/135320/1

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():

-- 
To view, visit https://gerrit.wikimedia.org/r/135320
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I586791e8b4c433e1632d32fbaee4acd9190d976b
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <i...@gno.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to