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

{{{date}}}, {{{subpage}}}: {{{title}}}
{{Wikipedia:Wikipedia Signpost/Templates/Pageview hack|30|{{{page|Wikipedia:Wikipedia_Signpost}}}|start={{{date|2022-01-01}}}|max=50000|scale=log|height=500|width=1000}}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)

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}}

Category:Wikipedia Signpost templates