User:Iritscen/TestSpace: Difference between revisions
(→Page count project: more totals) |
(→Page count project: more totals) |
||
Line 38: | Line 38: | ||
Redirects: 357 as of 4/22/12 | Redirects: 357 as of 4/22/12 | ||
Subpages: A quick glance through [[Special:AllPages]] appears to show 258 in Main, 31 in Talk, 113 in User, 35 in User Talk, 4 in MediaWiki, 4 in Template, 6 in BSL, 1 in BSL Talk, 121 in OBD, 39 in OBD Talk, 4 in AE, 2 in AE Talk, 16 in Oni2, and 1 in Oni2 Talk. The total is 405 subpages in Main, BSL, OBD, AE, and Oni2. The total for articlespace subpages is 526. The grand total is 635 (as of 4/22/12). | Subpages: A quick glance through [[Special:AllPages]] appears to show 258 of them in Main, 31 in Talk, 113 in User, 35 in User Talk, 4 in MediaWiki, 4 in Template, 6 in BSL, 1 in BSL Talk, 121 in OBD, 39 in OBD Talk, 4 in AE, 2 in AE Talk, 16 in Oni2, and 1 in Oni2 Talk. The total is 405 subpages in Main, BSL, OBD, AE, and Oni2. The total for articlespace subpages is 526. The grand total is 635 (as of 4/22/12). | ||
Namespaces '''Main, User, BSL, OBD, AE, and Oni2''' totaled using PAGESINNS: {{#expr:{{PAGESINNS:0}}+{{PAGESINNS:2}}+{{PAGESINNS:100}}+{{PAGESINNS:102}}+{{PAGESINNS:104}}+{{PAGESINNS:108}}}} | Namespaces '''Main, User, BSL, OBD, AE, and Oni2''' totaled using PAGESINNS: {{#expr:{{PAGESINNS:0}}+{{PAGESINNS:2}}+{{PAGESINNS:100}}+{{PAGESINNS:102}}+{{PAGESINNS:104}}+{{PAGESINNS:108}}}} | ||
'''All articlespaces''' (without File) totalled using PAGESINNS: {{#expr:{{PAGESINNS:0}}+{{PAGESINNS:2}}+{{PAGESINNS:4}}+{{PAGESINNS:8}}+{{PAGESINNS:10}}+{{PAGESINNS:12}}+{{PAGESINNS:14}}+{{PAGESINNS:100}}+{{PAGESINNS:102}}+{{PAGESINNS:104}}+{{PAGESINNS:108}}}} | |||
'''All talkspaces''' totalled using PAGESINNS: {{#expr:{{PAGESINNS:1}}+{{PAGESINNS:3}}+{{PAGESINNS:5}}+{{PAGESINNS:9}}+{{PAGESINNS:11}}+{{PAGESINNS:13}}+{{PAGESINNS:15}}+{{PAGESINNS:101}}+{{PAGESINNS:103}}+{{PAGESINNS:105}}+{{PAGESINNS:109}}}} | |||
The '''grand total''' for all namespaces (including File) is: {{#expr:{{PAGESINNS:0}}+{{PAGESINNS:1}}+{{PAGESINNS:2}}+{{PAGESINNS:3}}+{{PAGESINNS:4}}+{{PAGESINNS:5}}+{{formatnum:{{PAGESINNS:6}}|R}}+{{PAGESINNS:7}}+{{PAGESINNS:8}}+{{PAGESINNS:9}}+{{PAGESINNS:10}}+{{PAGESINNS:11}}+{{PAGESINNS:12}}+{{PAGESINNS:13}}+{{PAGESINNS:14}}+{{PAGESINNS:15}}+{{PAGESINNS:100}}+{{PAGESINNS:101}}+{{PAGESINNS:102}}+{{PAGESINNS:103}}+{{PAGESINNS:104}}+{{PAGESINNS:105}}+{{PAGESINNS:108}}+{{PAGESINNS:109}}}} | |||
---- | ---- | ||
Numbers from PAGESINNS magic word template: | |||
Namespace '''{{ns:-2}}''' has ID -2, but we can't get a page count, so we can assume it's not part of the above counts | |||
Namespace '''{{ns:-1}}''' has ID -1, but we can't get a page count, so we can assume it's not part of the above counts | |||
Namespace '''Main''' does not return an ID number, but apparently it's 0, because <nowiki>{{PAGESINNS:0}}</nowiki> returns {{PAGESINNS:0}} pages, which agrees with [[Special:AllPages]]' list of pages in the Main namespace | Namespace '''Main''' does not return an ID number, but apparently it's 0, because <nowiki>{{PAGESINNS:0}}</nowiki> returns {{PAGESINNS:0}} pages, which agrees with [[Special:AllPages]]' list of pages in the Main namespace (which includes redirects and subpages). | ||
Namespace '''{{ns:1}}''' has ID 1 and {{PAGESINNS:1}} pages | |||
Namespace '''{{ns:2}}''' has ID 2 and {{PAGESINNS:2}} pages | |||
Namespace '''{{ns:3}}''' has ID 3 and {{PAGESINNS:3}} pages | |||
Namespace '''{{ns:4}}''' has ID 4 and {{PAGESINNS:4}} pages | |||
Namespace '''{{ns:5}}''' has ID 5 and {{PAGESINNS:5}} pages | |||
Namespace '''{{ns:6}}''' has ID 6 and {{PAGESINNS:6}} pages | |||
Namespace '''{{ns:7}}''' has ID 7 and {{PAGESINNS:7}} pages | |||
Namespace '''{{ns:8}}''' has ID 8 and {{PAGESINNS:8}} pages | |||
Namespace '''{{ns:9}}''' has ID 9 and {{PAGESINNS:9}} pages | |||
Namespace '''{{ns:10}}''' has ID 10 and {{PAGESINNS:10}} pages | |||
Namespace '''{{ns:11}}''' has ID 11 and {{PAGESINNS:11}} pages | |||
Namespace '''{{ns:12}}''' has ID 12 and {{PAGESINNS:12}} pages | |||
Namespace '''{{ns:13}}''' has ID 13 and {{PAGESINNS:13}} pages | |||
Namespace '''{{ns:14}}''' has ID 14 and {{PAGESINNS:14}} pages | |||
Namespace '''{{ns:15}}''' has ID 15 and {{PAGESINNS:15}} pages | |||
Namespace '''{{ns:100}}''' has ID 100 and {{PAGESINNS:100}} pages | |||
Namespace '''{{ns:101}}''' has ID 101 and {{PAGESINNS:101}} pages | |||
Namespace '''{{ns:102}}''' has ID 102 and {{PAGESINNS:102}} pages | |||
Namespace '''{{ns:103}}''' has ID 103 and {{PAGESINNS:103}} pages | |||
Namespace '''{{ns:104}}''' has ID 104 and {{PAGESINNS:104}} pages | |||
Namespace '''{{ns:105}}''' has ID 105 and {{PAGESINNS:105}} pages | |||
Namespace '''{{ns:108}}''' has ID 108 and {{PAGESINNS:108}} pages | |||
Namespace '''{{ns:109}}''' has ID 109 and {{PAGESINNAMESPACE:109}} pages |
Revision as of 00:13, 23 April 2012
Divbox and Pullquote, stop fighting, or I'll pull this car right over!
Divbox and Pullquote don't get along well. Here's what happens when I write some reasonable wiki code:
{{Divbox|yellow|title|{{Pullquote|Pretend something witty is written here.|Iritscen}}}}
begets:
After doing some reading on WP and some fiddling, I've found that:
{{Divbox|yellow|3=<br>{{Pullquote|Pretend something witty is written here.|Iritscen}}}}
begets
So, although it works, it's only by a hack that the two templates get along together even partially.
Questions that need answering:
- Why do I need to declare that the quote text is the third parameter with "3="?
- Why does some bum text need to be inserted (here I've used "<br>") before the data returned by Pullquote?
- Why does using Pullquote inside of Divbox break Divbox's "width" parameter?
- Because pullquote has its own width...Gumby
#3 is of the most concern to me, followed by #2. I suspect that the fact that Pullquote actually returns table code is part of the problem behind all this.
Testing divhide.
Page count project
NUMBEROFPAGES: 4,642
NUMBEROFARTICLES: 901
Redirects: 357 as of 4/22/12
Subpages: A quick glance through Special:AllPages appears to show 258 of them in Main, 31 in Talk, 113 in User, 35 in User Talk, 4 in MediaWiki, 4 in Template, 6 in BSL, 1 in BSL Talk, 121 in OBD, 39 in OBD Talk, 4 in AE, 2 in AE Talk, 16 in Oni2, and 1 in Oni2 Talk. The total is 405 subpages in Main, BSL, OBD, AE, and Oni2. The total for articlespace subpages is 526. The grand total is 635 (as of 4/22/12).
Namespaces Main, User, BSL, OBD, AE, and Oni2 totaled using PAGESINNS: 1183
All articlespaces (without File) totalled using PAGESINNS: 1561
All talkspaces totalled using PAGESINNS: 256
The grand total for all namespaces (including File) is: 4499
Numbers from PAGESINNS magic word template:
Namespace Media has ID -2, but we can't get a page count, so we can assume it's not part of the above counts
Namespace Special has ID -1, but we can't get a page count, so we can assume it's not part of the above counts
Namespace Main does not return an ID number, but apparently it's 0, because {{PAGESINNS:0}} returns 749 pages, which agrees with Special:AllPages' list of pages in the Main namespace (which includes redirects and subpages).
Namespace Talk has ID 1 and 113 pages
Namespace User has ID 2 and 123 pages
Namespace User talk has ID 3 and 51 pages
Namespace OniGalore has ID 4 and 15 pages
Namespace OniGalore talk has ID 5 and 2 pages
Namespace File has ID 6 and 2,665 pages
Namespace File talk has ID 7 and 17 pages
Namespace MediaWiki has ID 8 and 39 pages
Namespace MediaWiki talk has ID 9 and 1 pages
Namespace Template has ID 10 and 131 pages
Namespace Template talk has ID 11 and 6 pages
Namespace Help has ID 12 and 2 pages
Namespace Help talk has ID 13 and 2 pages
Namespace Category has ID 14 and 191 pages
Namespace Category talk has ID 15 and 6 pages
Namespace BSL has ID 100 and 60 pages
Namespace BSL talk has ID 101 and 6 pages
Namespace OBD has ID 102 and 191 pages
Namespace OBD talk has ID 103 and 36 pages
Namespace AE has ID 104 and 23 pages
Namespace AE talk has ID 105 and 15 pages
Namespace Oni2 has ID 108 and 37 pages
Namespace Oni2 talk has ID 109 and 18 pages