Template:Size: Difference between revisions

m
tweak to cat display order, grammar improvements
(→‎Parameters: 2018, more help text)
m (tweak to cat display order, grammar improvements)
Line 1: Line 1:
<!--Categorizing logic--> <includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
<!--Categorizing logic--><includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
|[[Category:{{SizeCat|{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}|R}}}}]]
|[[Category:{{SizeCat|{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}|R}}}}]]
[[pages::{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages|0}}}}}}}}}|R}}| ]]<!-- Semantic Property -->
[[pages::{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages|0}}}}}}}}}|R}}| ]]<!-- Semantic Property -->
Line 10: Line 10:
-->{|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|{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages|0}}}}}}}}}|R}}}}|{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages|0}}}}}}}}}}} pages]]|[[:Category:UnknownSize|UnknownSize]]}}{{#if: {{{statistics URL|{{{statistics_URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}}}}|<sup>&nbsp;[{{{statistics URL|{{{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|{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages|0}}}}}}}}}|R}}}}|{{formatnum:{{{pages|{{{wiki pages|{{{wiki_pages|0}}}}}}}}}}} pages]]|[[:Category:UnknownSize|UnknownSize]]}}{{#if: {{{statistics URL|{{{statistics_URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}}}}|<sup>&nbsp;[{{{statistics URL|{{{statistics_URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wikiFactor<includeonly>|</includeonly>}}}}}}|
{{#if: {{{wikiFactor|{{{wikiFactor<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"
{{!}} style="margin:4px 0 0 4px; padding:2px" scope="row" {{!}} [[:Category:wikiFactor|wikiFactor]]:
{{!}}style="margin:4px 0 0 4px; padding:2px" scope=row{{!}}[[:Category:wikiFactor|wikiFactor]]:
{{!}} style="margin:4px 4px 0 0; padding:2px" {{!}} [[:Category:{{wikiFactorCatText|{{formatnum:{{{wikiFactor|{{{wikiFactor|0}}}}}}|R}}}}|{{formatnum:{{{wikiFactor|{{{wikiFactor|0}}}}}}}}]]{{#if: {{{wikiFactor URL|{{{wikiFactor URL|}}}}}}|&nbsp;<sup>[[wikiFactor|info]] / [{{{wikiFactor URL|{{{wikiFactor URL}}}}}} verify ...]</sup>}}
{{!}}style="margin:4px 4px 0 0; padding:2px"{{!}}[[:Category:{{wikiFactorCatText|{{formatnum:{{{wikiFactor|{{{wikiFactor|0}}}}}}|R}}}}|{{formatnum:{{{wikiFactor|{{{wikiFactor|0}}}}}}}}]]{{#if: {{{wikiFactor URL|{{{wikiFactor URL|}}}}}}|&nbsp;<sup>[[wikiFactor|info]] / [{{{wikiFactor URL|{{{wikiFactor URL}}}}}} verify ...]</sup>}}
}}
}}
|}<noinclude>__NOTOC__
|}<noinclude>__NOTOC__
Line 22: Line 22:
;pages: number of 'legitimate' [[wiki]] article pages (NO 'thousands' separator), see [[#How to get size information|How to get size information]] below for details
;pages: number of 'legitimate' [[wiki]] article pages (NO 'thousands' separator), see [[#How to get size information|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 an optional, though preferred parameter; it selects the appropriate '''[[:Category:Wiki Size|Wiki Size category]]'''.
::This is an optional, though preferred parameter; it selects the appropriate '''{{tag|Wiki Size|Wiki Size category}}'''.


;statistics URL: external link to the wiki's statistics page, which includes a page count
;statistics URL: external link to the wiki's statistics page, which includes a page count
Line 30: Line 30:
;wikiFactor: plain value, see [[#How to calculate the wikiFactor of a site|How to calculate the wikiFactor of a site]] below for details
;wikiFactor: plain value, see [[#How to calculate the wikiFactor of a site|How to calculate the wikiFactor of a site]] below for details
:(''obsolete parameter name:'' <s><tt>wiki factor</tt></s>)
:(''obsolete parameter name:'' <s><tt>wiki factor</tt></s>)
::This is an optional, though preferred parameter; it selects the appropriate '''[[:Category:wikiFactor|wikiFactor (wF) category]]'''.
::This is an optional, though preferred parameter; it selects the appropriate '''{{tag|wikiFactor|wikiFactor (wF) category}}'''.


;wikiFactor URL: external link to the page containing the database the wikiFactor (wF) was calculated from
;wikiFactor URL: external link to the page containing the database the wikiFactor (wF) was calculated from
:(''obsolete parameter name:'' <s><tt>wiki factor URL</tt></s>)
:(''obsolete parameter name:'' <s><tt>wiki factor URL</tt></s>)
::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 correct wikiFactor value 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 [[:Category:Wiki People|WikiIndex editors]] to assist in calculating the correct wikiFactor value for you.


;(As of<nowiki>:</nowiki> 2018-MM-DD): YYYY-MM-DD; manually add/amend the date each time you actually check to verify and/or update the stats
;(As of<nowiki>:</nowiki> 2018-MM-DD): YYYY-MM-DD; manually add/amend the date each time you actually check to verify and/or update the stats
::This does not auto-generate as part of the template, and needs to be manually entered; if missing, the easiest way is to copy the entire boilerplate below and paste it into the required article.
::This does not auto-generate as part of the template, and needs to be manually entered; if missing, the easiest way is to copy the entire {{template|size boilerplate}} as shown below, and paste it into the required article.


==Boilerplate==
==Boilerplate==
When anyone goes to [[WikiIndex:Community portal]] and hits the "create a new Wiki article page" button, the default [[:Category:Boilerplates|boilerplate]] includes this [[Template:Size boilerplate|Size boilerplate]]:
When anyone goes to [[WikiIndex:Community portal]] and hits the 'create a new Wiki article page' button, the default [[:Category:Boilerplates|boilerplate]] includes this [[Template:Size boilerplate|Size boilerplate]]:
{{size boilerplate}}
{{size boilerplate}}
:<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 46: Line 46:


==How to get size information==
==How to get size information==
Most [[:Category:Wiki Engine|wiki engines]] provide statistics somewhere, which includes a [[:Category:Wiki Size|page count]].  Here's how to find them for various wiki engines (although it can also depend on the software version of the wiki engine being run by the said [[wiki]]).  For some, simply click on the appropriate 'statistics' link; for others, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your [[:Category:Web|web]] [[:Category:Software|browser]].
Many [[:Category:Wiki Engine|wiki engines]] provide wiki site statistics somewhere, which includes a {{tag|Wiki Size|page count}}.  Here is how to find them for various wiki enginesalthough it can also depend on the software version of the wiki engine being run by the said [[wiki]].  For some, simply click on the appropriate 'statistics' link; for others, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your [[:Category:Web|web]] [[:Category:Software|browser]].
#[[:Category:MediaWiki|MediaWiki]] — add <tt>/Special:Statistics</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> (non-English [[:Category:Wiki Language|language]] versions will automatically convert this to actual language).  Dependent on software version, there is a number called "Content pages", or "pages that are probably legitimate content pages" -- use <u>that</u> lower 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 <tt>/Special:Statistics</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> (non-English [[:Category:Wiki Language|language]] versions will automatically convert this to actual language).  Dependent on software version, there is a number called "Content pages", or "pages that are probably legitimate content pages" -- use <u>that</u> lower 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:Wikimedia Foundation|Wikimedia Foundation]] — ???
#[[:Category:Wikimedia Foundation|Wikimedia Foundation]] — ???
Line 66: Line 66:


==How to calculate the wikiFactor of a site==
==How to calculate the wikiFactor of a site==
The '''wikiFactor''' ('''wF''') is a measure of the 'popularity' of a [[wiki]]-site.  It is based on the Hirsch [[wp:H-index|h-index]] which is commonly used to measure the impact a scientist has had in the literature.  The [[wikiFactor]] complements the number of pages and total number of visits information.  More details can be found in the preprint [http://arXiv.org/abs/0902.3439 "wikiFactor: a measure of the importance of a wiki site"].
The '''wikiFactor''' ('''wF''') is a measure of the 'popularity' of a [[wiki]]-site.  It is based on the Hirsch [[wp:H-index|h-index]], which is commonly used to measure the impact a scientist has had in the literature.  The [[wikiFactor]] complements the number of pages and total number of visits information.  More details can be found in the preprint [http://arXiv.org/abs/0902.3439 'wikiFactor: a measure of the importance of a wiki site'].


The [[:Category:wikiFactor|wikiFactor]] is simply the number of pages in the wiki (''wF'') that have had more than 1000 times ''wF'' visits.
The {{tag|wikiFactor}} is simply the number of pages in the wiki (''wF'') that have had more than 1000 times ''wF'' visits.


====Example====
====Example====
A [[wikiFactor]] (wF) of, say, 20 – means that page number 20 in the ranking of pages visited has received 20,000 or more visits, whereas page 21 has not <u>yet</u> reached 21,000 visits.  Here is a worked example – for [[Special:Popularpages|WikiIndex]] from September 2012:
A [[wikiFactor]] (wF) of, say, 20 – means that page number 20 in the ranking list of pages visited has received 20,000 or more visits, whereas page 21 has not <u>yet</u> reached 21,000 visits.  Here is a worked example – for [[Special:PopularPages|WikiIndex]] from September 2012:
 
<div style=margin-left:2em>
<div style=margin-left:2em>
{|style="background-color:#eee; text-align:center; border:1"
{|style="background-color:#eee; text-align:center; border:1"
Line 82: Line 81:
|1.
|1.
|[[Welcome]] (1,614,887 views)
|[[Welcome]] (1,614,887 views)
|style=background-color:#efe|1,614,887 '''&gt;''' 1,000
|style=background-color:#efe|1,614,887 '''>''' 1,000
|-
|-
|2.
|2.
|[[TestWiki‏‎]] (268,598 views)
|[[TestWiki‏‎]] (268,598 views)
|style=background-color:#efe|268,598 '''&gt;''' 2,000
|style=background-color:#efe|268,598 '''>''' 2,000
|-
|-
|3.
|3.
|[[Dhamma Wiki‏‎]] (142,276 views)
|[[Dhamma Wiki‏‎]] (142,276 views)
|style=background-color:#efe|142,276 '''&gt;''' 3,000
|style=background-color:#efe|142,276 '''>''' 3,000
|-
|-
|4.
|4.
|[[Bulbapedia]] (95,036 views)
|[[Bulbapedia]] (95,036 views)
|style=background-color:#efe|95,036 '''&gt;''' 4,000
|style=background-color:#efe|95,036 '''>''' 4,000
|-
|-
|–
|–
Line 110: Line 109:
|18.
|18.
|[[WikiIndex:WikiProject:Wikis to Add‏‎]] (21,428 views)
|[[WikiIndex:WikiProject:Wikis to Add‏‎]] (21,428 views)
|style=background-color:#efe|21,428 '''&gt;''' 18,000
|style=background-color:#efe|21,428 '''>''' 18,000
|-
|-
|19.
|19.
|[[WikiLyric‏‎]] (21,181 views)
|[[WikiLyric‏‎]] (21,181 views)
|style=background-color:#efe|21,181 '''&gt;''' 19,000
|style=background-color:#efe|21,181 '''>''' 19,000
|-
|-
|20.
|20.
|[[Aide:Contenus]]‏‎ (20,179 views)
|[[Aide:Contenus]]‏‎ (20,179 views)
|style=background-color:#efe|20,179 '''&gt;''' 20,000
|style=background-color:#efe|20,179 '''>''' 20,000
|-
|-
|21.
|21.
|[[English Girls WikiPorn‏‎]] (20,031 views)
|[[English Girls WikiPorn‏‎]] (20,031 views)
|20,031 &lt; 21,000
|20,031 < 21,000
|}
|}</div>
</div>
If one counts the entries with <code>views > 1000*p</code> (highlighted in light green) – one arrives at a wikiFactor (wF) of 20 for WikiIndex (correct as of September 2012).
 
If one counts the entries with <code>views > 1000*p</code> (highlighted in light green) – one arrives at a wikiFactor (wF) of 20 for [[WikiIndex]] (correct as of September 2012).


====Where to look====
====Where to look====
Many [[:Category:Wiki Engine|wiki engines]] (though not all) provide global statistics.  Here's how to find the appropriate [[wikiFactor]] related stats for various wiki engines (although it can also depend on software version used by individual wiki sites)
Many [[:Category:Wiki Engine|wiki engines]] (though not all) provide global statistics.  Here is how to find the appropriate [[wikiFactor]] related stats for various wiki engines (although it can also depend on software version used by individual wiki sites)
#[[:Category:MediaWiki|MediaWiki]] — <s>go to the <tt>/Special:PopularPages</tt> page of the wiki – <code><nowiki>http://YourWikiURL.org/Special:PopularPages</nowiki></code></s>
#[[:Category:MediaWiki|MediaWiki]] — <s>go to the <tt>/Special:PopularPages</tt> page of the wiki – <code><nowiki>http://YourWikiURL.org/Special:PopularPages</nowiki></code></s>
::* MediaWiki have, by default, now [[MW:Requests for comment/Removing hit counters from MediaWiki core|removed the page 'Special:PopularPages' and page counts]] from the core installation.  They now use the RestAPI function instead.  To now produce the data as before, one must install the [[MW:Extension:HitCounters|Extension:HitCounters]].
::* MediaWiki have, by default, now [[MW:Requests for comment/Removing hit counters from MediaWiki core|removed the page 'Special:PopularPages' and page counts]] from the core installation.  They now use the RestAPI function instead.  To now produce the data as before, one must install the [[MW:Extension:HitCounters|Extension:HitCounters]].
Line 150: Line 147:


=====Google Analytics=====
=====Google Analytics=====
If your [[wiki|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.
If your [[wiki]] 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 page views 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]]
[[Category:Wiki Size| ]]
[[Category:Wiki Size| ]]
[[Category:wikiFactor| ]]</noinclude>
[[Category:wikiFactor|*]]
[[Category:Templates]]</noinclude>