手册:$wgActiveUserDays

From mediawiki.org
This page is a translated version of the page Manual:$wgActiveUserDays and the translation is 100% complete.
统计和内容分析: $wgActiveUserDays
在一段时间中有编辑的用户将被视为活跃用户。
引进版本:1.17.0 (r69495)
移除版本:仍在使用
允许的值:(正整数)
默认值:30

注释

在一段时间中有编辑的用户将被视为活跃用户。 换句话说,如果某一用户在这段时间内没有进行编辑,这位用户将被认为为不活跃。 将会影响在Special:StatisticsSpecial:ActiveUsers和维基文本中魔术字{{NUMBEROFACTIVEUSERS}} 中的数字。

您可能希望将其作为默认值,以在不同维基间提供可比数字。

Note that the initSiteStats.php maintenance script should be run (with the --active parameter) periodically in order to actually update this statistic. To be strictly accurate, it should be run once a day, but for many wikis it's enough to run it weekly.

早期版本

在版本1.13.0到1.15.x中具有相同名称的变量。 它的描述是:

这个与$wgActiveUserEditCount 共同定义了User::isActiveEditor()是否被视为活跃用户。 简单地说:如果一个用户至少在Y天内编辑了X次,这个用户将被视为活跃用户。 默认情况下,设置为30/30,即1编辑/天。

这从未被实际使用。