Ejegg has submitted this change and it was merged.

Change subject: Log missing transaction identities
......................................................................


Log missing transaction identities

Change-Id: I0be0b066bd9f82ee1b36aff9f2a140e1f4043936
---
M sites/all/modules/wmf_audit/wmf_audit.module
1 file changed, 10 insertions(+), 1 deletion(-)

Approvals:
  Ejegg: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/sites/all/modules/wmf_audit/wmf_audit.module 
b/sites/all/modules/wmf_audit/wmf_audit.module
index 5e9e87c..02a007b 100644
--- a/sites/all/modules/wmf_audit/wmf_audit.module
+++ b/sites/all/modules/wmf_audit/wmf_audit.module
@@ -214,7 +214,7 @@
   $wrap_up .= 'Missing at end: ' . $missing_at_end . "\n\n";
 
   if ($missing_at_end > 0) {
-    $wrap_up .= "Missing sumamry:\n";
+    $wrap_up .= "Missing transaction summary:\n";
     $wrap_up .= "Regular donations: $missing_main\n";
     if ($missing_main > 0) {
       foreach ($remaining['main'] as $date => $missing) {
@@ -240,6 +240,15 @@
       }
     }
 
+    $wrap_up .= "Transaction IDs:\n";
+    foreach ($remaining as $group => $transactions) {
+      foreach ($transactions as $date => $missing) {
+        foreach ($missing as $transaction) {
+          $wrap_up .= "\t" . 
WmfTransaction::from_message($transaction)->get_unique_id() . "\n";
+        }
+      }
+    }
+
     $wrap_up .= 'Initial stats on recon files: ' . print_r($recon_file_stats, 
true) . "\n";
   }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0be0b066bd9f82ee1b36aff9f2a140e1f4043936
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>
Gerrit-Reviewer: AndyRussG <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: Ssmith <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to