Move 'main page as default title' further down to unbreak diff urls
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Sat, 28 Sep 2013 16:57:23 +0000 (16:57 +0000)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Mon, 30 Sep 2013 23:17:09 +0000 (23:17 +0000)
commit3e72e1df6ae03c3262b0cb9ab8cb1d63ae8f8fba
tree5158417bac874cad706cfef33dd0dd759ea471c9
parent9783ce36926412730744847b3762b4c5d10ea05a
Move 'main page as default title' further down to unbreak diff urls

The feature that oldid and diff parameters override the title was
not working if wiki's main page is a special page, because that
behaviour was excluded for special pages. Hence moved the main
page as default title code further down, so that we will hit the
no title provided condition for the oldid and diff parameter only
links.

Bug: 54452
Change-Id: I62cc6e2568a4db988fcf113955ba02710e42a1d2
includes/Wiki.php