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
(update)
(bar)
Line 24: Line 24:
 
<tr><td colspan="5" style="text-align:center">'''{{CURRENTMONTHNAME}} Edits:''' {{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->242864}}}}</td></tr>
 
<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%|{{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}}
+
{{bar percent|barwidth=100%|June |#A3BFA3| {{#expr:1933 /<!--compare @ 31 days/mo:43--> 43}} | 1,933}}
 
</table>
 
</table>
 
----
 
----

Revision as of 17:15, 1 July 2013

Update


Current Month Edits: 162256
Current Year Weeks: 47
Subtract 1 week if not Sunday: -1 means
46 weeks * 7: 322
Week Full Days: 2
Year Full Days: 324
Year Full Days Offset: 31+28+31+30+31+30+1 = 182 means
Current Month Full Days: 142
Today Current Hour: 18 means
Today Current Hour: 0.75 makes
Current Month Days: 142.75

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: 47 but Subtract 1 week if not Sunday: -1 means 46 weeks * 7: 322 plus Week Full Days: 2 goes to Year Full Days: 324. Year Full Days Offset: 31+28+31+30+31+30+1 = 182 means Current Month Full Days: 142. Today Current Hour: 18 means Today Current Hour: 0.75 makes Current Month Days: 142.75

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 20 18:02 63918 33366 8538 72 405120 6 47 1137 Template:NUMBEROFVIEWS:R Expression error: Unrecognized punctuation character "[". Expression error: Unrecognized punctuation character "[".