User:Pageview bot

From Wikipedia, the free encyclopedia

[edit] User interaction


   


Activate
Run the bot to update counts here. Leave a message on the talk page to add your WikiProject to the bot's radar.
Bugs
Please report any bugs, or better still ideas and suggestions, here
Emergency shutoff

Administrators: Use this button if the bot is malfunctioning. (direct link)

Non-administrators can report misbehaving bots to Wikipedia:Administrators' noticeboard/Incidents.

[edit] Function

Records the number of times a page has been viewed in the past month, to enable editors and WikiProjects to identify the most important pages (and satisfy curiosity!)

[edit] Operation

  • Retrieve stats from squid server:

Wikipedia uses Squid cache servers, which cache pages when they're requested. For example, if you enter URL http://en.wikipedia.org/wiki/Kitten and get sent the page, the next time someone goes to to the same page, the servers will remember what the parsed wikitext was and greatly reduce the back-end server work. The servers also count how many times a different page is accessed. These stats are provided in raw form at here, and that's where the numbers in stats.grok.se's graphs come from.

GracenotesT § 03:33, 15 March 2008 (UTC)
  • Store stats of page of interest on a subpage of the bot's userspace, transcluding them with {{pageviews}} or otherwise.
  • Pages to be logged are selected as those transcluding {{pageviews}}, or (say) {{WikiProject Statistics}}.