Last modified: 2014-04-29 15:02:10 UTC
Hi, Had an idea for an extention for one of my private wikis that would manipulate the statistics. ie. not incrementing the counter in certain situations (not for logged in users, or not when a certain url-parameter is set). But that is when I found out no hook (that I could find) is present in the statistics updater, thuss making it impossible without hard-coding to do anything with it. The relevant code is in Article.php : line 3242 and on, which calls the SiteStatsUpdate() class defined in SiteStats.php : line 181 and on. (line numbers based on mediawiki 1.16.0beta3.tar.gz)
I'm referring to the page view counter here, by the way. Basically a hook to hook into the behaviour of the statistics updater is requested.
Marking as Lowest, since nobody seems to be working or planning to work on this currently.
<Krinkle> qgil: said private wiki no longer exists. I no longer care about this bug. <Krinkle> use case hasn't come up since as most people either dont have advanced needs or they dont use the built in hitcouter (e.g. they might use google analytics instead) Venturing a wontfix, then.