Jump to content

User:Iritscen/TestSpace: Difference between revisions

→‎Page count project: Main really is 0 after all
(→‎Page count project: numbers for comparison)
(→‎Page count project: Main really is 0 after all)
Line 42: Line 42:
{{#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
{{#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
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


{{#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