Template:Size/doc

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 .


 * 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 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 as shown below, and paste it into the required article.

Boilerplate
When anyone goes to Community portal and hits the 'create a new Wiki article page' button, the default boilerplate includes this Size boilerplate:


 * (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 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.
 * MediaWiki — add /Special:Statistics at the end of the URL –  (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.
 * Wikimedia Foundation — all Wikimedia Foundation (WMF) wikis are powered by MediaWiki, and so use the identical MediaWiki syntax shown immediately above.
 * 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  .  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</tt> field of our wiki infobox template to display its backup file link.
 * MoinMoin — dependent upon software version, add either /SystemInfo</tt> or /PageSize</tt> at the end of the URL –  or.
 * UseMod Wiki — add /?action=index</tt> at the end of the URL –.
 * PBwiki — replace any page name with /AllPages</tt> –.
 * PhpWiki — an option: search for letter 'e' (the most commonly used vowel) in all Titles (is there a better way?).
 * ProWiki — add /?action=spx</tt> at the end of the URL –.
 * PmWiki — use  in the search box then scroll to the bottom (maybe searching for   or   would be better); an alternative way: add /index.php/Site/Search?q=/</tt> at the end of the URL – eg..
 * TikiWiki — replace ending  with either   or.
 * TWiki — add /WebIndex</tt> at the end of the URL –.
 * Oddmuse — in RecentChanges click on '1 day' and replace  with.
 * Wikispaces — replace /changes</tt> ending the recent changes url with /pagelist</tt>.
 * Bitweaver — add /list_pages.php</tt> at the end of the URL –.
 * DokuWiki — add ?do=index</tt> at the end of the URL –.
 * JSPWiki — add Wiki.jsp?page=System%20Info</tt> at the end of the root URL –.
 * Socialtext — an option: search for letter 'e' (the most commonly used vowel) in the search box (is there a better way?).
 * Wikidot.com — add /system:list-all-pages</tt> at the end of the URL –.

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 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 ></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: If one counts the entries with  (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).
 * MediaWiki — go to the /Special:PopularPages</tt> page of the wiki site – . MediaWiki have, by default, now  from its core installation in  onwards.  MediaWiki now use the  function instead.  To now produce the data as before, the wiki site owner (or hosting provider) must install the .  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  or ), or an external content distribution network (such as ) for performance reasons - which means most of the requests never reach the main servers.  There are alternatives, but mostly these are site-specific.
 * Wikimedia Foundation — /Special:PopularPages</tt> 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.
 * Wikia — originally, this info could be accessed at <tt>Special:Mostvisitedpages</tt> –, although from September 2011 this tool was removed, and no similar page counter existed for Wikia sites.  Sometime in mid-2012, Wikia reinstated <tt>/Special:Mostvisitedpages</tt>, 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  , which was deprecated in favour of  , itself now also depreciated.
 * MoinMoin — add <tt>/PageHits</tt> at the end of the URL –.
 * UseMod Wiki —
 * PBwiki —
 * PhpWiki — add <tt>?MostPopular</tt> at the end of the URL –.
 * ProWiki —
 * PmWiki —
 * TikiWiki — either click on 'Page Rankings' in the sidebar, or add <tt>/tiki-wiki_rankings.php</tt> to the end of the root URL –.
 * TWiki —
 * Oddmuse —
 * Wikispaces — go to Manage Wiki on the top-left of the page (under 'Actions'), then click on the Tools: Wiki Statistics icon –, then shift from the overview tab to the pages tab, then click on Views.
 * Bitweaver — add <tt>/rankings.php</tt> at the end of the URL – .  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.
 * DokuWiki —
 * JSPWiki — add <tt>Wiki.jsp?page=PageViewStatistics</tt> at the end of the root URL –  (only if PageViewPlugin is installed).
 * Socialtext —
 * Wikidot.com —
 * WikiFree — <tt>Special:PopularPages</tt> is enabled on-request.

Google Analytics
If your wiki site uses, 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.