Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1719,7 +1719,7 @@ |
1720 | 1720 | } |
1721 | 1721 | |
1722 | 1722 | $accesskey = wfMsg( "accesskey-$name" ); |
1723 | | - if( $accesskey && $accesskey != '-' && |
| 1723 | + if( $accesskey != '' && $accesskey != '-' && |
1724 | 1724 | !wfEmptyMsg( "accesskey-$name", $accesskey ) ) { |
1725 | 1725 | if( isset( $attribs['title'] ) ) { |
1726 | 1726 | $attribs['title'] .= " [$accesskey]"; |
— | — | @@ -1756,7 +1756,7 @@ |
1757 | 1757 | |
1758 | 1758 | if( isset( $attribs['title'] ) && $options == 'withaccess' ) { |
1759 | 1759 | $accesskey = wfMsg( "accesskey-$name" ); |
1760 | | - if( $accesskey && $accesskey != '-' && |
| 1760 | + if( $accesskey != '' && $accesskey != '-' && |
1761 | 1761 | !wfEmptyMsg( "accesskey-$name", $accesskey ) ) { |
1762 | 1762 | $attribs['title'] .= " [$accesskey]"; |
1763 | 1763 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -289,6 +289,7 @@ |
290 | 290 | JavaScript is disabled. |
291 | 291 | * (bug 4253) Recentchanges IRC messages no longer include title in diff URLs and |
292 | 292 | the comment is trimmed if necessary to maintain proper message length. |
| 293 | +* Allow '0' to be an accesskey. |
293 | 294 | |
294 | 295 | === API changes in 1.14 === |
295 | 296 | |