* @endcode
* Where event is either:
* - 'onEdit' (when user edits)
- * - 'onView' (when user views the wiki)
*
* Criteria has the same format as $wgAutopromote
*
*/
$wgAutopromoteOnce = array(
'onEdit' => array(),
- 'onView' => array()
);
/**
* inject an MWLoggerSpi instance into MWLoggerFactory and bypass the use of
* this configuration variable entirely.
*
+ * @par To completely disable logging:
+ * @code
+ * $wgMWLoggerDefaultSpi = array( 'class' => 'MWLoggerNullSpi' );
+ * @endcode
+ *
* @since 1.25
* @var array $wgMWLoggerDefaultSpi
* @see MwLogger