Consistently preserve anchors in the title specified in 'mainpage' message
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 27 Sep 2017 21:41:47 +0000 (23:41 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 27 Sep 2017 21:41:47 +0000 (23:41 +0200)
commitd52830947d12678f3f4f28e5fbcd65759b9d1de2
tree629525b72142bb5c596fdc8acbc33f48a7072d81
parent3a79761da37abe0e147e4a5ee61b7ee17ec7efc3
Consistently preserve anchors in the title specified in 'mainpage' message

When 'mainpage' was used in the 'sidebar' message, the anchor would be
preserved (code in Skin::addToSidebarPlain() uses Title::getLinkURL()).

When 'mainpage' was used on its own in Skin::makeMainPageUrl() (which
is used in SkinTemplate::buildNavUrls(), and many skins use that data
to generate the logo link), it would not be preserved (the code used
Title::getLocalURL()).

Bug: T176583
Change-Id: Icc4895c08089caaa06e37ce765819829b90de0ff
includes/skins/Skin.php