Allow relative inclusions in Main namespace.
authorVitaliy Filippov <vitalif@yourcmc.ru>
Thu, 30 May 2013 12:23:33 +0000 (16:23 +0400)
committerMatmarex <matma.rex@gmail.com>
Fri, 5 Jul 2013 13:07:46 +0000 (13:07 +0000)
commitf3fdd8742c0b6e267ccdfbcc1288f6e35343a7a9
tree17e82c6f68544fb0763aef38c9b8859b066eb54c
parenteb55497490972d65de1239101b254b644ad6f652
Allow relative inclusions in Main namespace.

In previous versions of MediaWiki, relative inclusions ({{../name}})
were not handled properly in the Main namespace - it tried to include
Template:Parent/name instead of just Parent/name article. In other
namespaces they worked, though (all in case of enabled subpages). The
patch fixes this inconsistence and allows to use relative inclusions
in Main.

Change-Id: Ie04f23c180e501631c629a39b997796a1725fb67
includes/parser/Parser.php
tests/parser/parserTests.txt