Fix namespace handling on Special:PagesWithProp
authorMatěj Suchánek <matejsuchanek97@gmail.com>
Fri, 20 Sep 2019 09:41:58 +0000 (11:41 +0200)
committerMatěj Suchánek <matejsuchanek97@gmail.com>
Fri, 20 Sep 2019 09:41:58 +0000 (11:41 +0200)
commitdd9328185fb5c294b321f52d46f1b5ab3ae6cea1
treec8fa01fd0ad834be1a9a16ed998117075cca9612
parentcf73db55a3a982af47a433d4c2348256919b6904
Fix namespace handling on Special:PagesWithProp

Firstly, restore the availability to query all namespaces.
There is no reason to remove this feature.

Secondly, fix code not to treat '0' as falsy. Instead, use
the request object to get an integer or null.

Bug: T50247
Change-Id: I182e25be2d694d010a1e8382a461c5c08f898581
includes/specials/SpecialPagesWithProp.php