From 760300fe606dcc4d66683665c56e86e4d54d4a86 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Tue, 7 Dec 2010 19:58:04 +0000 Subject: [PATCH] Follow up r78003, forgot to make MonoBook use the footericons code. --- skins/MonoBook.php | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 7fb73444ef..9c7a0e1213 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -70,23 +70,6 @@ class MonoBookTemplate extends BaseTemplate { // Suppress warnings to prevent notices about missing indexes in $this->data wfSuppressWarnings(); - // Generate additional footer icons - $footericons = $this->data["footericons"]; - // Unset any icons which don't have an image - foreach ( $footericons as $footerIconsKey => &$footerIconsBlock ) { - foreach ( $footerIconsBlock as $footerIconKey => $footerIcon ) { - if ( !is_string($footerIcon) && !isset($footerIcon["src"]) ) { - unset($footerIconsBlock[$footerIconKey]); - } - } - } - // Redo removal of any empty blocks - foreach ( $footericons as $footerIconsKey => &$footerIconsBlock ) { - if ( count($footerIconsBlock) <= 0 ) { - unset($footericons[$footerIconsKey]); - } - } - $this->html( 'headelement' ); ?>
html("specialpageattributes") ?>> @@ -183,7 +166,7 @@ class MonoBookTemplate extends BaseTemplate {