Remove tofu detection logging
Change-Id: I2b808bae2ee19062c16d8aaff2bdf0b2986e8ad0
This commit is contained in:
@@ -136,25 +136,6 @@ $GLOBALS['wgULSPosition'] = 'personal';
|
||||
*/
|
||||
$GLOBALS['wgULSEventLogging'] = false;
|
||||
|
||||
/**
|
||||
* How frequently to run tofu detection for all languages and to log them.
|
||||
* This must be a number between 0 and 100, which signifies the percentage
|
||||
* of pages for which this will be done. If it's 100, then it will be
|
||||
* done for all pages. If it's 20, then it will be done on 20% of pages.
|
||||
* The default is not to do it on any pages.
|
||||
* @since 2014.04
|
||||
*/
|
||||
$GLOBALS['wgULSTofuLoggingChance'] = 0;
|
||||
|
||||
/**
|
||||
* If tofu detection for all languages is enabled, and this value is non-zero
|
||||
* this specifies the maximum time in milliseconds that the tofu detection
|
||||
* is allowed to run before it's forced to stop.
|
||||
* The default is 0 - not to force it to stop.
|
||||
* @since 2014.04
|
||||
*/
|
||||
$GLOBALS['wgULSTofuLoggingMaxTime'] = 0;
|
||||
|
||||
/**
|
||||
* Array of jQuery selectors of elements on which IME should be enabled.
|
||||
*
|
||||
@@ -261,13 +242,6 @@ $GLOBALS['wgExtensionFunctions'][] = function () {
|
||||
'schema' => 'UniversalLanguageSelector',
|
||||
'revision' => 7327441,
|
||||
);
|
||||
|
||||
/// @see https://meta.wikimedia.org/wiki/Schema:UniversalLanguageSelector-tofu
|
||||
$wgResourceModules['schema.UniversalLanguageSelector-tofu'] = array(
|
||||
'class' => 'ResourceLoaderSchemaModule',
|
||||
'schema' => 'UniversalLanguageSelector-tofu',
|
||||
'revision' => 7629564,
|
||||
);
|
||||
} else {
|
||||
wfWarn( 'UniversalLanguageSelector is configured to use EventLogging, '
|
||||
. 'but the extension is not available. Disabling wgULSEventLogging.' );
|
||||
|
||||
Reference in New Issue
Block a user