Template:Size: Difference between revisions
Jump to navigation
Jump to search
(wiki factor (plus URL) integrated, new layout, statistics url now an optinal parameter, usage information added) |
(Spelling) |
||
Line 9: | Line 9: | ||
; pages: number of pages (no thousands separator) | ; pages: number of pages (no thousands separator) | ||
: ''alternative parameter names: "wiki pages", "wiki_pages"'' | : ''alternative parameter names: "wiki pages", "wiki_pages"'' | ||
: this is a | : this is a necessary parameter | ||
; statistics URL: external link to the wiki's statistics page | ; statistics URL: external link to the wiki's statistics page | ||
: ''alternative parameter names: "wiki statistics URL", "wiki_statistics_URL"'' | : ''alternative parameter names: "wiki statistics URL", "wiki_statistics_URL"'' | ||
Line 23: | Line 23: | ||
'''<nowiki>{{</nowiki>Size''' | '''<nowiki>{{</nowiki>Size''' | ||
'''| pages = <nowiki><!-- | '''| pages = <nowiki><!-- necessary. plain number of pages, leave blank if unknown --></nowiki>''' | ||
| statistics URL = <nowiki><!-- optional. | | statistics URL = <nowiki><!-- optional. external link to statistics page --></nowiki> | ||
| wiki factor = <nowiki><!-- optional. plain wiki factor value --></nowiki> | | wiki factor = <nowiki><!-- optional. plain wiki factor value --></nowiki> | ||
| wiki factor URL = <nowiki><!-- optional. external link to data base for wiki factor calc. --></nowiki> | | wiki factor URL = <nowiki><!-- optional. external link to data base for wiki factor calc. --></nowiki> |
Revision as of 00:05, 25 March 2009
Parameters
- pages
- number of pages (no thousands separator)
- alternative parameter names: "wiki pages", "wiki_pages"
- this is a necessary parameter
- statistics URL
- external link to the wiki's statistics page
- alternative parameter names: "wiki statistics URL", "wiki_statistics_URL"
- this is an optional parameter
- wiki factor
- plain value (for a description see Proposal:wikiFactor and Talk:Proposal:wikiFactor)
- this is an optional parameter
- wiki factor URL
- external link to the wiki page that contains the data base the wiki factor was calculated from
- 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 --> | wiki factor = <!-- optional. plain wiki factor value --> | wiki factor URL = <!-- optional. external link to data base for wiki factor calc. --> }}
- (Please check against Template:NewWiki boilerplate.)
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
Most wiki engines provide global statistics. Here's how to find them for various wiki engines (although it can also depend on version)
- MediaWiki:
- MoinMoin:
- UseModWiki:
- Pbwiki:
- PhpWiki:
- ProWiki:
- PmWiki:
- Tikiwiki:
- Twiki:
- Oddmuse:
- Wikispaces: