eventlogger module for ULS
Separating event logging out of ULS functionality. Event logging is now loosely coupled with ULS. ULS core modules can emit an event whenever EventLogging is required. The eventlogger module will act on the event if configured. Change-Id: I59dfcfb25c1acb85376b56239f2355ee7c4aff1e
This commit is contained in:
committed by
Amir E. Aharoni
parent
8defd1f4a8
commit
117cc5bf46
@@ -48,9 +48,13 @@ class UniversalLanguageSelectorHooks {
|
||||
// Load the style for users without JS, to hide the useless links
|
||||
$out->addModuleStyles( 'ext.uls.nojs' );
|
||||
|
||||
// If EventLogging integration is enabled, load the schema module.
|
||||
// If EventLogging integration is enabled, load the schema module
|
||||
// and the event logging functions module
|
||||
if ( $wgULSEventLogging ) {
|
||||
$out->addModules( 'schema.UniversalLanguageSelector' );
|
||||
$out->addModules( array(
|
||||
'schema.UniversalLanguageSelector',
|
||||
'ext.uls.eventlogger',
|
||||
) );
|
||||
}
|
||||
|
||||
// If the extension is enabled, basic features (API, language data) available.
|
||||
|
||||
Reference in New Issue
Block a user