diff --git a/docs/dev-tools/debugging.md b/docs/dev-tools/debugging.md
index 3c0295a84de973890a84aa5fe59bee7eb05accc6..e4ffa144f21ad22a105ffd527a59f88d3145a831 100644
--- a/docs/dev-tools/debugging.md
+++ b/docs/dev-tools/debugging.md
@@ -84,11 +84,31 @@ The following values can be added to your site's settings file `civicrm.settings
 
 ## Viewing a query log from MySQL
 
-Outside of CiviCRM, the MySQL database software has features to enable the logging of all queries it receives.
-
-*TODO: how do we enable?*
-
-
+Outside of CiviCRM, the MySQL general query log allows MySQL to log all queries. This is a performance killer, so avoid using it in production!
+
+* [MySQL reference: General Query Log](https://dev.mysql.com/doc/refman/en/query-log.html)
+
+The relevant settings are:
+
+    # Location of the query log
+    general_log_file=/tmp/mysql.log
+    # Enable/disable the query log
+    general_log=1
+    
+You can enable the query log at runtime via SQL, provided the path to the logfile is configured.
+
+    SET GLOBAL general_log = 'ON';
+    SET GLOBAL general_log = 'OFF';
+    
+And you can inspect the query log settings also:
+
+    mysql> show variables like '%general%';
+    +------------------+---------------------------------+
+    | Variable_name    | Value                           |
+    +------------------+---------------------------------+
+    | general_log      | OFF                             |
+    | general_log_file | /usr/local/var/mysql/strike.log |
+    +------------------+---------------------------------+
 
 ## Changing source code
 
diff --git a/docs/hooks/hook_civicrm_alterBarcode.md b/docs/hooks/hook_civicrm_alterBarcode.md
index bd98866dec59965b2aacbe9f04b7cfe777986fa8..b9005c4f0ef5692d507bd60526c8187e3314ad0f 100644
--- a/docs/hooks/hook_civicrm_alterBarcode.md
+++ b/docs/hooks/hook_civicrm_alterBarcode.md
@@ -7,7 +7,7 @@ Available in 4.4+.
 
 ## Definition
 
-     hook_civicrm_alterBarcode( &$data, $type='barcode' $context='name_badge' );
+     hook_civicrm_alterBarcode( &$data, $type='barcode', $context='name_badge' );
 
 ## Parameters
 
@@ -28,4 +28,4 @@ Available in 4.4+.
         // change the encoding of barcode
         $data['current_value'] = $data['event_id'] . '-' . $data['participant_id'] . '-' . $data['contact_id'];
       }
-    }
\ No newline at end of file
+    }
diff --git a/docs/hooks/hook_civicrm_summaryActions.md b/docs/hooks/hook_civicrm_summaryActions.md
index 3c231e78fbfebeab9888902e737e01a4a6bb1a08..56ef61637ab994792f1b697c5f72580b95b2dc18 100644
--- a/docs/hooks/hook_civicrm_summaryActions.md
+++ b/docs/hooks/hook_civicrm_summaryActions.md
@@ -51,4 +51,17 @@ Summary Page.
         'key' => 'casework',
         'href' => '/casework/recording_form
       );
-    }
\ No newline at end of file
+    }
+
+**Add an item to the third column of action list**
+
+   function mymodulename_civicrm_summaryActions(&$actions, $contactID)
+   {
+     $actions['otherActions']['casework'] = array(
+       'title' => 'Record casework',
+       'weight' => 999,
+       'ref' => 'record-casework',
+       'key' => 'casework',
+       'href' => '/casework/recording_form
+       );
+    }