Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -23,6 +23,7 @@ |
24 | 24 | * Introduced $wgQueryPageDefaultLimit (defaults to 50) for the number of |
25 | 25 | items to show by default on query pages (special pages such as Whatlinkshere). |
26 | 26 | * (bug 32470) Increase the length of ug_group |
| 27 | +* (bug 32239) Removed wgEnableTooltipsAndAccesskeys |
27 | 28 | |
28 | 29 | === New features in 1.19 === |
29 | 30 | * (bug 19838) Possibility to get all interwiki prefixes if the interwiki |
Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1713,10 +1713,6 @@ |
1714 | 1714 | * escape), or false for no title attribute |
1715 | 1715 | */ |
1716 | 1716 | public static function titleAttrib( $name, $options = null ) { |
1717 | | - global $wgEnableTooltipsAndAccesskeys; |
1718 | | - if ( !$wgEnableTooltipsAndAccesskeys ) |
1719 | | - return false; |
1720 | | - |
1721 | 1717 | wfProfileIn( __METHOD__ ); |
1722 | 1718 | |
1723 | 1719 | $message = wfMessage( "tooltip-$name" ); |
— | — | @@ -2006,9 +2002,6 @@ |
2007 | 2003 | * Returns the attributes for the tooltip and access key. |
2008 | 2004 | */ |
2009 | 2005 | public static function tooltipAndAccesskeyAttribs( $name ) { |
2010 | | - global $wgEnableTooltipsAndAccesskeys; |
2011 | | - if ( !$wgEnableTooltipsAndAccesskeys ) |
2012 | | - return array(); |
2013 | 2006 | # @todo FIXME: If Sanitizer::expandAttributes() treated "false" as "output |
2014 | 2007 | # no attribute" instead of "output '' as value for attribute", this |
2015 | 2008 | # would be three lines. |
— | — | @@ -2030,9 +2023,6 @@ |
2031 | 2024 | * Returns raw bits of HTML, use titleAttrib() |
2032 | 2025 | */ |
2033 | 2026 | public static function tooltip( $name, $options = null ) { |
2034 | | - global $wgEnableTooltipsAndAccesskeys; |
2035 | | - if ( !$wgEnableTooltipsAndAccesskeys ) |
2036 | | - return ''; |
2037 | 2027 | # @todo FIXME: If Sanitizer::expandAttributes() treated "false" as "output |
2038 | 2028 | # no attribute" instead of "output '' as value for attribute", this |
2039 | 2029 | # would be two lines. |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -2345,13 +2345,6 @@ |
2346 | 2346 | $wgUseSiteCss = true; |
2347 | 2347 | |
2348 | 2348 | /** |
2349 | | - * Set to false to disable application of access keys and tooltips, |
2350 | | - * eg to avoid keyboard conflicts with system keys or as a low-level |
2351 | | - * optimization. |
2352 | | - */ |
2353 | | -$wgEnableTooltipsAndAccesskeys = true; |
2354 | | - |
2355 | | -/** |
2356 | 2349 | * Break out of framesets. This can be used to prevent clickjacking attacks, |
2357 | 2350 | * or to prevent external sites from framing your site with ads. |
2358 | 2351 | */ |