diff --git a/WikiEditor.hooks.php b/WikiEditor.hooks.php index b8ab2312..5384e842 100644 --- a/WikiEditor.hooks.php +++ b/WikiEditor.hooks.php @@ -193,8 +193,8 @@ class WikiEditorHooks { if ( !class_exists( 'EventLogging' ) ) { return false; } - // Sample 25% (via hex digit) - if ( $data['editingSessionId'][0] > '3' ) { + // Sample 6.25% (via hex digit) + if ( $data['editingSessionId'][0] > '0' ) { return false; } diff --git a/modules/ext.wikiEditor.js b/modules/ext.wikiEditor.js index 0663c2b5..6c8b29c4 100644 --- a/modules/ext.wikiEditor.js +++ b/modules/ext.wikiEditor.js @@ -10,10 +10,10 @@ return; } - // Sample 25% (via hex digit) + // Sample 6.25% (via hex digit) // We have to do this on the client too because the unload handler // can cause an editingSessionId to be generated on the client - if ( editingSessionId.charAt( 0 ) > '3' ) { + if ( editingSessionId.charAt( 0 ) > '0' ) { return; }