Jump to content

Topic on Extension talk:PageViewInfo/Archive 2

Simply get the page views of the current page

3
Summary by Sophivorus
Sophivorus (talkcontribs)

Say I wanted to get the total number of page views during last month (or whatever period) for the current page. For example for displaying the number in the infobox of said page. Is it possible to do this in Wikimedia wikis?

Tgr (WMF) (talkcontribs)

The prop=pageviews API (or just visiting the "Page information" link in the sidebar) will give you the number of pageviews for the last 30 days but it's not accessible from wikitext (short of doing unwise hacks via the Graph extension).

Sophivorus (talkcontribs)