Difference between revisions of "Template:High traffic/stats link"

From blackwiki
Jump to navigation Jump to search
imported>Tothwolf
m (Missing <noinclude>)
imported>Kaldari
(Old stats links don't work for newer dates, replacing with tools.wmflabs.org/pageviews. Couldn't figure out how to get {{{date}}} to work with it, feel free to fix.)
Line 1: Line 1:
<span class="plainlinks">[http://stats.grok.se/{{CONTENTLANGUAGE}}/{{#time:Ym|{{{date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}}}}/{{
+
<span class="plainlinks">[http://tools.wmflabs.org/pageviews/?project=en.wikipedia.org&platform=all-access&agent=user&range=latest-60&pages={{
 
   #ifeq:{{lc:{{{page|}}}}}|talk
 
   #ifeq:{{lc:{{{page|}}}}}|talk
 
   |{{TALKPAGENAMEE}}
 
   |{{TALKPAGENAMEE}}
 
   |{{SUBJECTPAGENAMEE}}
 
   |{{SUBJECTPAGENAMEE}}
}} {{#if:{{{small|}}}|Traffic|See visitor traffic}}]</span><includeonly>{{
+
}} {{#if:{{{small|}}}|Traffic|See visitor traffic}}]</span><noinclude>{{documentation}}</noinclude>
  #iferror:{{#time:Ym|{{{date}}}}}
 
  |[[Category:Articles with invalid date parameter in template]]
 
  |<!-- empty -->
 
}}</includeonly><noinclude>{{documentation}}</noinclude>
 

Revision as of 18:58, 10 March 2017

See visitor traffic

Template documentation[create]