Welcome to WikiIndex — the 'wiki index' of all wikis, wiki people, wiki software, wiki farms, and wiki ideas.
Please add your wiki, and join our community. Note: WikiIndex is not a wiki hosting service.

(please log-in to bypass the anti-spam Captcha and remove this heading notice)

Template:Size: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (→‎How to calculate the wikiFactor of a site: Started details of calculation)
(new semantic property - Property:Statistics URL)
 
(127 intermediate revisions by 20 users not shown)
Line 1: Line 1:
<table><tr><td style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;">
<!--Starting template code-->{|style="margin:0; padding:0; border:none"
[[:Category:Wiki Size|Wiki Size]]:  
|-style="background-color:#EEE; border:1px solid #A0A7B4; margin:0; display:block"
{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}} pages]]|[[:Category:{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}|{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}]]}}{{#if: {{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see the statistics...]</sup>|}}
|style="margin:0 0 4px 0; padding:2px" scope=row|[[:Category:Wiki Size|Wiki size]]:
{{#if: {{{wiki factor|}}}|<br>[[:Category:Wiki Factor|Wiki Factor]]: {{{wiki factor}}}{{#if: {{{wiki factor URL|}}}|<sup> [{{{wiki factor URL}}} see further info...]</sup>|}}|}}
|style="margin:0 4px 4px 0; padding:2px"|{{#if:{{{pages|{{{wiki pages|}}}}}}|[[:Category:{{SizeCat|{{formatnum:{{{pages|{{{wiki pages|0}}}}}}|R}}}}|{{formatnum:{{{pages|{{{wiki pages|0}}}}}}}} article pages]]|[[:Category:Unknown size|unknown size]]}}{{#if:{{{statistics URL|}}}|<sup>&nbsp;[{{{statistics URL|}}} see stats]</sup>[[Statistics URL::{{{statistics URL|}}}| ]]<!--Semantic property-->}}
</td></tr></table>
{{#if:{{{wikiFactor|{{{wikiFactor<includeonly>|</includeonly>}}}}}}|
<noinclude>
{{!}}-style="background-color:#EEE; border:1px solid #A0A7B4; margin-top:1px; display:block"
 
{{!}}style="margin:4px 0 0 0; padding:2px" scope=row{{!}}[[:Category:wikiFactor|wikiFactor]]:
== Parameters ==
{{!}}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>}}
; pages: number of pages (no thousands separator)
}}
: ''alternative parameter names: "wiki pages", "wiki_pages"''
|}<!--Ending template code--><includeonly>
: this is a necessary parameter
<!--Categorising & Semantic data logic-->{{#set:pages={{{pages|}}}|wikiFactor={{{wikiFactor|}}} }}
; statistics URL: external link to the wiki's statistics page
{{#if:{{{pages|{{{wiki pages|}}}}}}
: ''alternative parameter names: "wiki statistics URL", "wiki_statistics_URL"''
|[[Category:{{SizeCat|{{formatnum:{{{pages|{{{wiki pages|}}}}}}|R}}}}]]
: this is an optional parameter
[[Pages::{{formatnum:{{{pages|{{{wiki pages|0}}}}}}|R}}| ]]<!--Semantic property-->
; wiki factor: plain value (for a description see [[Proposal:wikiFactor]] and [[Talk:Proposal:wikiFactor]])
|[[Category:Unknown size]]
: this is an optional parameter
}}{{#if:{{{wikiFactor|{{{wikiFactor|}}}}}}|[[Category:{{wikiFactorCatText|{{formatnum:{{{wikiFactor|{{{wikiFactor}}}}}}|R}}}}]]
; wiki factor URL: external link to the wiki page that contains the data base the wiki factor was calculated from
[[wikiFactor::{{formatnum:{{{wikiFactor|{{{wikiFactor|0}}}}}}|R}}| ]][[wikiFactor URL::{{{wikiFactor URL|}}}| ]]<!--Semantic property-->
: this is an optional parameter
}}</includeonly><noinclude>
 
{{Size/doc}}
== boilerplate ==
[[Category:Templates]]</noinclude>
 
When anyone goes to [[Community Portal]] and hits the "Create a New Wiki Page" button, the default boilerplate includes this:
 
'''<nowiki>{{</nowiki>Size'''
'''| pages = <nowiki><!-- necessary. plain number of pages, leave blank if unknown --></nowiki>'''
| statistics URL = <nowiki><!-- optional. external link to statistics page --></nowiki>
| wiki factor = <nowiki><!-- optional. plain wiki factor value --></nowiki>
| wiki factor URL = <nowiki><!-- optional. external link to data base for wiki factor calc. --></nowiki>
'''<nowiki>}}</nowiki>'''
 
:<tt>(Please check against [[Template:NewWiki boilerplate]].)</tt>
 
== How to get size information ==
Most wiki engines provide statistics somewhere including a page count. Here's how to find them for various wiki engines (although it can also depend on version)
#[[:Category:MediaWiki|MediaWiki]]: Replace <i>Special:Recentchanges</i> with <i>Special:Statistics</i>
:: 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]]: Replace <i>RecentChanges</i> with <i>SystemInfo</i> or <i>System_Info</i>
#[[:Category:UseModWiki|UseModWiki]]: Replace <i>?RecentChanges</i> with <i>?action=index</i>
#[[:Category:Pbwiki|Pbwiki]]: Replace any page name with <tt>AllPages</tt>
#[[:Category:PhpWiki|PhpWiki]]: an option: Search for letter "e" in all Titles
#[[:Category:ProWiki|ProWiki]]: Replace <i>?RecentChanges</i> with <i>?action=spx</i>
#[[:Category:PmWiki|PmWiki]]: Search for / and scroll to the bottom (maybe searching for <tt>main/</tt> would be better)
#[[:Category:Tikiwiki|Tikiwiki]]: Replace ending <i>/tiki-lastchanges.php</i> with <i>/tiki-stats.php</i>
#[[:Category:Twiki|Twiki]]: Replace <i>/WebChanges</i> with <i>/WebIndex</i>
#[[:Category:Oddmuse|Oddmuse]]: In <i>RecentChanges</i> click on <i>1 day</i> and replace <i>?action=rc;days=1;all=0;showedit=0</i> with <i>?action=index</i>
#[[:Category:Wikispaces|Wikispaces]]: replace <i>/changes</i> ending the recent changes url with <i>/pagelist</i>
 
== How to calculate the wikiFactor of a site ==
==== Example ====
:'''Popular pages (of WikiIndex):'''
<div style="margin-left: 2em;">
{| style="background-color: #eee; text-align: center;"
! Position (p)<br>most visited first
! Page name (views)
! Relation<br>views [<=>] 1000*p
|-
| 1.
| Welcome ?(572,833 views)
| style="background-color: #efe;" | 572,833 '''&gt;''' &nbsp;1,000
|-
| 2.
| Bulbapedia ?(42,344 views)
| style="background-color: #efe;" | 42,344 '''&gt;''' &nbsp;2,000
|-
| 3.
| Community Portal ?(28,489 views)
| style="background-color: #efe;" | 28,489 '''&gt;''' &nbsp;3,000
|- style="text-align:center"
| .<br>.<br>.
| .<br>.<br>.
| style="background-color: #efe;" | .<br>.<br>.
|-
| 11.
| Wiki.ThePPN ?(14,724 views)
| style="background-color: #efe;" | 14,724 '''&gt;''' 11,000
|-
| 12.
| Books ?(12,807 views)
| style="background-color: #efe;" | 12,807 '''&gt;''' 12,000
|-
| 13.
| TourBusStop ?(12,371 views)
| 12,371 &lt; 13,000
|}
</div>
: If you count the entries with <code>views > 1000*p</code> (marked with green) you get the wikiFactor (12 for WikiIndex).
==== lists of popular pages ====
Most wiki engines provide global statistics. Here's how to find them for various wiki engines (although it can also depend on version)
#[[:Category:MediaWiki|MediaWiki]]:
#[[:Category:MoinMoin|MoinMoin]]:
#[[:Category:UseModWiki|UseModWiki]]:
#[[:Category:Pbwiki|Pbwiki]]:
#[[:Category:PhpWiki|PhpWiki]]:
#[[:Category:ProWiki|ProWiki]]:
#[[:Category:PmWiki|PmWiki]]:
#[[:Category:Tikiwiki|Tikiwiki]]:
#[[:Category:Twiki|Twiki]]:
#[[:Category:Oddmuse|Oddmuse]]:
#[[:Category:Wikispaces|Wikispaces]]:
 
[[Category:Templates]]
 
</noinclude>

Latest revision as of 13:52, 26 July 2023

Wiki size: unknown size
wikiFactor: 0

This is the user documentation sub-page for this Template:Size 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

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

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

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

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

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

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

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.