Template:Size: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (→‎Boilerplate: wikilink)
(fix stats url error (which was probably a fault of my earlier edits!))
Line 14: Line 14:
|-style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
|-style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
|style="margin:0 0 4px 4px; padding:2px;" scope="row"| [[:Category:Wiki Size|Wiki Size]]:
|style="margin:0 0 4px 4px; padding:2px;" scope="row"| [[:Category:Wiki Size|Wiki Size]]:
|style="margin:0 4px 4px 0; padding:2px"| {{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude> pages]]|[[:Category:<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>|<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>]]}}{{#if: {{{statistics URL|{{{statistics_URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}}}}|<sup>&nbsp;[{{{statistics URL|{{{statistics_URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}}}}}see stats...]</sup>}}
|style="margin:0 4px 4px 0; padding:2px"| {{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude> pages]]|[[:Category:<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>|<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>]]}}{{#if: {{{statistics URL|{{{statistics_URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}}}}|<sup>&nbsp;[{{{statistics URL|{{{statistics_URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"

Revision as of 13:45, 13 September 2012


Wiki Size: 0
wikiFactor: 0

Parameters

pages
number of 'legitimate' wiki article pages (NO 'thousands' separator), see How to get size information 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, which includes a page count
(alternative parameter names: statistics_URL, wiki statistics URL, wiki_statistics_URL)
this is an optional, though preferred parameter, and should be used to provide verifiability.
wikiFactor
plain value, see How to calculate the wikiFactor of a site below for details
(obsolete parameter name: wiki factor)
this is an optional, though preferred parameter. It selects the appropriate wikiFactor (wF) category.
wikiFactor URL
external link to the page containing the database the wikiFactor (wF) 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 correct wikiFactor value for you.
(As of: DD Month 20YY)
manually add the date for when you actually check and/or update the stats.

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

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 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 web browser.

  1. MediaWiki — add /Special:Statistics at the end of the URL – http://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 which tracks various wiki stats.
  2. MoinMoin — add /PageSize at the end of the URL – http://YourWikiURL.org/PageSize
  3. UseModWiki — add /?action=index at the end of the URL – http://YourWikiURL.org/?action=index
  4. Pbwiki — replace any page name with /AllPageshttp://YourWikiURL.org/AllPages
  5. PhpWiki — an option: Search for letter "e" in all Titles (Is there a better way?)
  6. ProWiki — add /?action=spx at the end of the URL – http://YourWikiURL.org/?action=spx
  7. PmWiki — use / in the search box then scroll to the bottom (maybe searching for Site/ or Main/ would be better)
  8. Tikiwiki — replace ending /tiki-lastchanges.php with /tiki-stats.php
  9. Twiki — add /WebIndex at the end of the URL – http://YourWikiURL.org/WebIndex
  10. Oddmuse — in RecentChanges click on 1 day and replace ?action=rc;days=1;all=0;showedit=0 with ?action=index
  11. Wikispaces — replace /changes ending the recent changes url with /pagelist
  12. 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 http://YourWikiName.wikia.com/Special:Statistics
  13. DokuWiki — ???

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 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 (wF) of, say, 20 – means that page number 20 in the ranking of pages visited has received 20,000 or more visits, whereas page 21 has not yet reached 21,000 visits. Here is a worked example – for WikiIndex from September 2012:

wikiFactor (wF) table
ranking position (p)
most visited first
page name (page views) relation
views [<=>] 1000*p
1. Welcome (1,614,887 views) 1,614,887 > 1,000
2. TestWiki‏‎ (268,598 views) 268,598 > 2,000
3. Dhamma Wiki‏‎ (142,276 views) 142,276 > 3,000
4. Bulbapedia (95,036 views) 95,036 > 4,000
18. WikiProject:Wikis to Add‏‎ (21,428 views) 21,428 > 18,000
19. WikiLyric‏‎ (21,181 views) 21,181 > 19,000
20. Aide:Contenus‏‎ (20,179 views) 20,179 > 20,000
21. English Girls WikiPorn‏‎ (20,031 views) 20,031 < 21,000

If one counts the entries with views > 1000*p (highlighted in light green) – one arrives at a wikiFactor (wF) of 20 for WikiIndex (correct as of September 2012).

Where to look

Many wiki engines provide global statistics. Here's 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 – http://YourWikiURL.org/Special:PopularPages
  2. MoinMoin
  3. UseModWiki
  4. Pbwiki
  5. PhpWiki
  6. ProWiki
  7. PmWiki
  8. Tikiwiki
  9. Twiki
  10. Oddmuse
  11. 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.
  12. WikimediaSpecial: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.
  13. Wikia — originally, this info could be accessed at Special:Mostvisitedpageshttp://YourWikiName.wikia.com/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 is now active again.
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.