Template:Size: Difference between revisions

Jump to navigation Jump to search
minor tweak to try and remove excessive whitespace at top of rendered template, minor wikilinks & corrections
(minor tweak to try and remove excessive whitespace at top of rendered template, minor wikilinks & corrections)
Line 1: Line 1:
<!--
<!--
Categorizing logic -->
Categorizing logic-->
<includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
<includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]
|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]
Line 12: Line 12:
}}</includeonly>
}}</includeonly>
<!--
<!--
Starting template code
Starting template code-->
 
{{#set:Wiki size={{{pages|}}} |Wiki factor={{{wikiFactor|}}} }}
-->{{#set:Wiki size={{{pages|}}} |Wiki factor={{{wikiFactor|}}} }}
{|style="margin:0; padding:0; border:none"
{| style="margin:0; padding:0; border:none"
|-style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
|- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
|style="margin:0 0 4px 4px; padding:2px;" scope="row"| [[:Category:Wiki Size|Wiki Size]]:
| style="margin:0 0 4px 4px; padding:2px;" scope="row"| [[:Category:Wiki Size|Wiki Size]]:
|style="margin:0 4px 4px 0; padding:2px"| {{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude> pages]]|[[:Category:<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>|<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>]]}}{{#if: {{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>}}
| style="margin:0 4px 4px 0; padding:2px"| {{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude> pages]]|[[:Category:<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>|<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>]]}}{{#if: {{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
Line 24: Line 23:
{{!}} style="margin:4px 4px 0 0; padding:2px" {{!}} [[:Category:{{WikiFactorCatText|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>}}
{{!}} style="margin:4px 4px 0 0; padding:2px" {{!}} [[:Category:{{WikiFactorCatText|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>}}
}}
}}
|}<noinclude><!--
|}<noinclude>
 
 
-->
__NOTOC__
__NOTOC__
==Parameters==
==Parameters==
;pages: number of 'legitimate' wiki pages (no 'thousands' separator), see [[#How to get size information|below for details]]
;pages: number of 'legitimate' [[wiki]] pages (no 'thousands' separator), see [[#How to get size information|below for details]]
: (''alternative parameter names:'' <tt>wiki pages</tt>, <tt>wiki_pages</tt>)
: (''alternative parameter names:'' <tt>wiki pages</tt>, <tt>wiki_pages</tt>)
:: this is a necessary parameter.  It selects the appropriate '''[[:Category:Wiki Size|wiki size category]]'''.
:: this is a necessary parameter.  It selects the appropriate '''[[:Category:Wiki Size|wiki size category]]'''.
Line 46: Line 42:
:: this is an optional, though preferred parameter.  However, if the above wikiFactor parameter is used, then this parameter ''should'' also be used to provide verifiability to the wikiFactor claim.  You may still include this parameter even if you are unsure on how to calculate the above wikiFactor value – as it will allow other [[WikiIndex]] editors to assist in calculating the wikiFactor for you.
:: this is an optional, though preferred parameter.  However, if the above wikiFactor parameter is used, then this parameter ''should'' also be used to provide verifiability to the wikiFactor claim.  You may still include this parameter even if you are unsure on how to calculate the above wikiFactor value – as it will allow other [[WikiIndex]] editors to assist in calculating the wikiFactor for you.


;(As of<nowiki>:</nowiki> DD Month YYYY): manually add the date for when you actually check and/or update the stats.
;(As of<nowiki>:</nowiki> DD Month 20YY): manually add the date for when you actually check and/or update the stats.


==Boilerplate==
==Boilerplate==
Line 53: Line 49:
<pre>
<pre>
{{Size
{{Size
|pages = <!--Necessary. Type the plain number of pages here - no thousands separators.-->
|pages = <!--Necessary. Type the plain number of pages here - NO thousands separators.-->
|statistics URL = <!--Preferred, source of page count (mostly a statistics page). If unknown leave void.-->
|statistics URL = <!--Preferred, source of page count (mostly a statistics page). If unknown leave void.-->
|wikiFactor = <!--Optional. If unknown leave void. (See Proposal:wikiFactor)-->
|wikiFactor = <!--Optional. If unknown leave void. (See Proposal:wikiFactor)-->
|wikiFactor URL = <!--Optional, source of wiki factor. If unknown leave void.-->
|wikiFactor URL = <!--Preferred, source of wikiFactor (often 'PopularPages'). If unknown leave void.-->
}}</pre>
}}(As of: DD Month 20YY)<!--manually add date when stats are verified and/or updated--></pre>


:<tt>(last checked against Community Portal's "Create a New Wiki Page" button <small>--[[User:EarthFurst|EarthFurst]] 17:46, 16 September 2009 (EDT)</small>)</tt>
:<tt>(last checked against Community Portal's "Create a New Wiki Page" button <small>--[[User:EarthFurst|EarthFurst]] 17:46, 16 September 2009 (EDT)</small>)</tt>
Line 63: Line 59:


==How to get size information==
==How to get size information==
Most [[:Category:Wiki Engine|wiki engines]] provide statistics somewhere, which includes a page count.  Here's how to find them for various wiki engines (although it can also depend on the software version being run by the said wiki).  For most, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your web browser.
Most [[:Category:Wiki Engine|wiki engines]] provide statistics somewhere, which includes a page count.  Here's how to find them for various wiki engines (although it can also depend on the software version being run by the said [[wiki]]).  For most, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your web browser.
#[[:Category:MediaWiki|MediaWiki]] – add ''Special:Statistics'' at the end of the URL||<code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> – There is a number called "Content pages" or sometimes "pages that are probably legitimate content pages" -- use <u>that</u> number.  Ignore the (often much larger) "all pages in the wiki, including redirects" number.  We can also [http://s23.org/wikistats/addwiki/ add] MediaWiki listings to the http://s23.org/wikistats/mediawikis_html.php system which tracks various wiki stats.
#[[:Category:MediaWiki|MediaWiki]] – add ''Special:Statistics'' at the end of the URL <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> – There is a number called "Content pages" or sometimes "pages that are probably legitimate content pages" -- use <u>that</u> number.  Ignore the (often much larger) "all pages in the wiki, including redirects" number.  We can also [http://s23.org/wikistats/addwiki/ add] MediaWiki listings to the http://s23.org/wikistats/mediawikis_html.php system which tracks various wiki stats.
#[[:Category:MoinMoin|MoinMoin]] – add ''PageSize'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/PageSize</nowiki></code>
#[[:Category:MoinMoin|MoinMoin]] – add ''PageSize'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/PageSize</nowiki></code>
#[[:Category:UseModWiki|UseModWiki]] – add ''?action=index'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=index</nowiki></code>
#[[:Category:UseModWiki|UseModWiki]] – add ''?action=index'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=index</nowiki></code>
Line 75: Line 71:
#[[:Category:Oddmuse|Oddmuse]] – in ''RecentChanges'' click on ''1 day'' and replace ''?action=rc;days=1;all=0;showedit=0'' with ''?action=index''
#[[:Category:Oddmuse|Oddmuse]] – in ''RecentChanges'' click on ''1 day'' and replace ''?action=rc;days=1;all=0;showedit=0'' with ''?action=index''
#[[:Category:Wikispaces|Wikispaces]] – replace ''/changes'' ending the recent changes url with ''/pagelist''
#[[:Category:Wikispaces|Wikispaces]] – replace ''/changes'' ending the recent changes url with ''/pagelist''
#[[:Category:Wikia|Wikia]] – is usually found somewhere prominent on the main page, more detailed info can be found at <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code>
#[[:Category:Wikia|Wikia]] – is usually found somewhere prominent on the main page, more detailed info can be found at <code><nowiki>http://YourWikiName.wikia.com/Special:Statistics</nowiki></code>
#[[:Category:DokuWiki|DokuWiki]] – ???
#[[:Category:DokuWiki|DokuWiki]] – ???


Line 126: Line 122:
====Where to look====
====Where to look====
Most [[:Category:Wiki Engine|wiki engines]] provide global statistics.  Here's how to find them for various wiki engines (although it can also depend on software version used by individual wiki sites)
Most [[:Category:Wiki Engine|wiki engines]] provide global statistics.  Here's how to find them for various wiki engines (although it can also depend on software version used by individual wiki sites)
#[[:Category:MediaWiki|MediaWiki]] – go to the ''Special:PopularPages'' page of the wiki – <code><nowiki>http://YourWikiURL.org/Special:Popularpages</nowiki></code>
#[[:Category:MediaWiki|MediaWiki]] – go to the ''Special:PopularPages'' page of the wiki – <code><nowiki>http://YourWikiURL.org/Special:PopularPages</nowiki></code>
#[[:Category:MoinMoin|MoinMoin]] –  
#[[:Category:MoinMoin|MoinMoin]] –  
#[[:Category:UseModWiki|UseModWiki]] –  
#[[:Category:UseModWiki|UseModWiki]] –  
Line 138: Line 134:
#[[:Category:Wikispaces|Wikispaces]] – go to ''Manage Wiki'' on the left-hand-side of the page, then click on the ''Tools: Wiki Statistics'' icon.  Shift from the ''overview'' tab to the ''pages'' tab, then click on ''Views''.
#[[:Category:Wikispaces|Wikispaces]] – go to ''Manage Wiki'' on the left-hand-side of the page, then click on the ''Tools: Wiki Statistics'' icon.  Shift from the ''overview'' tab to the ''pages'' tab, then click on ''Views''.
#[[:Category:Wikimedia|Wikimedia]] – ''Special:PopularPages'' seems to be unavailable.  The "Top" sites option at [http://stats.grok.se/ stats.grok.se] can be used for Wikipedias, but needs to be summed on a per-month basis.
#[[:Category:Wikimedia|Wikimedia]] – ''Special:PopularPages'' seems to be unavailable.  The "Top" sites option at [http://stats.grok.se/ stats.grok.se] can be used for Wikipedias, but needs to be summed on a per-month basis.
#[[:Category:Wikia|Wikia]] – Until September 2011, this info could be accessed at ''Special:Mostvisitedpages'' – <code><nowiki>http://YourWikiURL.wikia.com/Special:Mostvisitedpages</nowiki></code>, although this tool has now been removed, and no similar page counter exists for Wikia sites
#[[:Category:Wikia|Wikia]] – until September 2011, this info could be accessed at ''Special:Mostvisitedpages'' – <code><nowiki>http://YourWikiName.wikia.com/Special:Mostvisitedpages</nowiki></code>, although this tool has now been removed, and no similar page counter exists for Wikia sites.


=====Google Analytics=====
=====Google Analytics=====
If your site uses [[Wikipedia:Google Analytics|Google Analytics]], you can go to "Content/Top Content" and select the entire date range to get a count of pageviews for each page.  If you started using Analytics partway through, and stopped collecting your wiki engine's standard statistics at the same time, you may be able to merge the two numbers.
If your site uses [[wp:Google Analytics|Google Analytics]], you can go to "Content/Top Content" and select the entire date range to get a count of pageviews for each page.  If you started using Analytics partway through, and stopped collecting your wiki engine's standard statistics at the same time, you may be able to merge the two numbers.


[[Category:Templates|Size]]
[[Category:Templates|Size]]
[[Category:Wiki Size| ]]
[[Category:Wiki Size| ]]
[[Category:wikiFactor| ]]
[[Category:wikiFactor| ]]</noinclude>
</noinclude>

Navigation menu