Erik Zachte has uploaded a new change for review.

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


Change subject: fix perl syntax error
......................................................................

fix perl syntax error

Change-Id: I6eaea19bc0850285def02293a17944e2684a50bf
---
M dumps/perl/WikiCountsInput.pm
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/wikistats 
refs/changes/37/81937/1

diff --git a/dumps/perl/WikiCountsInput.pm b/dumps/perl/WikiCountsInput.pm
index fd6dfc9..1e387ba 100644
--- a/dumps/perl/WikiCountsInput.pm
+++ b/dumps/perl/WikiCountsInput.pm
@@ -3142,7 +3142,8 @@
     if (! -e $file_csv_content_namespaces)
     { abort ("Namespaces file not found: '$file_csv_content_namespaces'. Run 
'collect_countable_namespaces.sh'\n") ; }
 
-    my ($language2 = $language) =~ s/_/-/g ; # wikistats (unfortunately) uses 
codes like 'roa_rup', not 'roa-rup' , to be changed some day
+    my $language2 = $language ;
+    $language2 =~ s/_/-/g ; # wikistats (unfortunately) uses codes like 
'roa_rup', not 'roa-rup' , to be changed some day
 
     $line_content_namespaces = '' ;
     open FILE_NS, "<", $file_csv_content_namespaces ;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6eaea19bc0850285def02293a17944e2684a50bf
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wikistats
Gerrit-Branch: master
Gerrit-Owner: Erik Zachte <ezac...@wikimedia.org>

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

Reply via email to