Index: trunk/phase3/skins/Vector.php |
— | — | @@ -97,8 +97,10 @@ |
98 | 98 | unset( $nav[$section][$key]['class'] ); |
99 | 99 | } |
100 | 100 | if ( isset( $link['tooltiponly'] ) && $link['tooltiponly'] ) { |
101 | | - $nav[$section][$key]['key'] = |
102 | | - Linker::titleAttrib( $xmlID ); |
| 101 | + $tooltip = Linker::titleAttrib( $xmlID ); |
| 102 | + $tooltip = $tooltip === false ? '' : Xml::expandAttributes( array( 'title' => $tooltip ) ); |
| 103 | + $nav[$section][$key]['key'] = $tooltip; |
| 104 | + |
103 | 105 | } else { |
104 | 106 | $nav[$section][$key]['key'] = |
105 | 107 | Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( $xmlID ) ); |