Manual:$wgHitcounterUpdateFreq/es

Category:MediaWiki configuration settings/es#HitcounterUpdateFreqCategory:MediaWiki configuration settings introduced in version 1.2.0/es#HitcounterUpdateFreqCategory:MediaWiki configuration settings removed in version 1.25.0/es#HitcounterUpdateFreqCategory:MediaWiki deprecated or obsolete features/es#HitcounterUpdateFreqCategory:Site Statistics variables/es#HitcounterUpdateFreq
Statistics and content analysis: $wgHitcounterUpdateFreq
Sets how often page counters should be updated.
Introducido en la versión:1.2.0
Eliminado en la versión:1.25.0 (Gerrit change 150699; git #90d90dad)
Valores permitidos:(entero)
Valor predeterminado:1
This feature is used in extension HitCounters since REL1_25+.

Detalles

Sets how often page counters should be updated, higher values are easier on the database. A value of 1 causes the counters to be updated on every hit, any higher value n cause them to update on average every n hits. Should be set to either 1 or something largish, e.g. 1000, for maximum efficiency.

To disable the page counters entirely, set $wgDisableCounters to true.

This setting is ignored if using sqlite for the database.

Detalles técnicos

When this setting is set to a number bigger than 1, the page id of any page viewed is stored in the hitcounter table. About 1 in every ($wgHitcounterUpdateFreq)*0.25 hits, the number of entries in the hit counter table is checked. If there is more than $wgHitcounterUpdateFreq entries in the hitcounter table, then those pageviews are transfered in batch to the page_counter field (and the hitcounter table is emptied).

Véase también

Category:MediaWiki configuration settings/es Category:MediaWiki configuration settings introduced in version 1.2.0/es Category:MediaWiki configuration settings removed in version 1.25.0/es Category:MediaWiki deprecated or obsolete features/es Category:Site Statistics variables/es