From: Siebrand Mazeland Date: Fri, 28 Nov 2008 13:01:01 +0000 (+0000) Subject: (bug 16481) Special:Statistics does not explain what * means X-Git-Tag: 1.31.0-rc.0~44177 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=2fbcd8c2cf992e7ab7d00e381dd69fac9b246f45;p=lhc%2Fweb%2Fwiklou.git (bug 16481) Special:Statistics does not explain what * means * change asterisk to a tooltip image * image is a 10px rendition of public domain image http://commons.wikimedia.org/wiki/Image:Bulbgraph.svg by RubySS --- diff --git a/includes/specials/SpecialStatistics.php b/includes/specials/SpecialStatistics.php index cd4a9b2b84..85ce51aba7 100644 --- a/includes/specials/SpecialStatistics.php +++ b/includes/specials/SpecialStatistics.php @@ -183,8 +183,11 @@ function wfSpecialStatistics( $par = '' ) { * @return string table row in HTML format */ function formatRow( $text, $number, $trExtraParams = '', $tooltip = '' ) { + global $wgStylePath; + if( $tooltip ) { - $text = '
' . $text . '*
'; + $tooltipText = wfMsg( $tooltip ); + $text = '
' . $text . '' . $tooltipText . '
'; } return " diff --git a/skins/common/images/tooltip_icon.png b/skins/common/images/tooltip_icon.png new file mode 100644 index 0000000000..6b3160ec05 Binary files /dev/null and b/skins/common/images/tooltip_icon.png differ