$s = $skip ? "" : preg_replace( "/!OLDID![0-9]+!/", $last, $this->lastline );
$s .= "</ul>\n";
if( $this->linesonpage > 1) {
- $s .= '<button type="submit">'.wfMsg('compareselectedversions')."</button><br/><br/>\n";
+ $s .= '<button type="submit" accesskey="'.wfMsg('accesskey-compareselectedversions').
+ '" title="'.wfMsg('tooltip-compareselectedversions').'">'.wfMsg('compareselectedversions')."</button><br/><br/>\n";
}
$s .= "</form>\n";
return $s;
'accesskey-preview' => 'p',
'accesskey-contributions' => '',
'accesskey-emailuser' => '',
+'accesskey-compareselectedversions' => 'v',
# tooltip help for the main actions
'tooltip-atom' => 'Atom feed for this page',
'tooltip-contributions' => 'View the list of contributions of this user',
'tooltip-emailuser' => 'Send a mail to this user',
'tooltip-rss' => 'RSS feed for this page',
+'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
# Metadata
"nodublincore" => "Dublin Core RDF metadata disabled for this server.",