From 98b8ce7cf5ae904887dd14cc9e45cbc312c772d8 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 21 May 2004 16:03:46 +0000 Subject: [PATCH] access key and tooltip for 'compare selected versions' button, defaults to 'v' --- includes/PageHistory.php | 3 ++- languages/Language.php | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/PageHistory.php b/includes/PageHistory.php index ea7a74f4a9..49b42f3f2a 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -123,7 +123,8 @@ class PageHistory { $s = $skip ? "" : preg_replace( "/!OLDID![0-9]+!/", $last, $this->lastline ); $s .= "\n"; if( $this->linesonpage > 1) { - $s .= '

\n"; + $s .= '

\n"; } $s .= "\n"; return $s; diff --git a/languages/Language.php b/languages/Language.php index 4a9e5fcbb0..82adf4431c 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1488,6 +1488,7 @@ amusement.", 'accesskey-preview' => 'p', 'accesskey-contributions' => '', 'accesskey-emailuser' => '', +'accesskey-compareselectedversions' => 'v', # tooltip help for the main actions 'tooltip-atom' => 'Atom feed for this page', @@ -1532,6 +1533,7 @@ amusement.", '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.", -- 2.20.1