Extension:ApiFeatureUsage/de

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.

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

Konfiguration

 * Parameter :

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


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


 * Prefix for the indexes to use. Standard ist " ".
 * Prefix for the indexes to use. Standard ist " ".


 * Date formatting for the indexes to use, see the PHP manual. Standard ist " ".
 * Date formatting for the indexes to use, see the PHP manual. Standard ist " ".


 * Elasticsearch type to query. Standard ist " ".
 * Elasticsearch type to query. Standard ist " ".


 * Field name for the logged value of $feature . Standard ist " ".
 * Field name for the logged value of $feature . Standard ist " ".


 * Field name for the logged timestamp. Default " ".
 * Field name for the logged timestamp. Default " ".


 * Field name for the logged user agent. Default " ".
 * Field name for the logged user agent. Default " ".

Verwendung
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,. Siehe die automatisch generierte API-Dokumentation für Details.