Template:Size: Difference between revisions
(→Parameters: links to cats) |
MarkDilley (talk | contribs) (test) |
||
Line 1: | Line 1: | ||
<table><tr><td style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;"> | <table><tr><td style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;"> | ||
{{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|<br>[[:Category:WikiFactor|wikiFactor]]: [[:Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}|{{{wikiFactor|{{{wiki factor}}}}}}]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} see further info...]</sup>|}}|}} | {{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|<br>[[:Category:WikiFactor|wikiFactor]]: [[:Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}|{{{wikiFactor|{{{wiki factor}}}}}}]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} see further info...]</sup>|}}|}} | ||
</td></tr></table><includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]|[[Category:{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}]]}}{{#if: {{{size|{{{wiki size|{{{wiki_size|}}}}}}}}}|[[Category:old style size cats]]}}{{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|[[Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}]]|}}</includeonly> | </td></tr></table><includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]|[[Category:{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}]]}}{{#if: {{{size|{{{wiki size|{{{wiki_size|}}}}}}}}}|[[:Category:Wiki Size|Wiki Size]]: | ||
{{#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>|}}[[Category:old style size cats]]}}{{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|[[Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}]]|}} | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
Revision as of 02:21, 11 April 2009
Parameters
- pages
- number of pages (no thousands separator)
- alternative parameter names: "wiki pages", "wiki_pages"
- this is a necessary parameter. It selects the appropriate size category.
- statistics URL
- external link to the wiki's statistics page
- alternative parameter names: "wiki statistics URL", "wiki_statistics_URL"
- this is an optional parameter
- wikiFactor
- plain value, see below for details
- (obsolete name:
wiki factor) - this is an optional parameter. It selects the appropriate wikiFactor category.
- wikiFactor URL
- external link to the wiki page that contains the data base the wikiFactor was calculated from
- (obsolete name:
wiki factor URL) - this is an optional parameter
boilerplate
When anyone goes to Community Portal and hits the "Create a New Wiki Page" button, the default boilerplate includes this:
{{Size | pages = <!-- necessary. plain number of pages, leave blank if unknown --> | statistics URL = <!-- optional. external link to statistics page --> | wikiFactor = <!-- optional. plain wiki factor value --> | wikiFactor URL = <!-- optional. external link to data base for wiki factor calc. --> }}
- (last checked against Template:Wiki Boilerplate --Wolf | talk 08:07, 25 March 2009 (EDT))
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)
- MediaWiki: Replace Special:Recentchanges with Special:Statistics
- We can also add MediaWiki listings to the http://s23.org/wikistats/mediawikis_html.php system which tracks various wiki stats
- MoinMoin: Replace RecentChanges with SystemInfo or System_Info
- UseModWiki: Replace ?RecentChanges with ?action=index
- Pbwiki: Replace any page name with AllPages
- PhpWiki: an option: Search for letter "e" in all Titles
- ProWiki: Replace ?RecentChanges with ?action=spx
- PmWiki: Search for / and scroll to the bottom (maybe searching for main/ would be better)
- Tikiwiki: Replace ending /tiki-lastchanges.php with /tiki-stats.php
- Twiki: Replace /WebChanges with /WebIndex
- Oddmuse: In RecentChanges click on 1 day and replace ?action=rc;days=1;all=0;showedit=0 with ?action=index
- Wikispaces: replace /changes ending the recent changes url with /pagelist
How to calculate the wikiFactor of a site
The wikiFactor is a measure of the 'popularity' of a wiki-site. It is based on the Hirsch 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 "wikiFactor: a measure of the importance of a wiki site". The wikiFactor is simply the number of pages in the wiki (wF) that have had more than 1000 times wF visits.
Example
A wikiFactor of, say, 12 means that page number 12 in the ranking of pages visited has received 12,000 or more visits, whereas page 13 has not yet reached 13,000 visits. Here is a worked example (here for WikiIndex):
Position (p) most visited first |
Page name (views) | Relation views [<=>] 1000*p |
---|---|---|
1. | Welcome (572,833 views) | 572,833 > 1,000 |
2. | Bulbapedia (42,344 views) | 42,344 > 2,000 |
3. | Community Portal (28,489 views) | 28,489 > 3,000 |
. . . |
. . . |
. . . |
11. | Wiki.ThePPN (14,724 views) | 14,724 > 11,000 |
12. | Books (12,807 views) | 12,807 > 12,000 |
13. | TourBusStop (12,371 views) | 12,371 < 13,000 |
If one counts the entries with views > 1000*p
(highlighted in light green) one arrives at a wikiFactor of 12 for WikiIndex.
Where to look
Most wiki engines provide global statistics. Here's how to find them for various wiki engines (although it can also depend on version)
- MediaWiki: go to the Special:PopularPages page of the wiki
- MoinMoin:
- UseModWiki:
- Pbwiki:
- PhpWiki:
- ProWiki:
- PmWiki:
- Tikiwiki:
- Twiki:
- Oddmuse:
- Wikispaces: go to Manage Wiki on the lef-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.
- wikia: go to Special:Mostvisitedpages
- wikimedia: Special:PopularPages seems to be unavailable.