Extension:ApiFeatureUsage/th

ส่วนขยาย ApiFeatureUsage เพิ่มหน้าพิเศษและโมดูล API เพื่อดึงข้อมูลสรุปที่บันทึกโดย ApiBase::logFeatureUsage ซึ่งโดยทั่วไปจะเป็นข้อบ่งชี้ถึงการใช้คุณลักษณะ API ที่เลิกใช้แล้ว

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. Default " ".
 * Prefix for the indexes to use. Default " ".


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


 * Elasticsearch type to query. Default " ".
 * Elasticsearch type to query. Default " ".


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


 * 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 " ".

Usage
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.