is provided on the Upload form.
* (bug 22647) Add category details in search results.
* (bug 23276) Add hook to Special:NewPages to modify query
+* Add accesskey 's' and tooltip to 'Save' button at Special:Preferences
=== Bug fixes in 1.17 ===
* (bug 17560) Half-broken deletion moved image files to deletion archive
$htmlForm = new PreferencesForm( $formDescriptor, 'prefs' );
$htmlForm->setSubmitText( wfMsg( 'saveprefs' ) );
+ # Used message keys: 'accesskey-preferences-save', 'tooltip-preferences-save'
+ $htmlForm->setSubmitTooltip( 'preferences-save' );
$htmlForm->setTitle( SpecialPage::getTitleFor( 'Preferences' ) );
$htmlForm->setSubmitID( 'prefsubmit' );
$htmlForm->setSubmitCallback( array( 'Preferences', 'tryFormSubmit' ) );
'accesskey-compareselectedversions' => 'v', # do not translate or duplicate this message to other languages
'accesskey-watch' => 'w', # do not translate or duplicate this message to other languages
'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
# Tooltip help for the actions
'tooltip-pt-userpage' => 'Your user page',
'tooltip-upload' => 'Start upload',
'tooltip-rollback' => '"Rollback" reverts edit(s) to this page of the last contributor in one click',
'tooltip-undo' => '"Undo" reverts this edit and opens the edit form in preview mode. It allows adding a reason in the summary.',
+'tooltip-preferences-save' => 'Save preferences',
# Stylesheets
'common.css' => '/* CSS placed here will be applied to all skins */', # only translate this message to other languages if you have to change it
'accesskey-compareselectedversions',
'accesskey-watch',
'accesskey-upload',
+ 'accesskey-preferences-save',
'addsection',
'talkpageheader',
'anonnotice',
'accesskey-compareselectedversions',
'accesskey-watch',
'accesskey-upload',
+ 'accesskey-preferences-save',
),
'tooltips' => array(
'tooltip-pt-userpage',
'tooltip-upload',
'tooltip-rollback',
'tooltip-undo',
+ 'tooltip-preferences-save',
),
'stylesheets' => array(
'common.css',