From: Rotem Liss Date: Sat, 13 Oct 2007 10:21:59 +0000 (+0000) Subject: Added accesskey and tooltip for the "Go" button, and tooltip for the "Search" button. X-Git-Tag: 1.31.0-rc.0~51149 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=fa2a4dc337e1e740694f1b38596b383b68fff06f;p=lhc%2Fweb%2Fwiklou.git Added accesskey and tooltip for the "Go" button, and tooltip for the "Search" button. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 52deb4b25f..88205e18ee 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -37,6 +37,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN of the strict() authentication behavior. * (bug 7872) Deleted revisions can now be viewed as diffs showing changes against the previous revision, whether currently deleted or live. +* Added accesskey and tooltip for the "Go" button, and tooltip for the "Search" + button. === Bug fixes in 1.12 === diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index c13c4506ea..4dd3ae22e9 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2271,6 +2271,8 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]] 'accesskey-ca-watch' => 'w', # don't translate or duplicate this message to other languages 'accesskey-ca-unwatch' => 'w', # don't translate or duplicate this message to other languages 'accesskey-search' => 'f', # don't translate or duplicate this message to other languages +'accesskey-search-go' => 'g', # don't translate or duplicate this message to other languages +'accesskey-search-fulltext' => '', # don't translate or duplicate this message to other languages 'accesskey-p-logo' => '', # don't translate or duplicate this message to other languages 'accesskey-n-mainpage' => 'z', # don't translate or duplicate this message to other languages 'accesskey-n-portal' => '', # don't translate or duplicate this message to other languages @@ -2330,6 +2332,8 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]] 'tooltip-ca-watch' => 'Add this page to your watchlist', 'tooltip-ca-unwatch' => 'Remove this page from your watchlist', 'tooltip-search' => 'Search {{SITENAME}}', +'tooltip-search-go' => 'Go to a page with this exact name if exists', +'tooltip-search-fulltext' => 'Search the pages for this text', 'tooltip-p-logo' => 'Main Page', 'tooltip-n-mainpage' => 'Visit the Main Page', 'tooltip-n-portal' => 'About the project, what you can do, where to find things', diff --git a/languages/messages/MessagesHe.php b/languages/messages/MessagesHe.php index d2312f9d94..7d8d4cd2f5 100644 --- a/languages/messages/MessagesHe.php +++ b/languages/messages/MessagesHe.php @@ -1909,6 +1909,8 @@ $1 'tooltip-ca-watch' => 'הוסיפו דף זה לרשימת המעקב', 'tooltip-ca-unwatch' => 'הסירו דף זה מרשימת המעקב', 'tooltip-search' => 'חיפוש ב{{grammar:תחילית|{{SITENAME}}}}', +'tooltip-search-go' => 'עברו לדף בשם הזה בדיוק, אם הוא קיים', +'tooltip-search-fulltext' => 'חפשו טקסט זה בדפים', 'tooltip-p-logo' => 'עמוד ראשי', 'tooltip-n-mainpage' => 'בקרו בעמוד הראשי', 'tooltip-n-portal' => 'אודות המיזם, איך תוכלו לעזור, איפה למצוא דברים', diff --git a/maintenance/language/messageTypes.inc b/maintenance/language/messageTypes.inc index 1df293148b..8b1cd20921 100644 --- a/maintenance/language/messageTypes.inc +++ b/maintenance/language/messageTypes.inc @@ -30,6 +30,8 @@ $wgIgnoredMessages = array( 'accesskey-ca-watch', 'accesskey-ca-unwatch', 'accesskey-search', + 'accesskey-search-go', + 'accesskey-search-fulltext', 'accesskey-p-logo', 'accesskey-n-mainpage', 'accesskey-n-portal', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 8f2e905780..6cc4b1297c 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -1535,6 +1535,8 @@ $wgMessageStructure = array( 'accesskey-ca-watch', 'accesskey-ca-unwatch', 'accesskey-search', + 'accesskey-search-go', + 'accesskey-search-fulltext', 'accesskey-p-logo', 'accesskey-n-mainpage', 'accesskey-n-portal', @@ -1594,6 +1596,8 @@ $wgMessageStructure = array( 'tooltip-ca-watch', 'tooltip-ca-unwatch', 'tooltip-search', + 'tooltip-search-go', + 'tooltip-search-fulltext', 'tooltip-p-logo', 'tooltip-n-mainpage', 'tooltip-n-portal', diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 398d3f7c3e..d0148a701f 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -169,8 +169,8 @@ class MonoBookTemplate extends QuickTemplate { tooltipAndAccesskey('search'); if( isset( $this->data['search'] ) ) { ?> value="text('search') ?>" /> -   - + tooltipAndAccesskey( 'search-go' ); ?> />  + tooltipAndAccesskey( 'search-fulltext' ); ?> />