Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewImport.php |
— | — | @@ -11,7 +11,10 @@ |
12 | 12 | $wgOut->addWikiMsg( 'abusefilter-import-intro' ); |
13 | 13 | |
14 | 14 | $html = Xml::textarea( 'wpImportText', '', 40, 20 ); |
15 | | - $html .= Xml::submitButton( wfMsg( 'abusefilter-import-submit' ) ); |
| 15 | + $html .= Xml::submitButton( |
| 16 | + wfMsg( 'abusefilter-import-submit' ), |
| 17 | + array( 'accesskey' => 's' ) |
| 18 | + ); |
16 | 19 | $url = SpecialPage::getTitleFor( 'AbuseFilter', 'new' )->getFullURL(); |
17 | 20 | |
18 | 21 | $html = Xml::tags( 'form', array( 'method' => 'post', 'action' => $url ), $html ); |
Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php |
— | — | @@ -423,7 +423,7 @@ |
424 | 424 | ); |
425 | 425 | |
426 | 426 | if ( $this->canEdit() ) { |
427 | | - $form .= Xml::submitButton( wfMsg( 'abusefilter-edit-save' ) ); |
| 427 | + $form .= Xml::submitButton( wfMsg( 'abusefilter-edit-save' ), array( 'accesskey' => 's' ) ); |
428 | 428 | $form .= Xml::hidden( |
429 | 429 | 'wpEditToken', |
430 | 430 | $wgUser->editToken( array( 'abusefilter', $filter ) ) |