Manual:$wgFeatureShutdown/es

Category:MediaWiki configuration settings/es#FeatureShutdownCategory:MediaWiki configuration settings introduced in version 1.44.0/es#FeatureShutdownCategory:MediaWiki configuration settings still in use/es#FeatureShutdownCategory:Miscellaneous settings variables/es#FeatureShutdown
Ajustes varios: $wgFeatureShutdown
Allow temporarily disabling use of certain features.
Introducido en la versión:1.44.0 (Gerrit change 722940; git #1c87dc00)
Eliminado en la versión:aún se usa
Valores permitidos:(array)
Valor predeterminado:[]

Details

Allow temporarily disabling use of certain features. Useful for large site operators to push people to newer APIs while still keeping the breakage short and contained. This should be an array, where a key is a feature name and the value is an array of shutdown arrays, each containing the following keys:

  • 'start' - Shutdown start, parsed with strtotime(). (required)
  • 'end' - Shutdown end, parsed with strtotime(). (required)
  • 'percentage' - Number between 0 and 100. If set, only a certain percentage of requests will be blocked.

For example:

$wgFeatureShutdown = [
	'pre-1.24-tokens' => [
		[
			'start' => '2021-07-01T00:00 +00:00',
			'end' => '2021-08-01T00:00 +00:00',
			'percentage' => 50,
		],
	],
];
Category:MediaWiki configuration settings/es Category:MediaWiki configuration settings introduced in version 1.44.0/es Category:MediaWiki configuration settings still in use/es Category:Miscellaneous settings variables/es