Make the parser tests' "subpage" option actually enable for all subpages
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 23 Feb 2017 21:14:54 +0000 (16:14 -0500)
committerTim Starling <tstarling@wikimedia.org>
Fri, 3 Mar 2017 05:32:36 +0000 (05:32 +0000)
commit69be6f316a290e92dba4e55161fe80a1bd0ca0db
tree4d3f9494edd8238c4afee89562582719f32d0957
parente01fd443887b47c86d5248a4a32eca5e5ed98a97
Make the parser tests' "subpage" option actually enable for all subpages

The option says "enable subpages (disabled by default)", but it
currently just enables subpages for namespaces 0 and 2. This tripped me
up when writing some parser tests for TemplateStyles where I need
subpages enabled for namespace 10.

There's probably no reason not to have it enable subpages for all
namespaces.

Change-Id: Icf864dafc4208a76af7b3e71f5f9c97576c065b7
tests/parser/ParserTestRunner.php