MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
prop=pageviews (pvip)
- このモジュールは読み取りの権限を必要とします。
- Source: PageViewInfo
- License: GPL-3.0+
Shows per-page pageview data (the number of daily pageviews for each of the last pvipdays days).
The result format is page title (with underscores) => date (Ymd) => count.
パラメーター:
- pvipmetric
The metric to use for counting views. Depending on what backend is used, not all metrics might be supported. You can use the siteinfo API (action=query&meta=siteinfo) to check, under pageviewservice-supported-metrics / <module name>
- pageviews
- Plain pageviews.
- 値 (次の値のいずれか1つ): pageviews
- 既定値: pageviews
- pvipdays
The number of days to show.
- 値は 1 以上 60 以下にしてください。
- Type: integer
- 既定値: 60
- pvipcontinue
When more results are available, use this to continue.
例:
- Show pageview statistics for the main page.
- api.php?action=query&titles=Main_Page&prop=pageviews [サンドボックスで開く]