r91193 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91192‎ | r91193 | r91194 >
Date:18:21, 30 June 2011
Author:platonides
Status:ok
Tags:
Comment:
Linker::titleAttrib() didn't obey $wgEnableTooltipsAndAccesskeys
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1695,6 +1695,10 @@
16961696 * escape), or false for no title attribute
16971697 */
16981698 public static function titleAttrib( $name, $options = null ) {
 1699+ global $wgEnableTooltipsAndAccesskeys;
 1700+ if ( !$wgEnableTooltipsAndAccesskeys )
 1701+ return false;
 1702+
16991703 wfProfileIn( __METHOD__ );
17001704
17011705 $message = wfMessage( "tooltip-$name" );

Status & tagging log