Template:Size: Difference between revisions

fix redirect, minor tweaks
m (Changed protection level for "Template:Size" (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
(fix redirect, minor tweaks)
Line 26: Line 26:
__NOTOC__
__NOTOC__
==Parameters==
==Parameters==
;pages: number of 'legitimate' [[wiki]] pages (no 'thousands' separator), see [[#How to get size information|below for details]]
;pages: number of 'legitimate' [[wiki]] pages (NO 'thousands' separator), see [[#How to get size information|below for details]]
: (''alternative parameter names:'' <tt>wiki pages</tt>, <tt>wiki_pages</tt>)
: (''alternative parameter names:'' <tt>wiki pages</tt>, <tt>wiki_pages</tt>)
:: this is a necessary parameter.  It selects the appropriate '''[[:Category:Wiki Size|wiki size category]]'''.
:: this is a necessary parameter.  It selects the appropriate '''[[:Category:Wiki Size|wiki size category]]'''.
Line 36: Line 36:
;wikiFactor: plain value, see [[#How to calculate the wikiFactor of a site|below for details]]
;wikiFactor: plain value, see [[#How to calculate the wikiFactor of a site|below for details]]
: (''obsolete parameter name:'' <s><tt>wiki factor</tt></s>)
: (''obsolete parameter name:'' <s><tt>wiki factor</tt></s>)
:: this is an optional parameter. It selects the appropriate '''[[:Category:wikiFactor|wikiFactor category]]'''.
:: this is an optional, though preferred parameter. It selects the appropriate '''[[:Category:wikiFactor|wikiFactor category]]'''.


;wikiFactor URL: external link to the wiki page that contains the database the wikiFactor was calculated from
;wikiFactor URL: external link to the wiki page that contains the database the wikiFactor was calculated from
Line 45: Line 45:


==Boilerplate==
==Boilerplate==
When anyone goes to [[Community Portal]] and hits the "Create a New Wiki Page" button, the default boilerplate includes this:
When anyone goes to [[WikiIndex:Community portal]] and hits the "Create a New Wiki Page" button, the default boilerplate includes this:


<pre>
<pre>
Line 59: Line 59:


==How to get size information==
==How to get size information==
Most [[:Category:Wiki Engine|wiki engines]] provide statistics somewhere, which includes a [[:Category:Wiki Size|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 most, you need to add (or replace) a specific text at the end of the relevant wiki URL in the address bar of your [[:Category:Web|web]] [[:Category:Software|browser]].
Most [[:Category:Wiki Engine|wiki engines]] provide statistics somewhere, which includes a [[:Category:Wiki Size|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 [[:Category:Web|web]] [[:Category:Software|browser]].
#[[:Category:MediaWiki|MediaWiki]] — add ''/Special:Statistics'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> (non-English [[:Category:Wiki Language|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 <u>that</u> number.  Ignore the (often much larger) "all pages in the wiki, including redirects" number.  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:MediaWiki|MediaWiki]] — add ''/Special:Statistics'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> (non-English [[:Category:Wiki Language|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 <u>that</u> lower number.  Ignore the (often much larger) "all pages in the wiki, including redirects" number.  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]] — add ''/PageSize'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/PageSize</nowiki></code>
#[[:Category:MoinMoin|MoinMoin]] — add ''/PageSize'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/PageSize</nowiki></code>
#[[:Category:UseModWiki|UseModWiki]] — add ''/?action=index'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=index</nowiki></code>
#[[:Category:UseModWiki|UseModWiki]] — add ''/?action=index'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/?action=index</nowiki></code>