Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1941,8 +1941,8 @@ |
1942 | 1942 | * @deprecated Returns raw bits of HTML, use titleAttrib() and accesskey() |
1943 | 1943 | */ |
1944 | 1944 | public function tooltipAndAccesskey( $name ) { |
1945 | | - global $wgDisableTooltipsAndAccesskeys; |
1946 | | - if ($wgDisableTooltipsAndAccesskeys) |
| 1945 | + global $wgEnableTooltipsAndAccesskeys; |
| 1946 | + if (!$wgEnableTooltipsAndAccesskeys) |
1947 | 1947 | return array(); |
1948 | 1948 | # FIXME: If Sanitizer::expandAttributes() treated "false" as "output |
1949 | 1949 | # no attribute" instead of "output '' as value for attribute", this |
— | — | @@ -1962,8 +1962,8 @@ |
1963 | 1963 | |
1964 | 1964 | /** @deprecated Returns raw bits of HTML, use titleAttrib() */ |
1965 | 1965 | public function tooltip( $name, $options = null ) { |
1966 | | - global $wgDisableTooltipsAndAccesskeys; |
1967 | | - if ($wgDisableTooltipsAndAccesskeys) |
| 1966 | + global $wgEnableTooltipsAndAccesskeys; |
| 1967 | + if ($wgEnableTooltipsAndAccesskeys) |
1968 | 1968 | return array(); |
1969 | 1969 | # FIXME: If Sanitizer::expandAttributes() treated "false" as "output |
1970 | 1970 | # no attribute" instead of "output '' as value for attribute", this |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3464,9 +3464,11 @@ |
3465 | 3465 | $wgDisableHardRedirects = false; |
3466 | 3466 | |
3467 | 3467 | /** |
3468 | | - * Disable tooltips and access keys |
| 3468 | + * Set to false to disable application of access keys and tooltips, |
| 3469 | + * eg to avoid keyboard conflicts with system keys or as a low-level |
| 3470 | + * optimization. |
3469 | 3471 | */ |
3470 | | -$wgDisableTooltipsAndAccesskeys = false; |
| 3472 | +$wgEnableTooltipsAndAccesskeys = true; |
3471 | 3473 | |
3472 | 3474 | /** |
3473 | 3475 | * Use http.dnsbl.sorbs.net to check for open proxies |