MinervaNeue/includes
Timo Tijhof 23a0f5f78c Simplify code in SkinMinerva::getHeadingHtml
The conditional and comment here were probably copied from
MonoBook or Vector. There, they were used to decide whether
to output an H1 or not.

The way the conditional was placed here, though, was a no-op.
When this condition was false ($pageTitle == '') the implicit
behaviour was to leave $heading unchanged, which is '', hence
it is using the very value it pretends to reject.

Remove this indirection as it behaves the same either way.

Change-Id: Id3056b199172bbd21b350f920dd0640241b0dd95
2019-04-02 20:18:57 +01:00
..
skins Simplify code in SkinMinerva::getHeadingHtml 2019-04-02 20:18:57 +01:00
MinervaHooks.php Remove skins.minerva.icons.images.variants module 2019-03-22 09:46:14 -07:00
MinervaUI.php Add GPL file header to PHP classes 2018-04-15 16:23:10 -07:00
ResourceLoaderLessVarFileModule.php Add GPL file header to PHP classes 2018-04-15 16:23:10 -07:00