Template:Size
Wiki Size: | 0 |
wikiFactor: | 0 |
Parameters
- pages
- number of 'legitimate' wiki pages (no 'thousands' separator), see below for details
- (alternative parameter names: wiki pages, wiki_pages)
- this is a necessary parameter. It selects the appropriate wiki 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, though preferred parameter.
- wikiFactor
- plain value, see below for details
- (obsolete parameter 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 database the wikiFactor was calculated from
- (obsolete parameter name:
wiki factor URL)- 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 WikiIndex editors to assist in calculating the wikiFactor for you.
Boilerplate
When anyone goes to Community Portal and hits the "Create a New Wiki Page" button, the default boilerplate includes this:
{{Size | pages = <!-- type number of pages here, if unknown leave void --> | statistics URL = No | wikiFactor = <!-- optional. plain wiki factor value --> | wikiFactor URL = <!-- optional. external link to data base for wiki factor calc. --> }}
- (last checked against Community Portal's "Create a New Wiki Page" button --EarthFurst 17:46, 16 September 2009 (EDT))
How to get size information
Most wiki engines provide statistics somewhere, which includes a page count. Here's how to find them for various wiki engines (although it can also depend on the software version being run by the said wiki). For most, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your web browser.
- MediaWiki – add Special:Statistics at the end of the URL||
http://YourWikiURL.org/Special:Statistics
– There is a number called "Content pages" or sometimes "pages that are probably legitimate content pages" -- use that 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 which tracks various wiki stats. - MoinMoin – add PageSize at the end of the URL –
http://YourWikiURL.org/PageSize
- UseModWiki – add ?action=index at the end of the URL –
http://YourWikiURL.org/?action=index
- Pbwiki – replace any page name with
AllPages
- PhpWiki – an option: Search for letter "e" in all Titles (Is there a better way?)
- ProWiki – add ?action=spx at the end of the URL –
http://YourWikiURL.org/?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 – add /WebIndex at the end of the URL –
http://YourWikiURL.org/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
- Wikia – is usually found somewhere prominent on the main page, more detailed info can be found at
http://YourWikiURL.org/Special:Statistics
- DokuWiki – ???
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 software version)
- MediaWiki – go to the Special:PopularPages page of the wiki –
http://YourWikiURL.org/Special:Popularpages
- MoinMoin –
- UseModWiki –
- Pbwiki –
- PhpWiki –
- ProWiki –
- PmWiki –
- Tikiwiki –
- Twiki –
- Oddmuse –
- 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.
- Wikia – go to Special:Mostvisitedpages
- Wikimedia – Special:PopularPages seems to be unavailable. The "Top" sites option at stats.grok.se can be used for Wikipedias, but needs to be summed on a per-month basis.
Google Analytics
If your site uses Google Analytics, you can go to "Content/Top Content" and select the entire date range to get a count of pageviews 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.