Last modified: 2012-03-21 22:33:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10633 - Extension to provide aggregate page view statistics from Squid access logs
Extension to provide aggregate page view statistics from Squid access logs
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-18 15:46 UTC by とある白い猫
Modified: 2012-03-21 22:33 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description とある白い猫 2007-07-18 15:46:53 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.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-18 20:36:00 UTC
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.
Comment 2 Rob Church 2007-07-18 20:42:24 UTC
(Adding Tim to CC list, since he developed our current Squid logging infrastructure...)
Comment 3 Brion Vibber 2007-07-19 13:55:28 UTC
Lemme just add that a total hit count is nigh-useless; recording hit rates over time would be much more interesting.
Comment 4 とある白い猫 2007-08-07 22:16:26 UTC
A graph (can be an HTML one) for example could be useful
Comment 5 John Erling Blad 2008-04-14 13:33:31 UTC
Any progress on this?
Comment 6 John Erling Blad 2008-04-14 18:15:37 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links