Erik Zachte has uploaded a new change for review.
https://gerrit.wikimedia.org/r/71785
Change subject: minor updates of comments
......................................................................
minor updates of comments
Change-Id: I1832011d37ac6690747966be5337a9d3bdcf75d6
---
M dumps/perl/WikiCountsArguments.pm
M dumps/perl/WikiCountsProcess.pm
2 files changed, 6 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/analytics/wikistats
refs/changes/85/71785/1
diff --git a/dumps/perl/WikiCountsArguments.pm
b/dumps/perl/WikiCountsArguments.pm
index ea8b2a0..96f8bb5 100644
--- a/dumps/perl/WikiCountsArguments.pm
+++ b/dumps/perl/WikiCountsArguments.pm
@@ -48,7 +48,7 @@
}
$reverts_sampling = 1 ;
- if (defined ($options {"u"})) # u for undo
+ if (defined ($options {"u"})) # u for undo (r for revert was already taken)
{
$reverts_only = $true ;
$reverts_sampling = $options {"u"} ;
diff --git a/dumps/perl/WikiCountsProcess.pm b/dumps/perl/WikiCountsProcess.pm
index 557a64a..f775c50 100644
--- a/dumps/perl/WikiCountsProcess.pm
+++ b/dumps/perl/WikiCountsProcess.pm
@@ -1243,6 +1243,11 @@
# Amirobot,2011-08,4,4
# Amirobot,2011-09,3,1
+
+ # if this user uploaded to WLM in any year, copy edits to WLM file
+ # after merging such files for all projects, we can find out when user
started to contribute
+ # if that is in month of WLM event we assume user joined because of WLM and
cheer for that
+ # filtering happens in MergeActiveUsersPerMonthsAllWikisOrProjects
open FILE_CSV_WLM, '>', $file_csv_wiki_loves_monuments ; # wlm = Wiki Loves
Monuments
print "\n" ;
--
To view, visit https://gerrit.wikimedia.org/r/71785
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1832011d37ac6690747966be5337a9d3bdcf75d6
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wikistats
Gerrit-Branch: master
Gerrit-Owner: Erik Zachte <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits