mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
Merge "Defer to core for more template data"
This commit is contained in:
commit
1adcb190f1
|
@ -371,12 +371,6 @@ class SkinVector extends SkinMustache {
|
||||||
$commonSkinData = array_merge( $parentData, [
|
$commonSkinData = array_merge( $parentData, [
|
||||||
'is-legacy' => $this->isLegacy(),
|
'is-legacy' => $this->isLegacy(),
|
||||||
|
|
||||||
'is-article' => (bool)$out->isArticle(),
|
|
||||||
|
|
||||||
'is-anon' => $this->getUser()->isAnon(),
|
|
||||||
|
|
||||||
'is-mainpage' => $title->isMainPage(),
|
|
||||||
|
|
||||||
'input-location' => $this->getSearchBoxInputLocation(),
|
'input-location' => $this->getSearchBoxInputLocation(),
|
||||||
|
|
||||||
'sidebar-visible' => $this->isSidebarVisible(),
|
'sidebar-visible' => $this->isSidebarVisible(),
|
||||||
|
|
Loading…
Reference in a new issue