mediawiki/hit-counters
最新稳定版本:0.3.4
Composer 安装命令:
composer require mediawiki/hit-counters
包简介
Provides per page view statistics
README 文档
README
In MediaWiki 1.25, hit counters have been removed. The reason is given in the commit message:
: The hitcounter implementation in MediaWiki is flawed and needs removal. For proper metrics, it is suggested to use something like Piwik or Google Analytics.
More discussion can be found at mediawiki.org.
If you wish to continue using the HitCounter's despite the flawed implementation, this extension should help.
Note that some steps will be needed to maintain you current hit count. When those steps are understood, they'll be documented.
Default settings
- $wgDisableCounters = false;
Set to true to disable them completely.
- $wgEnableAddPageId = false;
Set to true to display the page id on [[Special:PopularPages]].
- $wgEnableAddTextLength = false;
Set to true to display the page length on [[Special:PopularPages]].
- $wgHitcounterUpdateFreq = 1;
统计信息
- 总下载量: 1.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-06-09