Template:Size/doc: Difference between revisions

Jump to navigation Jump to search
→‎How to calculate the wikiFactor of a site: improve grammar and style, links to relevant MediaWiki.org articles
(→‎How to get size information: update Wikia URL schema)
(→‎How to calculate the wikiFactor of a site: improve grammar and style, links to relevant MediaWiki.org articles)
Line 48: Line 48:


==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 an individual [[wiki]] site.  It is based on the Hirsch [[wp:H-index|''h''-index]] author-level metric, which is commonly used to measure the impact a scientist and / or scholar has had for citations of their published works; an example is [[Magnus Manske]], the first [[:Category:MediaWiki developer|MediaWiki developer]], who has an ''h''-index of 20 (as of April 2019).  The [[wikiFactor]] compliments 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 an individual [[wiki]] site, based upon the number of visits (or page views) each individual page has had on the said wiki site.  wikiFactor takes its inspiration from the well-established Hirsch {{Wp|H-index|''h''-index}} author-level metric, which is commonly used to measure the impact a scientist and / or scholar has had for citations of their published works; an example is [[Magnus Manske]], the first [[:Category:MediaWiki developer|MediaWiki developer]], has a ''h''-index of 20 (as of April 2019).  The [[wikiFactor]] compliments the number of pages and total number of visits information.  More details can be found in the 2009 preprint [https://arXiv.org/abs/0902.3439 'wikiFactor: a measure of the importance of a wiki site'] by [[Carl McBride|Dr Carl McBride]].


Specifically, the {{tag|wikiFactor}} is simply the number of pages in the wiki site (''wF'') that have had more than 1000 times ''wF'' visits.
Specifically, the {{tag|wikiFactor}} is simply the number of pages in the wiki site (''wF'') that have had more than 1000 times ''wF'' visits.


====Example====
====Example====
A [[wikiFactor]] (wF) of, say, 24 – means that page number 24 in the ranking list of pages visited has received 24,000 or more visits, whereas page 25 has not <u>yet</u> reached 25,000 visits.  Here is a worked example for [[WikiIndex]] from [[Archive.org:20150618102313/https://WikiIndex.org/Special:PopularPages|June 2015]]:
A [[wikiFactor]] (wF) of, say, 24 – means that page number 24 in the ranking list of pages visited has received 24,000 or <u>more</u> visits, whereas page 25 has not <u>yet</u> reached 25,000 visits.  Here is a worked example, for [[WikiIndex]] from [[Archive.org:20150618102313/https://WikiIndex.org/Special:PopularPages|June 2015]]:
<div style=margin-left:2em>
<div style=margin-left:2em>
{|style="background-color:#eee; text-align:center; border:1"
{|class=wikitable style="background-color:#eee; text-align:center; border:1"
|+<big>'''wikiFactor (wF) table'''</big>
|+<big>'''wikiFactor (wF) table'''</big>
!ranking position (p)<br>most visited first!!page name (page views)!!relation<br>views [<=>] 1000*p
!ranking position (p)<br><small>most visited first</small>!!page name (page views)!!relation<br>views [<=>] p×1000
|-
|-
|1.||[[Welcome]] (3,438,195 views)
|1.||[[Welcome]] (3,438,195 views)
|style=background-color:#efe|3,438,195 is ''more than'' 1,000
|style=background-color:#efe|3,438,195 is <u>more than</u> 1,000
|-
|-
|2.||[[TestWiki‏‎]] (270,350 views)
|2.||[[TestWiki‏‎]] (270,350 views)
|style=background-color:#efe|270,350 is ''more than'' 2,000
|style=background-color:#efe|270,350 is <u>more than</u> 2,000
|-
|-
|3.||[[Dhamma Wiki‏‎]] (143,211 views)
|3.||[[Dhamma Wiki‏‎]] (143,211 views)
|style=background-color:#efe|143,211 is ''more than'' 3,000
|style=background-color:#efe|143,211 is <u>more than</u> 3,000
|-
|-
|4.||[[Bulbapedia]] (100,660 views)
|4.||[[Bulbapedia]] (100,660 views)
|style=background-color:#efe|100,660 is ''more than'' 4,000
|style=background-color:#efe|100,660 is <u>more than</u> 4,000
|-
|-
|–||—
|–||—
Line 81: Line 81:
|-
|-
|22.||[[WikiMapia‏‎‏‎]] (26,290 views)
|22.||[[WikiMapia‏‎‏‎]] (26,290 views)
|style=background-color:#efe|26,290 is ''more than'' 22,000
|style=background-color:#efe|26,290 is <u>more than</u> 22,000
|-
|-
|23.||[[ROS Wiki‏‎]] (26,090 views)
|23.||[[ROS Wiki‏‎]] (26,090 views)
|style=background-color:#efe|26,090 is ''more than'' 23,000
|style=background-color:#efe|26,090 is <u>more than</u> 23,000
|-
|-
|24.||[[Willkommen]]‏‎ (25,478 views)
|24.||[[Willkommen]]‏‎ (25,478 views)
|style=background-color:#efe|25,478 is ''more than'' 24,000
|style=background-color:#efe|25,478 is <u>more than</u> 24,000
|-
|-
|25.||[[RationalWiki (en)‏‎]] (24,892 views)||24,892 is ''less than'' 25,000
|25.||[[RationalWiki (en)‏‎]] (24,892 views)||24,892 is '''<u>less than</u>''' 25,000
|}</div>
|}</div>
If one counts the entries with <code>views ''more than'' 1000*p</code> (highlighted in light green) – one arrives at a wikiFactor (wF) of 24 for WikiIndex (correct as of June 2015).
If one counts the entries with <code>views <u>more than</u> p×1000</code> (highlighted in light green) – one arrives at a wikiFactor (wF) of 24 for WikiIndex (correct as of June 2015).


====Where to look====
====Where to look====
Many [[:Category:Wiki Engine|wiki engines]] (though not all) provide global statistics for page views, or 'hit counters'.  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).
Many [[:Category:Wiki Engine|wiki engines]] (though not all) provide global statistics for page views, or 'hit counters'.  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>https://YourWikiURL.org/Special:PopularPages</nowiki></code></s>.<br>MediaWiki have, by default, now [[MW:Requests for comment/Removing hit counters from MediaWiki core|removed the page 'Special:PopularPages']] from its 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]].  Many large wikis are not able to have MediaWiki (or an extension) internally generate hit counters as they operate behind a cache or reverse proxy (such as Squid or Varnish), or an external content distribution network (such as Cloudflare) for performance reasons - which means most of the requests never reach the main servers.  There are alternatives, but mostly these are site-specific.
#[[:Category:MediaWiki|MediaWiki]] — go to the <tt>/Special:PopularPages</tt> page of the wiki site – <code><nowiki>https://YourWikiURL.org/Special:PopularPages</nowiki></code>.<br>MediaWiki have, by default, now {{Mw|Requests for comment/Removing hit counters from MediaWiki core|'''removed''' the page 'Special:PopularPages'}} from its core installation in {{Mw|MediaWiki 1.25#Hit counters removed|MediaWiki 1.25}} onwardsMediaWiki now use the {{Mw|API:REST API|RestAPI}} function instead.  To now produce the data as before, the wiki site owner (or hosting provider) must install the {{Mw|Extension: HitCounters}}.  Many large wiki sites are not able to have MediaWiki (or an extension) internally generate hit counters, as they operate behind a cache or reverse proxy (such as {{Mw|Squid}} or {{Mw|Manual:Varnish caching|Varnish}}), or an external content distribution network (such as {{Mw|Manual:CloudFlare|CloudFlare}}) for performance reasons - which means most of the requests never reach the main servers.  There are alternatives, but mostly these are site-specific.
#[[:Category:Wikimedia Foundation|Wikimedia Foundation]] — <tt>/Special:PopularPages</tt> has been unavailable for some time.  The Wikipedia article traffic statistics 'Top' sites option at [http://Stats.Grok.se/ Stats.Grok.se] can be used for the larger [[:Category:Wikipedia|Wikipedias]], [[Wikimedia Commons]], and [[Wikimedia Meta-Wiki]], but needs to be manually summed for the individual wiki on a per-month basis.
#[[:Category:Wikimedia Foundation|Wikimedia Foundation]] — <tt>/Special:PopularPages</tt> has been unavailable for some time.  The Wikipedia article traffic statistics 'Top' sites option at [http://Stats.Grok.se Stats.Grok.se] was previously available for the larger [[:Category:Wikipedia|Wikipedias]], [[Wikimedia Commons]], and [[Wikimedia Meta-Wiki]], but needed to be manually summed for the individual wiki on a per-month basis.
#[[:Category:Wikia|Wikia]] — originally, this info could be accessed at <tt>Special:Mostvisitedpages</tt> – <code><nowiki>http://YourWikiName.Wikia.com/wiki/Special:Mostvisitedpages</nowiki></code>, although from September 2011 this tool was removed, and no similar page counter existed for Wikia sites.  Sometime in mid-2012, Wikia reinstated <tt>/Special:Mostvisitedpages</tt>, so this feature became active again.  By mid-March 2013 it had gone again, on [http://Community.Wikia.com/wiki/Special:Mostvisitedpages the Community Central] and at least one big wiki.  There is now no Special:PopularPages; it was replaced by <code>Special:Top/most_visited</code>, which was deprecated in favour of <code>Special:Insights/popularpages</code>, itself now also depreciated.
#[[:Category:Wikia|Wikia]] — originally, this info could be accessed at <tt>Special:Mostvisitedpages</tt> – <code><nowiki>http://YourWikiName.Wikia.com/wiki/Special:Mostvisitedpages</nowiki></code>, although from September 2011 this tool was removed, and no similar page counter existed for Wikia sites.  Sometime in mid-2012, Wikia reinstated <tt>/Special:Mostvisitedpages</tt>, so this feature became active again.  By mid-March 2013 it had gone again, on [http://Community.Wikia.com/wiki/Special:Mostvisitedpages the Community Central] and at least one big wiki.  There is now no Special:PopularPages; it was replaced by <code>Special:Top/most_visited</code>, which was deprecated in favour of <code>Special:Insights/popularpages</code>, itself now also depreciated.
#[[:Category:MoinMoin|MoinMoin]] — add <tt>/PageHits</tt> at the end of the URL – <code><nowiki>https://YourWikiURL.org/wiki/PageHits</nowiki></code>.
#[[:Category:MoinMoin|MoinMoin]] — add <tt>/PageHits</tt> at the end of the URL – <code><nowiki>https://YourWikiURL.org/wiki/PageHits</nowiki></code>.
Line 110: Line 110:
#[[:Category:Bitweaver|Bitweaver]] — add <tt>/rankings.php</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/wiki/rankings.php</nowiki></code>.  In the 'Select Attribute' drop-down list, choose 'Most Often Viewed', and from the 'Number of items', select the most appropriate option from the drop-down list.
#[[:Category:Bitweaver|Bitweaver]] — add <tt>/rankings.php</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/wiki/rankings.php</nowiki></code>.  In the 'Select Attribute' drop-down list, choose 'Most Often Viewed', and from the 'Number of items', select the most appropriate option from the drop-down list.
#[[:Category:DokuWiki|DokuWiki]] —  
#[[:Category:DokuWiki|DokuWiki]] —  
#[[:Category:ShoutWiki|ShoutWiki]] — <tt>/Special:PopularPages</tt> and <tt>/Special:Mostvisitedpages</tt> both don't exist.
#[[:Category:ShoutWiki|ShoutWiki]] — <tt>/Special:PopularPages</tt> is not available.
#[[:Category:WikiFree|WikiFree]] — <code>Special:PopularPages</code> is enabled on-request.
#[[:Category:WikiFree|WikiFree]] — <code>Special:PopularPages</code> is enabled on-request.


=====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 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.
If your [[wiki]] site uses {{Mw|Extension:Google Analytics Integration|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:Wiki Size|*]]
[[Category:Wiki Size|*]]
[[Category:wikiFactor|*]]<noinclude>
[[Category:wikiFactor|*]]<noinclude>
[[Category:Documentation templates]]</noinclude>
[[Category:Documentation templates]]</noinclude>

Navigation menu