Template:Size/doc: Difference between revisions

m
Text replacement - "Wiki People" to "Wiki people"
(→‎Where to look: #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))
m (Text replacement - "Wiki People" to "Wiki people")
 
(12 intermediate revisions by the same user not shown)
Line 7: Line 7:


;statistics URL: full 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
:(''depreciated 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 ''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.


Line 16: Line 16:
;wikiFactor URL: full URL external link to the page containing 'page views' required to determine the [[wikiFactor]] (wF)
;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>)
::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.
::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> 2019-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
;(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>
Line 28: Line 28:


==How to get size information==
==How to get size information==
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 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 [[: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.
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 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 [[: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>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: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]] — all Wikimedia Foundation (WMF) wikis are powered by MediaWiki, and so use the identical MediaWiki syntax shown immediately above.
#[[: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, ''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: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]] — 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: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' (the most commonly used vowel) 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>.
Line 44: Line 44:
#[[: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]] — add <tt>?do=index</tt> at the end of the URL – <code><nowiki>http://YourWikiURL.org/doku.php/start?do=index</nowiki></code>.
#[[: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' (the most commonly used vowel) 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==
Line 53: Line 54:


====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 <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]]:
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>
{|class=wikitable style="background-color:#eee; text-align:center; border:1"
{|class=wikitable style="background-color:#eee; text-align:center; border:1"
Line 80: Line 81:
|style=background-color:#efe|—
|style=background-color:#efe|—
|-
|-
|22.||[[WikiMapia‏‎‏‎]] (26,290 views)
|22.||[[Wikimapia (map)|WikiMapia]] (26,290 views)
|style=background-color:#efe|26,290 is <u>more than</u> 22,000
|style=background-color:#efe|26,290 is <u>more than</u> 22,000
|-
|-
Line 91: Line 92:
|25.||[[RationalWiki (en)‏‎]] (24,892 views)||24,892 is '''<u>less than</u>''' 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 <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).
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 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]] — 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}} onwards.  MediaWiki 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: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}} onwards.  MediaWiki 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] 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: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.
Line 112: Line 113:
#[[: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: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:Socialtext|Socialtext]] —  
#[[:Category:Socialtext|Socialtext]] —  
#[[:Category:ShoutWiki|ShoutWiki]] — <tt>/Special:PopularPages</tt> is not available.
#[[:Category:Wikidot.com|Wikidot.com]] —  
#[[:Category:WikiFree|WikiFree]] — <tt>Special:PopularPages</tt> is enabled on-request.
#[[:Category:WikiFree|WikiFree]] — <tt>Special:PopularPages</tt> is enabled on-request.