I have discovered SpecialAllpages.php goes ahead and returns results
for unknown namespaces:
$ for NS in seq -8 1 8; do printf %2i: $NS;
wget -O - http://some_wiki/index.php?title=Special%3AAllpages\&namespace=$NS -q| wc -wc; done
-8: 995 35434
-7: 995 35434
-6: 995 35434
-5: 995 35434
-4: 995 35434
-3: 995 35434
-2: 528 8515
-1: 528 8515
0: 995 35433
1: 553 9659
2: 535 8816
3: 534 8680
4: 551 9795
5: 548 9392
6: 529 8584
7: 531 8594
8: 533 8771
It should say "Unknown namespace" instead of interpreting an empty
match as NULL==0 or whatever.
Version: 1.11.x
Severity: trivial