<td style='padding-top: 1em'> </td>
<td class='mw-submit' style='padding-top: 1em'>" .
Xml::submitButton( wfMsg( $alreadyBlocked ? 'ipb-change-block' : 'ipbsubmit' ),
- array( 'name' => 'wpBlock', 'tabindex' => '13', 'accesskey' => 's' ) ) . "
+ array( 'name' => 'wpBlock', 'tabindex' => '13' )
+ + $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'blockip-block' ) ). "
</td>
</tr>" .
Xml::closeElement( 'table' ) .
public function execute( $par ) {
global $wgOut, $wgRequest, $wgSitename, $wgExportAllowListContributors;
global $wgExportAllowHistory, $wgExportMaxHistory, $wgExportMaxLinkDepth;
- global $wgExportFromNamespaces;
+ global $wgExportFromNamespaces, $wgUser;
$this->setHeaders();
$this->outputHeader();
//$form .= Xml::checkLabel( wfMsg( 'export-images' ), 'images', 'wpExportImages', false ) . '<br />';
$form .= Xml::checkLabel( wfMsg( 'export-download' ), 'wpDownload', 'wpDownload', true ) . '<br />';
- $form .= Xml::submitButton( wfMsg( 'export-submit' ), array( 'accesskey' => 's' ) );
+ $form .= Xml::submitButton( wfMsg( 'export-submit' ), $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'export' ) );
$form .= Xml::closeElement( 'form' );
$wgOut->addHTML( $form );
}
<td>
</td>
<td class='mw-submit'>" .
- Xml::submitButton( wfMsg( 'import-interwiki-submit' ), array( 'accesskey' => 's' ) ) .
+ Xml::submitButton( wfMsg( 'import-interwiki-submit' ), $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'import' ) ) .
"</td>
</tr>" .
Xml::closeElement( 'table' ).
<tr>
<td></td>
<td class='mw-submit'>" .
- Xml::submitButton( wfMsg( 'saveusergroups' ), array( 'name' => 'saveusergroups', 'accesskey' => 's' ) ) .
+ Xml::submitButton( wfMsg( 'saveusergroups' ),
+ array( 'name' => 'saveusergroups' ) + $wgUser->getSkin()->tooltipAndAccessKeyAttribs( 'userrights-set' ) ) .
"</td>
</tr>" .
Xml::closeElement( 'table' ) . "\n" .
'accesskey-upload' => 's', # do not translate or duplicate this message to other languages
'accesskey-preferences-save' => 's', # do not translate or duplicate this message to other languages
'accesskey-summary' => 'b', # do not translate or duplicate this message to other languages
+'accesskey-userrights-set' => 's', # do not translate or duplicate this message to other languages
+'accesskey-blockip-block' => 's', # do not translate or duplicate this message to other languages
+'accesskey-export' => 's', # do not translate or duplicate this message to other languages
+'accesskey-import' => 's', # do not translate or duplicate this message to other languages
# Tooltip help for the actions
'tooltip-pt-userpage' => 'Your user page',
'accesskey-upload',
'accesskey-preferences-save',
'accesskey-summary',
+ 'accesskey-userrights-set',
+ 'accesskey-blockip-block',
+ 'accesskey-export',
+ 'accesskey-import',
'addsection',
'talkpageheader',
'anonnotice',
'accesskey-upload',
'accesskey-preferences-save',
'accesskey-summary',
+ 'accesskey-userrights-set',
+ 'accesskey-blockip-block',
+ 'accesskey-export',
+ 'accesskey-import',
),
'tooltips' => array(
'tooltip-pt-userpage',