Erik Zachte has submitted this change and it was merged.
Change subject: started documenting wikistats. Starting small, with
WikiReportsLocalizations.pm module and the method GetLanguageNamesFromSVN.
Will continue to do this to increase understanding of the code.
......................................................................
started documenting wikistats. Starting small, with WikiReportsLocalizations.pm
module and the method GetLanguageNamesFromSVN. Will continue to do this to
increase understanding of the code.
Change-Id: Ieded2ed0e14c3a92c302aab4243e1653767cdca3
---
M dumps/perl/WikiReportsLocalizations.pm
1 file changed, 19 insertions(+), 0 deletions(-)
Approvals:
Erik Zachte: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/dumps/perl/WikiReportsLocalizations.pm
b/dumps/perl/WikiReportsLocalizations.pm
index c0390c8..695f58a 100644
--- a/dumps/perl/WikiReportsLocalizations.pm
+++ b/dumps/perl/WikiReportsLocalizations.pm
@@ -25,6 +25,11 @@
$refresh_translate_wiki_data = 1 ;
+=head2 Methods
+
+=cut
+
+
sub TestLanguageTranslations
{
print "TestLanguageTranslations language $language\n" ;
@@ -419,6 +424,20 @@
&CleanUpLanguageTranslationsFromWpEn ;
}
+
+
+=over 12
+
+=item C<GetLanguageNamesFromSVN(str)>
+
+ This method pulls from the SVN mediawiki language files, it then parses them
and writes
+ them to disk in a CSV file
+
+=back
+
+=cut
+
+
sub GetLanguageNamesFromSVN
{
my $language = shift ;
--
To view, visit https://gerrit.wikimedia.org/r/59847
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ieded2ed0e14c3a92c302aab4243e1653767cdca3
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wikistats
Gerrit-Branch: master
Gerrit-Owner: Stefan.petrea <[email protected]>
Gerrit-Reviewer: Erik Zachte <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits