Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -2299,6 +2299,10 @@ |
2300 | 2300 | 'accesskey-upload', |
2301 | 2301 | 'accesskey-preferences-save', |
2302 | 2302 | 'accesskey-summary', |
| 2303 | + 'accesskey-userrights-set', |
| 2304 | + 'accesskey-blockip-block', |
| 2305 | + 'accesskey-export', |
| 2306 | + 'accesskey-import', |
2303 | 2307 | ), |
2304 | 2308 | 'tooltips' => array( |
2305 | 2309 | 'tooltip-pt-userpage', |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -71,6 +71,10 @@ |
72 | 72 | 'accesskey-upload', |
73 | 73 | 'accesskey-preferences-save', |
74 | 74 | 'accesskey-summary', |
| 75 | + 'accesskey-userrights-set', |
| 76 | + 'accesskey-blockip-block', |
| 77 | + 'accesskey-export', |
| 78 | + 'accesskey-import', |
75 | 79 | 'addsection', |
76 | 80 | 'talkpageheader', |
77 | 81 | 'anonnotice', |
Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -441,7 +441,8 @@ |
442 | 442 | <tr> |
443 | 443 | <td></td> |
444 | 444 | <td class='mw-submit'>" . |
445 | | - Xml::submitButton( wfMsg( 'saveusergroups' ), array( 'name' => 'saveusergroups', 'accesskey' => 's' ) ) . |
| 445 | + Xml::submitButton( wfMsg( 'saveusergroups' ), |
| 446 | + array( 'name' => 'saveusergroups' ) + $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'userrights-set' ) ) . |
446 | 447 | "</td> |
447 | 448 | </tr>" . |
448 | 449 | Xml::closeElement( 'table' ) . "\n" . |
Index: trunk/phase3/includes/specials/SpecialImport.php |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | <td> |
259 | 259 | </td> |
260 | 260 | <td class='mw-submit'>" . |
261 | | - Xml::submitButton( wfMsg( 'import-interwiki-submit' ), array( 'accesskey' => 's' ) ) . |
| 261 | + Xml::submitButton( wfMsg( 'import-interwiki-submit' ), $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'import' ) ) . |
262 | 262 | "</td> |
263 | 263 | </tr>" . |
264 | 264 | Xml::closeElement( 'table' ). |
Index: trunk/phase3/includes/specials/SpecialExport.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | public function execute( $par ) { |
35 | 35 | global $wgOut, $wgRequest, $wgSitename, $wgExportAllowListContributors; |
36 | 36 | global $wgExportAllowHistory, $wgExportMaxHistory, $wgExportMaxLinkDepth; |
37 | | - global $wgExportFromNamespaces; |
| 37 | + global $wgExportFromNamespaces, $wgUser; |
38 | 38 | |
39 | 39 | $this->setHeaders(); |
40 | 40 | $this->outputHeader(); |
— | — | @@ -172,7 +172,7 @@ |
173 | 173 | //$form .= Xml::checkLabel( wfMsg( 'export-images' ), 'images', 'wpExportImages', false ) . '<br />'; |
174 | 174 | $form .= Xml::checkLabel( wfMsg( 'export-download' ), 'wpDownload', 'wpDownload', true ) . '<br />'; |
175 | 175 | |
176 | | - $form .= Xml::submitButton( wfMsg( 'export-submit' ), array( 'accesskey' => 's' ) ); |
| 176 | + $form .= Xml::submitButton( wfMsg( 'export-submit' ), $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'export' ) ); |
177 | 177 | $form .= Xml::closeElement( 'form' ); |
178 | 178 | $wgOut->addHTML( $form ); |
179 | 179 | } |
Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -337,7 +337,8 @@ |
338 | 338 | <td style='padding-top: 1em'> </td> |
339 | 339 | <td class='mw-submit' style='padding-top: 1em'>" . |
340 | 340 | Xml::submitButton( wfMsg( $alreadyBlocked ? 'ipb-change-block' : 'ipbsubmit' ), |
341 | | - array( 'name' => 'wpBlock', 'tabindex' => '13', 'accesskey' => 's' ) ) . " |
| 341 | + array( 'name' => 'wpBlock', 'tabindex' => '13' ) |
| 342 | + + $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'blockip-block' ) ). " |
342 | 343 | </td> |
343 | 344 | </tr>" . |
344 | 345 | Xml::closeElement( 'table' ) . |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -3335,6 +3335,10 @@ |
3336 | 3336 | 'accesskey-upload' => 's', # do not translate or duplicate this message to other languages |
3337 | 3337 | 'accesskey-preferences-save' => 's', # do not translate or duplicate this message to other languages |
3338 | 3338 | 'accesskey-summary' => 'b', # do not translate or duplicate this message to other languages |
| 3339 | +'accesskey-userrights-set' => 's', # do not translate or duplicate this message to other languages |
| 3340 | +'accesskey-blockip-block' => 's', # do not translate or duplicate this message to other languages |
| 3341 | +'accesskey-export' => 's', # do not translate or duplicate this message to other languages |
| 3342 | +'accesskey-import' => 's', # do not translate or duplicate this message to other languages |
3339 | 3343 | |
3340 | 3344 | # Tooltip help for the actions |
3341 | 3345 | 'tooltip-pt-userpage' => 'Your user page', |