Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1695,6 +1695,10 @@ |
1696 | 1696 | * escape), or false for no title attribute |
1697 | 1697 | */ |
1698 | 1698 | public static function titleAttrib( $name, $options = null ) { |
| 1699 | + global $wgEnableTooltipsAndAccesskeys; |
| 1700 | + if ( !$wgEnableTooltipsAndAccesskeys ) |
| 1701 | + return false; |
| 1702 | + |
1699 | 1703 | wfProfileIn( __METHOD__ ); |
1700 | 1704 | |
1701 | 1705 | $message = wfMessage( "tooltip-$name" ); |