Jump to content

Wikipedia:Wikipedia Signpost/Templates/Article list maker/View count

From Wikipedia, the free encyclopedia

{{{date}}}, {{{subpage}}}: [[{{{page}}}|{{{title}}}]]

This is a template for the Signpost article list maker, which will give a graph for article pageviews. Initially, it used Template:Graph:PageViews, but this has an issue where it only lets you graph periods that include the current day (i.e. useless for looking at Signpost articles from more than a few months ago). Since the actual pageviews API allows you to get information from many years ago, I hacked together a version of the pageview graph template at Wikipedia:Wikipedia Signpost/Templates/Pageview hack (documentation is there). jp×g 01:02, 6 November 2022 (UTC)[reply]


Previous code, for normal pageviews graph:

{{Graph:PageViews|180|Wikipedia:Wikipedia Signpost/{{{date}}}/{{{subpage}}}|en.wikipedia.org|granularity=daily|height=400|width=1000|max=2000}}