Last modified: 2012-03-21 22:33:34 UTC
I feel the number of hits (total number and unique number) would be an interesting addition to our general layout. While a counter on the bottom of every page may not be very preferable, a "Special:" page for example would do the trick.
This functionality exists in the software. It's not enabled due to caching issues. Now that we have Squid logs, it *might* be reasonable to write something up that would log sheer numbers from the live stream and periodically import them into the database, or something of that nature. I'll refile this in the spirit I think it was probably intended.
(Adding Tim to CC list, since he developed our current Squid logging infrastructure...)
Lemme just add that a total hit count is nigh-useless; recording hit rates over time would be much more interesting.
A graph (can be an HTML one) for example could be useful
Any progress on this?
I'm working on a solution for temporal statistics; initially for last hours, last days and last weeks. To make it effective it seems that some portions of the code has to run inside mw-core and with a altered table definition for mw_page, but it should be rather simple to disable the complete functionality and if necessary also to use the table as is with the existing statistics. Initial work indicates a basic solution with two additional columns for hours, two additional columns for days and two additional columns for weeks. The number of additional columns can be increased or set to zero. In addition there will be a column for last page view. According to some analysis it seems like some high traffic sites (en.wp) could use subhour resolutions but the external squid logs isn't available fast enough for this to be of real value. As wikis can be hidden behind squids, it must be possible to update the statistics from external sources. Probably there should be an option to do some kind of lightweight AJAX-like update of the statistics. Present development are for MW 1.12.