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
This commit is contained in:
jdlrobson 2018-10-31 14:37:17 -07:00 committed by Jdlrobson
parent b08643cbab
commit 6a73c395f1
1 changed files with 2 additions and 3 deletions

View File

@ -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() ) {