Manual:$wgStatsMethod

Details

 * 'cache' to go into the system cache, if enabled (memcached)
 * 'udp' to be sent to the UDP profiler (see  )
 * false to disable