Extension:ApiFeatureUsage/ru

The ApiFeatureUsage extension adds a special page and an API module to fetch summaries of data logged by ApiBase::logFeatureUsage, which is typically an indication of use of deprecated API features.

Dependencies
Log data must be added to some sort of storage system. Currently Elasticsearch is supported via.

Конфигурация

 * Параметры :

Additional configuration values in :
 * Elastica backend
 * Array of Elasticsearch servers. Required.
 * Array of Elasticsearch servers. Required.


 * Maximum connection attempts, default 1.
 * Maximum connection attempts, default 1.


 * Prefix for the indexes to use. По умолчанию " ".
 * Prefix for the indexes to use. По умолчанию " ".


 * Date formatting for the indexes to use, see the PHP manual. По умолчанию " ".
 * Date formatting for the indexes to use, see the PHP manual. По умолчанию " ".


 * Elasticsearch type to query. По умолчанию " ".
 * Elasticsearch type to query. По умолчанию " ".


 * Field name for the logged value of $feature . По умолчанию " ".
 * Field name for the logged value of $feature . По умолчанию " ".


 * Field name for the logged timestamp. По умолчанию " ".
 * Field name for the logged timestamp. По умолчанию " ".


 * Field name for the logged user agent. По умолчанию " ".
 * Field name for the logged user agent. По умолчанию " ".

Использование
The extension adds a new special page, Special:ApiFeatureUsage, with a simple form to request a summary of feature usage logs for a user agent and date range.

The extension also adds an API query submodule,. See the auto-generated API documentation for details.

