Template:Size/doc: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (Protected "Template:Size/doc": High importance template ([Move=Allow only administrators] (indefinite)))
m (Text replacement - "Wiki People" to "Wiki people")
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOCright}}
{{Documentation-NoWP|doc}}
==Parameters==
==Parameters==
;pages: number of 'legitimate' [[wiki]] article pages (NO 'thousands' separator), see [[#How to get size information|How to get size information]] below for details
All parameters for [[template:Size]] are optional, though preferred.  Leave blank when not available or unknown.
:(''alternative parameter names:'' <tt>wiki pages</tt>, <tt>wiki_pages</tt>)
;pages: numeric value of 'legitimate' [[wiki]] article pages (NO 'thousands' separators), see [[#How to get size information|How to get size information]] below for details
::This is an optional, though preferred parameter; it automatically selects the appropriate '''{{tag|Wiki Size|Wiki Size category}}'''.
:(''depreciated parameter names:'' <tt>wiki pages</tt>, <tt>wiki_pages</tt>)
::This will automatically select the appropriate '''{{tag|Wiki Size|Wiki Size category}}'''.


;statistics URL: external link to the wiki's statistics page, which includes the page count
;statistics URL: full URL external link to the wiki's statistics page, which includes the page count
:(''alternative parameter names:'' <tt>statistics_URL</tt>, <tt>wiki statistics URL</tt>, <tt>wiki_statistics_URL</tt>)
:(''depreciated parameter names:'' <tt>statistics_URL</tt>, <tt>wiki statistics URL</tt>)
::This is an optional, though preferred parameter, and ''should'' be used to provide verifiability; archived links are acceptable for [[:Category:Dead|dead]] wikis.
::This ''should'' be used to provide verifiability; archived links are acceptable for [[:Category:Dead|dead]] wikis.


;wikiFactor: plain value, see [[#How to calculate the wikiFactor of a site|How to calculate the wikiFactor of a site]] below for details
;wikiFactor: numeric 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 automatically selects the appropriate '''{{tag|wikiFactor|wikiFactor (wF) category}}'''.
::This will automatically select 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: full URL external link to the page containing 'page views' required to determine the [[wikiFactor]] (wF)
:(''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 [[:Category:Wiki People|WikiIndex editors]] to assist in calculating the correct wikiFactor value for you.  As with the statistics URL, archived links are acceptable for dead wikis.
::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 URL parameter even if you are unsure on how to calculate the above wikiFactor value; it will allow other [[:Category:Wiki people|WikiIndex editors]] to assist in calculating the correct wikiFactor value for you.  As with the statistics URL, archived links are acceptable for dead wikis and / or wiki sites which subsequently disabled this metric.


;(Page count as of<nowiki>:</nowiki> 2018-MM-DD, wikiFactor as of<nowiki>:</nowiki> 2012-MM-DD): ISO 8601 date of backup URL, as in YYYY-MM-DD; manually add/amend the date each time you actually check to verify and/or update the stats
;(Page count as of<nowiki>:</nowiki> 20YY-MM-DD, wikiFactor as of<nowiki>:</nowiki> 2012-MM-DD): ISO 8601 date, as in YYYY-MM-DD; manually add and/or amend the date each time you actually check to verify and/or update the stats
::This does <u>not</u> 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.
::This does <u>not</u> 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:Boilerplate|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>
::Checked agin 08:38, 26 June 2011 (PDT) and updated the above.  [[User:Hoof Hearted|Hoof Hearted]]
::Checked agin 08:38, 26 June 2011 (PDT) and updated the above.  [[User:Hoof Hearted|Hoof Hearted]]


==How to get size information==
==How to get size information==
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 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 an output of statistics somewhere for individual wiki sites, and this usually includes a {{tag|Wiki Size|page count}} for said wikiBelow is how to find them for various wiki engines; although it can also depend on the specific software version of the wiki engine being run by the said [[wiki]].  For some engines, simply click on the appropriate 'statistics' link; for others, you need to manually manipulate its URL by adding (or replacing) a specific text at the end of the relevant wiki URL in the address bar of your [[:Category:Web|web]] [[:Category:Browser|browser]].  The following are known URL manipulations, and / or other methods.  Please feel free to add any additional new findings, or make corrections to existing if required.
#[[: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>https://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 from [[S23-Wiki|S23]] which tracks various wiki stats.
#[[:Category:Wikimedia Foundation|Wikimedia Foundation]] — ???
#[[:Category:Wikimedia Foundation|Wikimedia Foundation]] — all Wikimedia Foundation (WMF) wikis are powered by MediaWiki, and so use the identical MediaWiki syntax shown immediately above.
#[[:Category:Wikia|Wikia]] — is usually found somewhere prominent near the top of the main page; more detailed info (along with backup file link) can be found at <code><nowiki>http://YourWikiName.wikia.com/Special:Statistics</nowiki></code>
#[[:Category:Wikia|Wikia, ''aka'' Fandom]] — actual page count is usually found somewhere prominent near the top-right of the [[wiki main page]] for individual Wikia / Fandom sites.  All Wikia / Fandom wikis are powered by MediaWiki (albeit a heavily modified and exclusively customised version), and therefore use the same MediaWiki syntax, as in <code><nowiki>https://WikiaName.Fandom.com/wiki/Special:Statistics</nowiki></code>.  The statistics page also includes URLs to the two available database dumps (current, and full including history), the latter (larger) URL is what we use in the <tt>backup url</tt> field of our [[Template:Wiki|wiki infobox template]] to display its backup file link.
#[[:Category:MoinMoin|MoinMoin]] — add either <tt>/SystemInfo</tt> or <tt>/PageSize</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/SystemInfo</nowiki></code> or <code><nowiki>http://YourWikiURL.org/PageSize</nowiki></code>
#[[:Category:MoinMoin|MoinMoin]] — dependent upon software version, add either <tt>/SystemInfo</tt> or <tt>/PageSize</tt> at the end of the URL – <code><nowiki>https://YourWikiURL.org/SystemInfo</nowiki></code> or <code><nowiki>https://YourWikiURL.org/PageSize</nowiki></code>.
#[[:Category:UseMod Wiki|UseMod Wiki]] — add <tt>/?action=index</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=index</nowiki></code>
#[[:Category:UseMod Wiki|UseMod Wiki]] — add <tt>/?action=index</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=index</nowiki></code>.
#[[:Category:Pbwiki|Pbwiki]] — replace any page name with <tt>/AllPages</tt> – <code><nowiki>http://YourWikiURL.org/AllPages</nowiki></code>
#[[:Category:PBwiki|PBwiki]] — replace any page name with <tt>/AllPages</tt> – <code><nowiki>http://YourWikiURL.org/AllPages</nowiki></code>.
#[[:Category:PhpWiki|PhpWiki]] — an option: Search for letter "e" in all Titles (''Is there a better way?'')
#[[:Category:PhpWiki|PhpWiki]] — an option: search for letter 'e' (the most commonly used vowel) in all Titles (''is there a better way?'').
#[[:Category:ProWiki|ProWiki]] — add <tt>/?action=spx</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=spx</nowiki></code>
#[[:Category:ProWiki|ProWiki]] — add <tt>/?action=spx</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=spx</nowiki></code>.
#[[:Category:PmWiki|PmWiki]] — use <code>/</code> in the search box then scroll to the bottom (maybe searching for <code>Site/</code> or <code>Main/</code> would be better); an alternative way: add <tt>/index.php/Site/Search?q=/</tt> at the end of the URL – eg. <code><nowiki>http://YourWikiURL.org/index.php/Site/Search?q=/</nowiki></code>
#[[:Category:PmWiki|PmWiki]] — use <code>/</code> in the search box then scroll to the bottom (maybe searching for <code>Site/</code> or <code>Main/</code> would be better); an alternative way: add <tt>/index.php/Site/Search?q=/</tt> at the end of the URL – eg. <code><nowiki>http://YourWikiURL.org/index.php/Site/Search?q=/</nowiki></code>.
#[[:Category:TikiWiki|TikiWiki]] — replace ending <code>/tiki-lastchanges.php</code> with either <code>/tiki-stats.php</code> or <code>/tiki-listpages.php</code>
#[[:Category:TikiWiki|TikiWiki]] — replace ending <code>/tiki-lastchanges.php</code> with either <code>/tiki-stats.php</code> or <code>/tiki-listpages.php</code>.
#[[:Category:TWiki|TWiki]] — add <tt>/WebIndex</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/WebIndex</nowiki></code>
#[[:Category:TWiki|TWiki]] — add <tt>/WebIndex</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/WebIndex</nowiki></code>.
#[[:Category:Oddmuse|Oddmuse]] — in ''RecentChanges'' click on ''1 day'' and replace <tt>?action=rc;days=1;all=0;showedit=0</tt> with <tt>?action=index</tt>
#[[:Category:Oddmuse|Oddmuse]] — in ''RecentChanges'' click on '1 day' and replace <code>?action=rc;days=1;all=0;showedit=0</code> with <code>?action=index</code>.
#[[:Category:Wikispaces|Wikispaces]] — replace <tt>/changes</tt> ending the recent changes url with <tt>/pagelist</tt>
#[[:Category:Wikispaces|Wikispaces]] — replace <tt>/changes</tt> ending the recent changes url with <tt>/pagelist</tt>.
#[[:Category:Bitweaver|Bitweaver]] — add <tt>/list_pages.php</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/wiki/list_pages.php</nowiki></code>
#[[:Category:Bitweaver|Bitweaver]] — add <tt>/list_pages.php</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/wiki/list_pages.php</nowiki></code>.
#[[:Category:DokuWiki|DokuWiki]] — ???
#[[:Category:DokuWiki|DokuWiki]] — add <tt>?do=index</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/doku.php/start?do=index</nowiki></code>.
#[[:Category:JSPWiki|JSPWiki]] — add <tt>Wiki.jsp%3Fpage=SystemInfo.html</tt> at the end of the root URL – <code><nowiki>http://YourWikiURL.org/Wiki.jsp%3Fpage=SystemInfo.html</nowiki></code> (doesn't work on all sites).
#[[:Category:JSPWiki|JSPWiki]] — add <tt>Wiki.jsp?page=System%20Info</tt> at the end of the root URL – <code><nowiki>http://YourWikiURL.org/Wiki.jsp?page=System%20Info</nowiki></code>.
#[[:Category:Socialtext|Socialtext]] — an option: Search for letter "e" in the search box (''is there a better way?'')
#[[:Category:Socialtext|Socialtext]] — an option: search for letter 'e' (the most commonly used vowel) in the search box (''is there a better way?'').
#[[:Category:Wikidot.com|Wikidot.com]] — add <tt>/system:list-all-pages</tt> at the end of the URL – <code><nowiki>http://YourWiki.Wikidot.com.com/system:list-all-pages</nowiki></code>.


==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 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]].


The {{tag|wikiFactor}} is simply the number of pages in the wiki (''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, 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:
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|18 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
!ranking position (p)<br><small>most visited first</small>!!page name (page views)!!relation<br>views [<=>] p×1000
!page name (page views)
!relation<br>views [<=>] 1000*p
|-
|-
|1.
|1.||[[Welcome]] (3,438,195 views)
|[[Welcome]] (1,614,887 views)
|style=background-color:#efe|3,438,195 is <u>more than</u> 1,000
|style=background-color:#efe|1,614,887 '''>''' 1,000
|-
|-
|2.
|2.||[[TestWiki‏‎]] (270,350 views)
|[[TestWiki‏‎]] (268,598 views)
|style=background-color:#efe|270,350 is <u>more than</u> 2,000
|style=background-color:#efe|268,598 '''>''' 2,000
|-
|-
|3.
|3.||[[Dhamma Wiki‏‎]] (143,211 views)
|[[Dhamma Wiki‏‎]] (142,276 views)
|style=background-color:#efe|143,211 is <u>more than</u> 3,000
|style=background-color:#efe|142,276 '''>''' 3,000
|-
|-
|4.
|4.||[[Bulbapedia]] (100,660 views)
|[[Bulbapedia]] (95,036 views)
|style=background-color:#efe|100,660 is <u>more than</u> 4,000
|style=background-color:#efe|95,036 '''>''' 4,000
|-
|-
|–
|–||—
|—
|style=background-color:#efe|—
|style=background-color:#efe|—
|-
|-
|–
|–||—
|—
|style=background-color:#efe|—
|style=background-color:#efe|—
|-
|-
|–
|–||—
|—
|style=background-color:#efe|—
|style=background-color:#efe|—
|-
|-
|18.
|22.||[[Wikimapia (map)|WikiMapia]] (26,290 views)
|[[WikiIndex:WikiProject:Wikis to Add‏‎]] (21,428 views)
|style=background-color:#efe|26,290 is <u>more than</u> 22,000
|style=background-color:#efe|21,428 '''>''' 18,000
|-
|-
|19.
|23.||[[ROS Wiki‏‎]] (26,090 views)
|[[WikiLyric‏‎]] (21,181 views)
|style=background-color:#efe|26,090 is <u>more than</u> 23,000
|style=background-color:#efe|21,181 '''>''' 19,000
|-
|-
|20.
|24.||[[Willkommen]]‏‎ (25,478 views)
|[[Aide:Contenus]]‏‎ (20,179 views)
|style=background-color:#efe|25,478 is <u>more than</u> 24,000
|style=background-color:#efe|20,179 '''>''' 20,000
|-
|-
|21.
|25.||[[RationalWiki (en)‏‎]] (24,892 views)||24,892 is '''<u>less than</u>''' 25,000
|[[English Girls WikiPorn‏‎]] (20,031 views)
|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 <u>more than</u> p×1000</code> (highlighted in light green) – one arrives at a wikiFactor (wF) of 24 for WikiIndex (correct as of 18 June 2015).


====Where to look====
====Where to look====
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)
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>http://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' 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]].
#[[: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 'Top' sites option at [http://stats.grok.se/ stats.grok.se] can be used for [[:Category:Wikipedia|Wikipedias]], but needs to be summed 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/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>.
#[[: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>http://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>.
#[[:Category:UseMod Wiki|UseMod Wiki]] —  
#[[:Category:UseMod Wiki|UseMod Wiki]] —  
#[[:Category:Pbwiki|Pbwiki]] —  
#[[:Category:PBwiki|PBwiki]] —  
#[[:Category:PhpWiki|PhpWiki]] — add <tt>?MostPopular</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/index.php?MostPopular</nowiki></code>
#[[:Category:PhpWiki|PhpWiki]] — add <tt>?MostPopular</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/index.php?MostPopular</nowiki></code>.
#[[:Category:ProWiki|ProWiki]] —  
#[[:Category:ProWiki|ProWiki]] —  
#[[:Category:PmWiki|PmWiki]] —  
#[[:Category:PmWiki|PmWiki]] —  
#[[:Category:TikiWiki|TikiWiki]] — either click on 'Page Rankings' in the sidebar, or add <tt>/tiki-wiki_rankings.php</tt> to the end of the root URL – <code><nowiki>http://YourWikiURL.org/tiki-wiki_rankings.php</nowiki></code>
#[[:Category:TikiWiki|TikiWiki]] — either click on 'Page Rankings' in the sidebar, or add <tt>/tiki-wiki_rankings.php</tt> to the end of the root URL – <code><nowiki>http://YourWikiURL.org/tiki-wiki_rankings.php</nowiki></code>.
#[[:Category:TWiki|TWiki]] —  
#[[:Category:TWiki|TWiki]] —  
#[[:Category:Oddmuse|Oddmuse]] —  
#[[:Category:Oddmuse|Oddmuse]] —  
#[[: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 top-left of the page (under 'Actions'), then click on the ''Tools: Wiki Statistics'' icon – <code><nowiki>http://YourWikiURL.Wikispaces.com/space/stats/overview</nowiki></code>, then shift from the ''overview'' tab to the ''pages'' tab, then click on ''Views''.
#[[: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:JSPWiki|JSPWiki]] — add <tt>Wiki.jsp?page=PageViewStatistics</tt> at the end of the root URL – <code><nowiki>http://YourWikiURL.org/Wiki.jsp?page=PageViewStatistics</nowiki></code> (only if PageViewPlugin is installed).
#[[:Category:WikiFree|WikiFree]] — <code>Special:PopularPages</code> is enabled on-request
#[[:Category:Socialtext|Socialtext]] —
#[[:Category:Wikidot.com|Wikidot.com]] —
#[[:Category:WikiFree|WikiFree]] — <tt>Special:PopularPages</tt> 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>

Latest revision as of 18:07, 29 May 2024


This is the user documentation sub-page for this Template:doc template. This imported template was copied (or imported) from an existing template of the same (or similar) name as this, in accordance with the terms of their respective license(s), at another wiki site; as detailed in its edit history.

Parameters[edit]

All parameters for template:Size are optional, though preferred. Leave blank when not available or unknown.

pages
numeric value of 'legitimate' wiki article pages (NO 'thousands' separators), see How to get size information below for details
(depreciated parameter names: wiki pages, wiki_pages)
This will automatically select the appropriate Wiki Size category.
statistics URL
full URL external link to the wiki's statistics page, which includes the page count
(depreciated parameter names: statistics_URL, wiki statistics URL)
This should be used to provide verifiability; archived links are acceptable for dead wikis.
wikiFactor
numeric value, see How to calculate the wikiFactor of a site below for details
(obsolete parameter name: wiki factor)
This will automatically select the appropriate wikiFactor (wF) category.
wikiFactor URL
full URL external link to the page containing 'page views' required to determine the wikiFactor (wF)
(obsolete parameter name: wiki factor URL)
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 URL parameter even if you are unsure on how to calculate the above wikiFactor value; it will allow other WikiIndex editors to assist in calculating the correct wikiFactor value for you. As with the statistics URL, archived links are acceptable for dead wikis and / or wiki sites which subsequently disabled this metric.
(Page count as of: 20YY-MM-DD, wikiFactor as of: 2012-MM-DD)
ISO 8601 date, as in YYYY-MM-DD; manually add and/or 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 {{size boilerplate}} as shown below, and paste it into the required article.

Boilerplate[edit]

When anyone goes to WikiIndex:Community portal and hits the 'create a new Wiki article page' button, the default boilerplate includes this Size boilerplate:

{{Size <!--see 'Template:Size' for extensive full detail and hidden help advice on page count and wikiFactor-->
|pages= <!--plain numeric value for number of CONTENT pages (or Files on a media commons wiki); NO thousands separators-->
|statistics URL= No<!--page count source, often a '/Special:Statistics' or 'PageSize' page; if unknown type 'No'-->
|wikiFactor= <!--(wF), preferred; see: Category:wikiFactor; if wF unknown leave void; archived wF value may be used-->
|wikiFactor URL= <!--wF source; often 'PopularPages', 'Mostvisitedpages', 'PageHits'; leave void if unknown; archived URL if available-->
}}(Page count as of: 20YY-MM-DD<br>wikiFactor as of: 2012-MM-DD)<!--YYYY-MM-DD; manually add/amend ISO 8601 date when stats are verified and/or updated-->
(last checked against Community Portal's "Create a New Wiki Page" button --EarthFurst 17:46, 16 September 2009 (EDT))
Checked agin 08:38, 26 June 2011 (PDT) and updated the above. Hoof Hearted

How to get size information[edit]

Many wiki engines provide an output of statistics somewhere for individual wiki sites, and this usually includes a page count for said wiki. Below is how to find them for various wiki engines; although it can also depend on the specific software version of the wiki engine being run by the said wiki. For some engines, simply click on the appropriate 'statistics' link; for others, you need to manually manipulate its URL by adding (or replacing) a specific text at the end of the relevant wiki URL in the address bar of your web browser. The following are known URL manipulations, and / or other methods. Please feel free to add any additional new findings, or make corrections to existing if required.

  1. MediaWiki — add /Special:Statistics at the end of the URL – https://YourWikiURL.org/Special:Statistics (non-English 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 that lower number. Ignore the (often much larger) "all pages in the wiki, including redirects" number. We can also add MediaWiki listings to the http://S23.org/wikistats/mediawikis_html.php system from S23 which tracks various wiki stats.
  2. Wikimedia Foundation — all Wikimedia Foundation (WMF) wikis are powered by MediaWiki, and so use the identical MediaWiki syntax shown immediately above.
  3. Wikia, aka Fandom — actual page count is usually found somewhere prominent near the top-right of the wiki main page for individual Wikia / Fandom sites. All Wikia / Fandom wikis are powered by MediaWiki (albeit a heavily modified and exclusively customised version), and therefore use the same MediaWiki syntax, as in https://WikiaName.Fandom.com/wiki/Special:Statistics. The statistics page also includes URLs to the two available database dumps (current, and full including history), the latter (larger) URL is what we use in the backup url field of our wiki infobox template to display its backup file link.
  4. MoinMoin — dependent upon software version, add either /SystemInfo or /PageSize at the end of the URL – https://YourWikiURL.org/SystemInfo or https://YourWikiURL.org/PageSize.
  5. UseMod Wiki — add /?action=index at the end of the URL – http://YourWikiURL.org/?action=index.
  6. PBwiki — replace any page name with /AllPageshttp://YourWikiURL.org/AllPages.
  7. PhpWiki — an option: search for letter 'e' (the most commonly used vowel) in all Titles (is there a better way?).
  8. ProWiki — add /?action=spx at the end of the URL – http://YourWikiURL.org/?action=spx.
  9. PmWiki — use / in the search box then scroll to the bottom (maybe searching for Site/ or Main/ would be better); an alternative way: add /index.php/Site/Search?q=/ at the end of the URL – eg. http://YourWikiURL.org/index.php/Site/Search?q=/.
  10. TikiWiki — replace ending /tiki-lastchanges.php with either /tiki-stats.php or /tiki-listpages.php.
  11. TWiki — add /WebIndex at the end of the URL – http://YourWikiURL.org/WebIndex.
  12. Oddmuse — in RecentChanges click on '1 day' and replace ?action=rc;days=1;all=0;showedit=0 with ?action=index.
  13. Wikispaces — replace /changes ending the recent changes url with /pagelist.
  14. Bitweaver — add /list_pages.php at the end of the URL – http://YourWikiURL.org/wiki/list_pages.php.
  15. DokuWiki — add ?do=index at the end of the URL – http://YourWikiURL.org/doku.php/start?do=index.
  16. JSPWiki — add Wiki.jsp?page=System%20Info at the end of the root URL – http://YourWikiURL.org/Wiki.jsp?page=System%20Info.
  17. Socialtext — an option: search for letter 'e' (the most commonly used vowel) in the search box (is there a better way?).
  18. Wikidot.com — add /system:list-all-pages at the end of the URL – http://YourWiki.Wikidot.com.com/system:list-all-pages.

How to calculate the wikiFactor of a site[edit]

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 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 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 'wikiFactor: a measure of the importance of a wiki site' by Dr Carl McBride.

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

Example[edit]

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 yet reached 25,000 visits. Here is a worked example, for WikiIndex from 18 June 2015:

wikiFactor (wF) table
ranking position (p)
most visited first
page name (page views) relation
views [<=>] p×1000
1. Welcome (3,438,195 views) 3,438,195 is more than 1,000
2. TestWiki‏‎ (270,350 views) 270,350 is more than 2,000
3. Dhamma Wiki‏‎ (143,211 views) 143,211 is more than 3,000
4. Bulbapedia (100,660 views) 100,660 is more than 4,000
22. WikiMapia (26,290 views) 26,290 is more than 22,000
23. ROS Wiki‏‎ (26,090 views) 26,090 is more than 23,000
24. Willkommen‏‎ (25,478 views) 25,478 is more than 24,000
25. RationalWiki (en)‏‎ (24,892 views) 24,892 is less than 25,000

If one counts the entries with views more than p×1000 (highlighted in light green) – one arrives at a wikiFactor (wF) of 24 for WikiIndex (correct as of 18 June 2015).

Where to look[edit]

Many 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).

  1. MediaWiki — go to the /Special:PopularPages page of the wiki site – https://YourWikiURL.org/Special:PopularPages.
    MediaWiki have, by default, now removed the page 'Special:PopularPages' from its core installation in MediaWiki 1.25 onwards. MediaWiki now use the RestAPI function instead. To now produce the data as before, the wiki site owner (or hosting provider) must install the 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 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.
  2. Wikimedia Foundation/Special:PopularPages has been unavailable for some time. The Wikipedia article traffic statistics 'Top' sites option at Stats.Grok.se was previously available for the larger Wikipedias, Wikimedia Commons, and Wikimedia Meta-Wiki, but needed to be manually summed for the individual wiki on a per-month basis.
  3. Wikia — originally, this info could be accessed at Special:Mostvisitedpageshttp://YourWikiName.Wikia.com/wiki/Special:Mostvisitedpages, although from September 2011 this tool was removed, and no similar page counter existed for Wikia sites. Sometime in mid-2012, Wikia reinstated /Special:Mostvisitedpages, so this feature became active again. By mid-March 2013 it had gone again, on the Community Central and at least one big wiki. There is now no Special:PopularPages; it was replaced by Special:Top/most_visited, which was deprecated in favour of Special:Insights/popularpages, itself now also depreciated.
  4. MoinMoin — add /PageHits at the end of the URL – https://YourWikiURL.org/wiki/PageHits.
  5. UseMod Wiki
  6. PBwiki
  7. PhpWiki — add ?MostPopular at the end of the URL – http://YourWikiURL.org/index.php?MostPopular.
  8. ProWiki
  9. PmWiki
  10. TikiWiki — either click on 'Page Rankings' in the sidebar, or add /tiki-wiki_rankings.php to the end of the root URL – http://YourWikiURL.org/tiki-wiki_rankings.php.
  11. TWiki
  12. Oddmuse
  13. Wikispaces — go to Manage Wiki on the top-left of the page (under 'Actions'), then click on the Tools: Wiki Statistics icon – http://YourWikiURL.Wikispaces.com/space/stats/overview, then shift from the overview tab to the pages tab, then click on Views.
  14. Bitweaver — add /rankings.php at the end of the URL – http://YourWikiURL.org/wiki/rankings.php. 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.
  15. DokuWiki
  16. JSPWiki — add Wiki.jsp?page=PageViewStatistics at the end of the root URL – http://YourWikiURL.org/Wiki.jsp?page=PageViewStatistics (only if PageViewPlugin is installed).
  17. Socialtext
  18. Wikidot.com
  19. WikiFreeSpecial:PopularPages is enabled on-request.
Google Analytics[edit]

If your wiki site uses 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.