From a02d871457284411f4aef461426db0af40826a47 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Sun, 5 Dec 2010 11:16:47 +0000 Subject: [PATCH] Followup r77793, documentation for icon as a string was missing. --- includes/DefaultSettings.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 4e948abe6f..47db32283f 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2268,11 +2268,16 @@ $wgExperimentalHtmlIds = true; * a new block. Though note that you may need to add some custom css to get good styling * of new blocks in monobook. vector and modern should work without any special css. * - * $wgFooterIcons itself is a key/value array. The key being the name of a block that - * icons will be wrapped in. The final id varries by skin. - * The value being a key/value array of icons. The key may or may not be used by the + * $wgFooterIcons itself is a key/value array. + * The key os the name of a block that the icons will be wrapped in. + * The final id varries by skin; Monobook and Vector will turn poweredby into f-poweredbyico + * while Modern turns it into mw_poweredby. + * The value is a key/value array of icons. The key may or may not be used by the * skin but it can be used to find the icon and unset it or change the icon if needed. - * The innermost array has the following keys: + * This is useful for disabling icons that are set by extensions. + * The value should be either a string or an array. + * If it is a string it will be output directly, however some skins may choose to ignore it. + * An array is the preferred format for the icon, the following keys are used: * src: An absolute url to the image to use for the icon, this is recommended * but not required, however some skins will ignore icons without an image * url: The url to use in the arround the text or icon, if not set an will not be outputted -- 2.20.1