Jump to content

Wikipedia:Wikipedia Signpost/Templates/Issue pageviews/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Looks like this:

  • {{Wikipedia:Wikipedia Signpost/Templates/Issue pageviews|2022-06-26}}

Which generates this:

Pageviews: 2022-06-26
2022-06-26, Discussion report: MoS rules on CCP name mulled, XRV axe plea nulled, mass drafting bid pulled
2022-06-26, Essay: RfA trend line haruspicy: fact or fancy?
2022-06-26, Featured content: Articles on Scots' clash, Yank's tux, Austrian's action flick deemed brilliant prose
2022-06-26, Gallery: Celebration of summer, winter
2022-06-26, Humour: Shortcuts, screwballers, Simon & Garfunkel
2022-06-26, In the media: Editor given three-year sentence, big RfA makes news, Guy Standing takes it sitting down
2022-06-26, News and notes: WMF inks new rules on government-ordered takedowns, blasts Russian feds' censor demands, spends big bucks
2022-06-26, News from the WMF: Wikimedia Enterprise signs first deals
2022-06-26, Opinion: Picture of the Day – how Adam plans to ru(i)n it
2022-06-26, Recent research: Wikipedia versus academia (again), tables' "immortality" probed
2022-06-26, Serendipity: Was she really a Swiss lesbian automobile racer?
2022-06-26, Special report: "Wikipedia's independence" or "Wikimedia's pile of dosh"?
2022-06-26, Traffic report: Top view counts for shows, movies, and celeb lawsuit that keeps on giving

Technical notes

[edit]

Similar to Wikipedia:Wikipedia Signpost/Templates/Single talk.

The core of this is Wikipedia:Wikipedia Signpost/Templates/Article list maker, which uses Module:Signpost to fetch article lists from indices.

These indices are at places like Module:Signpost/index/2022. These indices are (as of December 2022) populated by User:Mr._Stradivarius/gadgets/SignpostTagger.

Another task of the article list maker is to apply custom formatting to the entries it gets, which it does here according to the template at Wikipedia:Wikipedia Signpost/Templates/Article list maker/View count. This, itself, uses Wikipedia:Wikipedia Signpost/Templates/Pageview hack, which is itself a modified version of Template:Graph:PageViews (that allows for arbitrary date ranges).

Note that, as of June 2023, the Graph extension is completely arseways, so this template is mostly busted. Even if it's not busted, it isn't very good. Try Wikipedia:Wikipedia Signpost/Templates/Tables/Issue pageviews. jp×g 02:24, 29 June 2023 (UTC)[reply]