Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Difference between revisions of "Appropedia:Village pump/Stats"

From Appropedia
Jump to: navigation, search
(removed sections requiring updates)
(update)
Line 1: Line 1:
{| cellspacing="0" align="center" cellpadding="5" class="plainlinks" style="width: {{#switch: {{FULLPAGENAME}} | User:RichardF/Sandbox3 | Appropedia:Village pump | Appropedia:Village pump/Introduction | Appropedia:Village pump/Stats = 100% | #default = 60%}}; border:1px solid #A3BFA3; background-color:#EDF2ED; box-shadow: 2px 2px 1px #888888; text-align: left;"
+
<noinclude>{| style="width:100%"
 
|-
 
|-
!<center>[[Special:Statistics|Appropedia site statistics]]</center>
+
|{{purge|'''Update'''}}
 +
<br>Current Month Edits: {{#expr: ( {{NUMBEROFEDITS:R}} - 242864 ) }}
 +
<br>Current Year Weeks: {{#expr: ( {{CURRENTWEEK}} ) }}
 +
<br>Subtract 1 week if not Sunday: {{#ifeq: {{CURRENTDOW}}|0| -0| -1}} means
 +
<br>{{#expr: ( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )}} weeks * 7: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7)}}
 +
<br>Week Full Days: {{#expr: {{CURRENTDOW}} -1 }}
 +
<br>Year Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 }}
 +
<br>Year Full Days Offset: 31+28+31+30+31+30+1 = {{#expr: 31+28+31+30+31+30+1}} means
 +
<br>Current Month Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1  - (31+28+31+30+31+30+1) }}
 +
<br>Today Current Hour: {{#expr: {{CURRENTHOUR}}  }} means
 +
<br>Today Current Hour: {{#expr: {{CURRENTHOUR}} /24 ROUND 2 }} makes
 +
<br>Current Month Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1  - (31+28+31+30+31+30+1) + ( {{CURRENTHOUR}} /24) ROUND 2 }}
 +
 
 +
| valign=top style="width:60%" |
 +
</noinclude>{| cellspacing="0" align="center" cellpadding="5" class="plainlinks" style="width: {{#switch: {{FULLPAGENAME}} | User:RichardF/Sandbox3 | Appropedia:Village pump | Appropedia:Village pump/Introduction | Appropedia:Village pump/Stats = 100% | #default = 60%}}; border:1px solid #A3BFA3; background-color:#EDF2ED; box-shadow: 2px 2px 1px #888888; text-align: left;"
 +
|-
 +
!<center>[[Special:Statistics|Appropedia site statistics]] ({{purge|Update}})</center>
 
|-
 
|-
 
|<center>'''[[Special:Allpages|Pages]]:''' {{NUMBEROFPAGES}}{{·}} '''[[Special:Newimages|Files]]:''' {{NUMBEROFFILES}}{{·}} '''[[Special:Allpages|Articles]]:''' {{NUMBEROFARTICLES}}{{·}} '''[[Special:ActiveUsers|Active users]]:''' {{NUMBEROFACTIVEUSERS}} <br>'''[[Special:Recentchanges|Edits]]:''' {{NUMBEROFEDITS}}{{·}} '''Edits/Article:''' {{#expr: {{NUMBEROFEDITS:R}} / {{NUMBEROFARTICLES:R}} round 0}}{{·}}  '''Views:''' {{NUMBEROFVIEWS}}{{·}} '''Views/Edit:''' {{#expr: {{NUMBEROFVIEWS:R}} / {{NUMBEROFEDITS:R}} round 0}}</center>  
 
|<center>'''[[Special:Allpages|Pages]]:''' {{NUMBEROFPAGES}}{{·}} '''[[Special:Newimages|Files]]:''' {{NUMBEROFFILES}}{{·}} '''[[Special:Allpages|Articles]]:''' {{NUMBEROFARTICLES}}{{·}} '''[[Special:ActiveUsers|Active users]]:''' {{NUMBEROFACTIVEUSERS}} <br>'''[[Special:Recentchanges|Edits]]:''' {{NUMBEROFEDITS}}{{·}} '''Edits/Article:''' {{#expr: {{NUMBEROFEDITS:R}} / {{NUMBEROFARTICLES:R}} round 0}}{{·}}  '''Views:''' {{NUMBEROFVIEWS}}{{·}} '''Views/Edit:''' {{#expr: {{NUMBEROFVIEWS:R}} / {{NUMBEROFEDITS:R}} round 0}}</center>  
 +
----
 +
<table style="border-collapse:collapse; width:100%;">
 +
<tr><td colspan="5" style="text-align:center">'''{{CURRENTMONTHNAME}} Edits:''' {{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864}}}}</td></tr>
 +
{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3|{{#expr: ({{<!--update edits offset-->NUMBEROFEDITS:R}} - 242864) /<!--compare @ 31 days/mo:43--> 43 }}|{{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864}}}}}}
 +
{{bar percent|barwidth=100%|June |#A3BFA3| {{#expr:3892 /<!--compare @ 31 days/mo:43--> 43}} | 1,933}}
 +
</table>
 +
----
 +
<table style="border-collapse:collapse; width:100%;">
 +
<tr><td colspan="5" style="text-align:center">'''{{CURRENTMONTHNAME}} Edits/Day:''' {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }}</td></tr>
 +
{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3| {{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }}
 +
{{bar percent|barwidth=100%|June |#A3BFA3|{{#expr: (64/<!--125 e/d--> 250)*100 }} | 64 }}
 +
</table>
 +
|}<noinclude>
 +
|}
 +
 +
=== How to update this table ===
 +
The above table is updated automatically, except for the number and bar values in the graphic over time sections, which can be selected from any of the values on the history table below.
 +
 +
The Monthly Edits are adjusted by changing the offset in the related equation, e.g., <nowiki>{{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864}}}}</nowiki>  The bars are adjusted so the longest previous value is about 90%, e.g., <nowiki>{{#expr: 90}}</nowiki>. The current period is formatted to hit the 90% value at a pace of about 125 Edits/Day, e.g., <nowiki>{{#expr: ({{<!--update edits offset-->NUMBEROFEDITS:R}} - 242864) / 43 }}</nowiki>.
 +
 +
The Edits/Day bar lengths are adjusted to have the target length be about 50% at 125 Edits/Day, e.g., <nowiki>{{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }}</nowiki> and <nowiki>{{#expr: (126/250)*100 }}</nowiki>.
 +
 +
The Days in Edits/Day are adjusted by changing the offset in the related equation, e.g., <nowiki>{{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }})</nowiki>. The calculation of Days in Edits/Day works as follows; Current Year Weeks: {{#expr: ( {{CURRENTWEEK}} ) }} but Subtract 1 week if not Sunday: {{#ifeq: {{CURRENTDOW}}|0| -0| -1}} means {{#expr: ( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )}} weeks * 7: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7)}} plus Week Full Days: {{#expr: {{CURRENTDOW}} -1 }} goes to Year Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 }}. Year Full Days Offset: 31+28+31+30+31+30+1 = {{#expr: 31+28+31+30+31+30+1}} means Current Month Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1  - (31+28+31+30+31+30+1) }}. Today Current Hour: {{#expr: {{CURRENTHOUR}}  }} means Today Current Hour: {{#expr: {{CURRENTHOUR}} /24 ROUND 2 }} makes Current Month Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1  - (31+28+31+30+31+30+1) + ( {{CURRENTHOUR}} /24) ROUND 2 }}
 +
 +
=== History ===
 +
The history table below can be updated by copying the bottom row from the display, which is updated automatically, ( except for the Edits/Day Lately & Views/Edit Lately) to the row just above it.
 +
 +
{| table class="wikitable collapsible uncollapsed sortable" style="text-align:right;"
 +
|+'''Appropedia site statistics history'''
 +
|-
 +
!Date !! Pages !! Files !! Articles !! A u !! Edits !! E/P !! E/A !! E/DL !! Views !! V/E !! V/EL
 +
|-
 +
| 2013 05 1 00:00 || 39974 || 17332 || 5384 || 114 || 237039 || 6 || 44 || 0 || 41161113 || 174 || 0
 +
|-
 +
| 2013 06 1 00:00 || 40641 || 17888 || 5411 || 112 || 240931 || 6 || 45 || 126 || 42326485 || 176 || 299
 +
|-
 +
| 2013 07 1 00:00 || 40838 || 17995 || 5436 || 57 || 242864 || 6 || 45 || 64 || 43262309 || 178 || 1,087
 +
|-
 +
|
 +
|-
 +
| {{CURRENTYEAR}} {{CURRENTMONTH}} {{CURRENTDAY}} {{CURRENTTIME}} || {{NUMBEROFPAGES:R}} || {{NUMBEROFFILES:R}} || {{NUMBEROFARTICLES:R}} || {{NUMBEROFACTIVEUSERS:R}} || {{NUMBEROFEDITS:R}} || {{#expr: {{NUMBEROFEDITS:R}} / {{NUMBEROFPAGES:R}} round 0}} || {{#expr: {{NUMBEROFEDITS:R}} / {{NUMBEROFARTICLES:R}} round 0}} || {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} || {{NUMBEROFVIEWS:R}} || {{#expr: {{NUMBEROFVIEWS:R}} / {{NUMBEROFEDITS:R}} round 0 }} || {{formatnum: {{#expr: ( {{NUMBEROFVIEWS:R}} - <!--update views offset-->41161113 ) / ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) round 0 }} }}
 
|}
 
|}
 +
 +
 +
[[Category:Village pump subpages|Introduction]]
 +
</noinclude>

Revision as of 01:19, 1 July 2013

Update


Current Month Edits: 161744
Current Year Weeks: 46
Subtract 1 week if not Sunday: -1 means
45 weeks * 7: 315
Week Full Days: 1
Year Full Days: 316
Year Full Days Offset: 31+28+31+30+31+30+1 = 182 means
Current Month Full Days: 134
Today Current Hour: 0 means
Today Current Hour: 0 makes
Current Month Days: 134

How to update this table

The above table is updated automatically, except for the number and bar values in the graphic over time sections, which can be selected from any of the values on the history table below.

The Monthly Edits are adjusted by changing the offset in the related equation, e.g., {{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864}}}} The bars are adjusted so the longest previous value is about 90%, e.g., {{#expr: 90}}. The current period is formatted to hit the 90% value at a pace of about 125 Edits/Day, e.g., {{#expr: ({{<!--update edits offset-->NUMBEROFEDITS:R}} - 242864) / 43 }}.

The Edits/Day bar lengths are adjusted to have the target length be about 50% at 125 Edits/Day, e.g., {{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }} and {{#expr: (126/250)*100 }}.

The Days in Edits/Day are adjusted by changing the offset in the related equation, e.g., {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }}). The calculation of Days in Edits/Day works as follows; Current Year Weeks: 46 but Subtract 1 week if not Sunday: -1 means 45 weeks * 7: 315 plus Week Full Days: 1 goes to Year Full Days: 316. Year Full Days Offset: 31+28+31+30+31+30+1 = 182 means Current Month Full Days: 134. Today Current Hour: 0 means Today Current Hour: 0 makes Current Month Days: 134

History

The history table below can be updated by copying the bottom row from the display, which is updated automatically, ( except for the Edits/Day Lately & Views/Edit Lately) to the row just above it.

Appropedia site statistics history
Date Pages Files Articles A u Edits E/P E/A E/DL Views V/E V/EL
2013 05 1 00:00 39974 17332 5384 114 237039 6 44 0 41161113 174 0
2013 06 1 00:00 40641 17888 5411 112 240931 6 45 126 42326485 176 299
2013 07 1 00:00 40838 17995 5436 57 242864 6 45 64 43262309 178 1,087
2019 11 12 00:45 63842 33319 8512 72 404608 6 48 1207 Template:NUMBEROFVIEWS:R Expression error: Unrecognized punctuation character "[". Expression error: Unrecognized punctuation character "[".