Jump to content

User:Iritscen/TestSpace: Difference between revisions

→‎Page count project: numbers for comparison
(→‎Page count project: fixing incorrect NS IDs)
(→‎Page count project: numbers for comparison)
Line 32: Line 32:


==Page count project==
==Page count project==
{{#if:{{ns:-2}}|Namespace '''{{ns:-2}}''' has ID -2}} and {{PAGESINNS:-2}} pages
NUMBEROFPAGES={{NUMBEROFPAGES}}


{{#if:{{ns:-1}}|Namespace '''{{ns:-1}}''' has ID -1}} and {{PAGESINNS:-1}} pages
NUMBEROFARTICLES={{NUMBEROFARTICLES}}


Namespace '''Main''' does not have an ID, but let's pretend it's 0 and {{PAGESINNS:0}} pages
Redirects: 357 as of 4/22/12
 
{{#if:{{ns:-2}}|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
 
{{#if:{{ns:-1}}|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 if we pretend it's 0 and call PAGESINNS, it returns {{PAGESINNS:0}} pages


{{#if:{{ns:1}}|Namespace '''{{ns:1}}''' has ID 1}} and {{PAGESINNS:1}} pages
{{#if:{{ns:1}}|Namespace '''{{ns:1}}''' has ID 1}} and {{PAGESINNS:1}} pages