From 6a73c395f1c9c56e801f847156753a64a62c974e Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 31 Oct 2018 14:37:17 -0700 Subject: [PATCH] Don't ship wgMFDescription if you're not using it There are no occurances in the codebase using this description so do not include it. Bug: T186062 Change-Id: Icd06329af2756d3fcd143deab528e6a7c7d56d30 --- includes/skins/SkinMinerva.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php index dc456a5..6e4cd90 100644 --- a/includes/skins/SkinMinerva.php +++ b/includes/skins/SkinMinerva.php @@ -857,8 +857,8 @@ class SkinMinerva extends SkinTemplate { } else { $title = $this->getTitle(); if ( $title ) { - $vars = $this->getSkinConfigVariables(); - $tagline = $vars['wgMFDescription']; + $out = $this->getOutput(); + $tagline = $out->getProperty( 'wgMFDescription' ); } } @@ -1289,7 +1289,6 @@ class SkinMinerva extends SkinTemplate { 'wgMinervaFeatures' => $this->skinOptions, 'wgMinervaDownloadNamespaces' => $this->getConfig()->get( 'MinervaDownloadNamespaces' ), 'wgMinervaMenuData' => $this->getMenuData(), - 'wgMFDescription' => $out->getProperty( 'wgMFDescription' ), ]; if ( $this->isAuthenticatedUser() ) {