Template:Size: Difference between revisions

Jump to navigation Jump to search
m
Undid revision 92910 by Hoof Hearted (talk) - whoops, that didn't work :(
(swap page code around to try reducing whitespace at top of rendered size template)
m (Undid revision 92910 by Hoof Hearted (talk) - whoops, that didn't work :()
Line 1: Line 1:
<!--Starting template code-->
<!--
{{#set:Wiki size={{{pages|}}} |Wiki factor={{{wikiFactor|}}} }}
Categorizing logic-->
{|style="margin:0; padding:0; border:none"
|-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 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|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
{{!}} style="margin:4px 0 0 4px; padding:2px;" scope="row" {{!}} [[:Category:WikiFactor|wikiFactor]]:
{{!}} style="margin:4px 4px 0 0; padding:2px" {{!}} [[:Category:{{WikiFactorCatText|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>}}
}}
|}<noinclude>
<!--Categorizing logic-->
<includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
<includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}
|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]
|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]
Line 22: Line 11:
[[wikifactor::{{{wikiFactor|{{{wiki factor|0}}}}}}| ]]<!-- Semantic Property -->
[[wikifactor::{{{wikiFactor|{{{wiki factor|0}}}}}}| ]]<!-- Semantic Property -->
}}</includeonly>
}}</includeonly>
<!--
Starting template code-->
{{#set:Wiki size={{{pages|}}} |Wiki factor={{{wikiFactor|}}} }}
{|style="margin:0; padding:0; border:none"
|-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 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|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
{{!}}- style="background-color:#EEE; border:1px solid #A0A7B4; margin:2px; display:block"
{{!}} style="margin:4px 0 0 4px; padding:2px;" scope="row" {{!}} [[:Category:WikiFactor|wikiFactor]]:
{{!}} style="margin:4px 4px 0 0; padding:2px" {{!}} [[:Category:{{WikiFactorCatText|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>}}
}}
|}<noinclude>
__NOTOC__
__NOTOC__
==Parameters==
==Parameters==
Line 57: Line 59:


==How to get size information==
==How to get size information==
Many [[:Category:Wiki Engine|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.
Most [[:Category:Wiki Engine|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.
#[[:Category:MediaWiki|MediaWiki]] – add ''Special:Statistics'' at the end of the URL – <code><nowiki>http://YourWikiURL.org/Special:Statistics</nowiki></code> – There is a number called "Content pages" or sometimes "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> – There is a number called "Content pages" or sometimes "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: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>
Line 119: Line 121:


====Where to look====
====Where to look====
Most [[:Category:Wiki Engine|wiki engines]] provide global statistics.  Here's how to find them for various wiki engines (although it can also depend on software version used by individual wiki sites)
Many [[:Category:Wiki Engine|wiki engines]] provide global statistics.  Here's how to find them for various wiki engines (although it can also depend on software version used by individual wiki sites)
#[[:Category:MediaWiki|MediaWiki]] – go to the ''Special:PopularPages'' page of the wiki – <code><nowiki>http://YourWikiURL.org/Special:PopularPages</nowiki></code>
#[[:Category:MediaWiki|MediaWiki]] – go to the ''Special:PopularPages'' page of the wiki – <code><nowiki>http://YourWikiURL.org/Special:PopularPages</nowiki></code>
#[[:Category:MoinMoin|MoinMoin]] –  
#[[:Category:MoinMoin|MoinMoin]] –  

Navigation menu