From 99930c472245a4d0d96abaf7160a793c33ce64df Mon Sep 17 00:00:00 2001 From: Ammarpad Date: Thu, 23 Sep 2021 07:27:03 +0100 Subject: [PATCH] Defer to core for more template data Bug: T289221 Depends-On: Ieb5398c3505602dfbf77d97f24f3d19f703924b8 Change-Id: Ib3ffe0b3f4fd7342b749cd827f40faa7a429bf23 --- includes/SkinVector.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/includes/SkinVector.php b/includes/SkinVector.php index f097a50..05ee93f 100644 --- a/includes/SkinVector.php +++ b/includes/SkinVector.php @@ -371,12 +371,6 @@ class SkinVector extends SkinMustache { $commonSkinData = array_merge( $parentData, [ 'is-legacy' => $this->isLegacy(), - 'is-article' => (bool)$out->isArticle(), - - 'is-anon' => $this->getUser()->isAnon(), - - 'is-mainpage' => $title->isMainPage(), - 'input-location' => $this->getSearchBoxInputLocation(), 'sidebar-visible' => $this->isSidebarVisible(),